:root {
    --primary-dark: #222222;
    --accent-taupe: #D4BBA6;
    --background-off-white: #F9F9F9;
    --footer-grey: #4A4A4A;
    --text-light-grey: #777777;
    --white: #fff;
    --font-family-poppins: 'Poppins', sans-serif;
    --font-family-playfair: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-poppins);
    background-color: var(--background-off-white);
    color: var(--primary-dark);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light-grey);
}


/* Header & Navigation */
header {
    background-color: var(--white);
    padding: 0.1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.logo img {
    height: 100px;
}

.whatsapp-cta {
    display: none;
    background-color: var(--accent-taupe);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.whatsapp-cta i {
    margin-right: 8px;
}

.whatsapp-cta:hover {
    background-color: #c1a891;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-taupe);
}


/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1616046229478-9901c5536a45?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-quote {
    font-size: 1.5rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-item {
    border-radius: 12px;
    cursor: pointer;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 2rem;
    transition: all 0.3s ease-in-out;
}

.service-item-content {
    text-align: center;
}

.service-item i {
    font-size: 3rem;
    color: var(--accent-taupe);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-item h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.service-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light-grey);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    transition: opacity 0.4s ease, max-height 0.4s ease, margin-top 0.4s ease;
}

.service-item:hover {
    background-color: var(--white);
    border-color: #f0f0f0;
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.service-item:hover p {
    opacity: 1;
    max-height: 200px;
    margin-top: 1rem;
}


/* Portfolio Section */
.portfolio-section {
    background-color: var(--background-off-white);
}

.portfolio-header {
    position: relative;
    padding-bottom: 1rem;
}

.portfolio-header .gallery-title {
    font-family: var(--font-family-playfair);
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.portfolio-header .gallery-tagline {
    font-family: var(--font-family-poppins);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-light-grey);
    margin-top: 0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border: none;
    background-color: transparent;
    color: var(--primary-dark);
    border-radius: 0;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    line-height: 1.2;
    text-align: center;
    position: relative;
}

.filter-btn::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--accent-taupe);
    transition: width 0.3s ease;
}

.filter-btn:hover::after,
.filter-btn.active::after {
    width: 70%;
}

.filter-btn:hover {
    color: var(--accent-taupe);
}

.filter-btn.active {
    color: var(--accent-taupe);
    font-weight: 700;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease-out, opacity 0.4s ease, width 0.4s, height 0.4s, padding 0.4s, margin 0.4s;
    transform: scale(1);
    opacity: 1;
    height: 250px;
}

.portfolio-item.hide {
    transform: scale(0);
    opacity: 0;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    gap: 0;
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* About Us Section */
.about-us-section {
    background-color: var(--white);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text { 
    flex: 1; 
}

.about-text h3 { 
    font-size: 2.5rem; 
    color: var(--primary-dark); 
    margin-bottom: 1rem; 
}

.about-text h4 {
    font-size: 1.2rem;
    color: var(--text-light-grey);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.about-text p { 
    line-height: 1.8;
    color: var(--text-light-grey);
}

.about-image { 
    flex: 1; 
}

.about-image img { 
    width: 100%; 
    border-radius: 10px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
}


/* Why Choose Us Section */
.why-choose-us-section {
    background-color: var(--background-off-white);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.reason {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.reason i {
    font-size: 3rem;
    color: var(--accent-taupe);
    margin-bottom: 1.5rem;
    display: block;
}

.reason h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.reason p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light-grey);
}


/* Testimonials Section */
.testimonials-section {
    background-color: var(--background-off-white);
}

.testimonial-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    background-color: var(--white);
    padding: 3rem 4rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slide {
    width: 100%;
    text-align: center;
    opacity: 0;
    position: absolute;
    transition: opacity 0.6s ease-in-out;
    visibility: hidden;
}

.testimonial-slide.active {
    opacity: 1;
    position: relative;
    visibility: visible;
}

.testimonial-wrapper::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 6rem;
    font-family: serif;
    color: var(--accent-taupe);
    opacity: 0.2;
    z-index: 1;
}

.testimonial-slide .quote {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-light-grey);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.client-location {
    font-size: 0.9rem;
    color: #888;
}

.testimonial-nav {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.testimonial-nav .prev,
.testimonial-nav .next {
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    color: var(--primary-dark);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.testimonial-nav .prev:hover,
.testimonial-nav .next:hover {
    background-color: var(--accent-taupe);
    color: var(--white);
    border-color: var(--accent-taupe);
}


/* Footer */
footer {
    background-color: var(--footer-grey);
    color: #ccc;
    padding-top: 3rem;
    scroll-margin-top: 80px;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 2px;
    background-color: var(--accent-taupe);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    align-items: flex-start; 
}

.contact-list i {
    color: var(--accent-taupe);
    margin-right: 10px;
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid #5a5a5a;
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .whatsapp-cta {
        display: inline-flex;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-quote {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .portfolio-header .gallery-title {
        font-size: 2.8rem; 
    }

    .portfolio-header .gallery-tagline {
        font-size: 1rem;
    }

    .about-container {
        flex-direction: column;
    }

    .about-image {
        display: none;
    }

    .testimonial-wrapper {
        padding: 2rem;
    }

    .testimonial-slide .quote {
        font-size: 1.1rem;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-list li {
        justify-content: center;
    }
}