:root {
    --primary: #d81b3e; /* GoJunk Red */
    --dark: #3a2233;
    --light: #f9f9f9;
}

html { scroll-behavior: smooth; } /* Makes clicking nav links slide smoothly */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

nav {
    background: var(--primary);
    color: white;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container h1 { margin: 0; font-size: 1.5rem; }
.nav-links { list-style: none; display: flex; gap: 20px; }
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 1rem;
    position: relative; /* Needed for the hover effect */
    transition: color 0.3s ease;
}

/* The modern sliding underline */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: #ffcc00; /* GoJunk Yellow */
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #ffcc00;
}

.nav-links a:hover::after {
    width: 100%;
}
#hero {
    height: 80vh; /* Takes up 80% of the screen height */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    
    /* BACKGROUND IMAGE SETUP */
    /* Replace 'hero-bg.jpg' with your actual image file name */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                      url('1.jpg?auto=format&fit=crop&w=1920&q=80'); 
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Optional: This creates a slight parallax scroll effect */
    color: white; /* Make text white to stand out against the dark overlay */
}

.dynamic-text-container {
    font-size: 2.5rem; /* Larger for better impact */
    font-weight: 800;
    max-width: 800px;
    padding: 0 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5); /* Adds a shadow to make text extra readable */
}

#dynamic-text {
    display: inline-block;
    border-right: 4px solid var(--primary); 
    padding-right: 8px;
    animation: blink-cursor 0.7s step-end infinite;
    min-height: 1.2em;
}

.section-padding { padding: 80px 10%; text-align: center; }
.section-title { font-size: 2.5rem; margin-bottom: 10px; }

/* Before & After Grid */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.work-item {
    display: flex;
    gap: 5px;
}
.work-item img { width: 50%; border-radius: 5px; }

/* Contact Cards */
.contact-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}
.card {
    border: 2px solid var(--primary);
    padding: 30px;
    flex: 1;
    min-width: 250px;
    border-radius: 10px;
}

/* Footer Styling */
footer {
    background: #220b1a;
    color: white;
    padding: 50px 10% 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    border-bottom: 1px solid #444;
    padding-bottom: 30px;
}
.footer-links a { display: block; color: white; text-decoration: none; margin-bottom: 10px; }
.footer-bottom { text-align: center; padding-top: 20px; font-size: 0.8rem; }

.whatsapp-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
}

.logo-container h1 {
    font-family: 'Fredoka One', cursive;
    letter-spacing: 1px;
    color: #ffffff;
}

.logo-container h1 span {
    color: #ffcc00; /* Or whatever secondary color you like! */
}

/* Two-Tone Logo Fix */
.logo-container h1 {
    font-family: 'Kanit', sans-serif; /* Action Speed font */
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    color: white; /* 'Go' part */
}

.logo-container h1 span {
    color: #ffcc00; /* 'Junk' part in a bright safety yellow/gold */
    margin-left: 2px;
}

/* MODERN WHATSAPP BUTTON */
.whatsapp-modern {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 50px; /* Pill shape */
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 9999;
}

.whatsapp-modern img {
    width: 35px;
    height: 35px;
}

.wa-text {
    color: white;
    font-weight: bold;
    margin-left: 10px;
    font-family: sans-serif;
    font-size: 16px;
}

.whatsapp-modern:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

/* MAP STYLING */
.map-container {
    line-height: 0; /* Removes weird gaps at bottom of map */
    border-top: 5px solid var(--primary);
}

/* Ensure the link doesn't mess up your colors */
.logo-click {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: transform 0.2s ease;
}

/* Add a subtle "push" effect when someone clicks it */
.logo-click:active {
    transform: scale(0.95);
}

.logo-container h1 {
    font-family: 'Kanit', sans-serif;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    margin: 0; /* Remove default margins to keep it tight */
    cursor: pointer;
}

.logo-container h1 span {
    color: #ffcc00; /* Your 'Junk' color */
}

/* Slogan styling */
.logo-container p {
    margin: 0;
    font-size: 12px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
}

/* Container for the icon */
.icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--primary); /* That JunkWay Red */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px; /* Centers it and adds space below */
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(216, 27, 62, 0.2);
}

/* Card hover effect */
.card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    background-color: #ffcc00; /* Switches to your 'Junk' yellow on hover! */
    color: var(--dark);
}

.card h3 {
    font-family: 'Kanit', sans-serif;
    text-transform: uppercase;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Fix for making cards clickable links */
.contact-link {
    text-decoration: none; /* Removes the underline */
    color: inherit; /* Keeps your text the right color */
    display: block; /* Ensures the whole card acts as a button */
}

/* Ensure the text inside doesn't change color when clicked/visited */
.contact-link h3, 
.contact-link p {
    color: var(--dark);
    transition: color 0.3s ease;
}

/* Optional: Slight color shift on the text when hovering the whole card */
.contact-link:hover h3 {
    color: var(--primary); /* Turns the title GoJunk Red on hover */
}




.designer-link {
    color: #ffcc00; /* Matching your 'Junk' yellow */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.designer-link:hover {
    color: white;
    text-decoration: underline;
}

/* --- ABOUT & FEATURES --- */
.bg-dark-subtle {
    background-color: #f9f9f9; /* Gives a slight contrast between sections */
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 40px;
    color: var(--primary); /* GoJunk Red */
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-icon {
    color: #ffcc00; /* Turns yellow on hover */
}

/* --- AREAS WE COVER --- */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.area-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 200px;
    cursor: pointer;
}

.area-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.area-card:hover img {
    transform: scale(1.1); /* Zoom effect */
}

.area-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px 10px 10px;
    text-align: center;
    color: white;
}

.area-overlay h4 {
    margin: 0;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* --- REVIEWS --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary);
}

.stars {
    color: #ffcc00;
    margin-bottom: 15px;
}

.review-card p {
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
}

.review-card h5 {
    font-weight: bold;
    color: var(--dark);
    text-transform: uppercase;
}