/* ==========================================================================
   Variables & Reset
   ========================================================================== */
:root {
    /* Colors */
    --color-primary: #B8860B;
    /* Gold/Bronze */
    --color-primary-dark: #8B6508;
    --color-primary-light: #DAA520;
    --color-text-main: #333333;
    /* Charcoal */
    --color-text-light: #666666;
    --color-bg-body: #FDFDFD;
    /* Off-white */
    --color-bg-alt: #F4F4F4;
    /* Light Beige/Gray */
    --color-white: #FFFFFF;
    --color-black: #000000;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --section-padding: 5rem 0;
    --container-width: 1200px;

    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: --font-body;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text-main);
    font-weight: 700;
    line-height: 1.2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Reusable Classes
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding);
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary-dark);
}

.section__subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn--primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.btn--outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn--full {
    width: 100%;
}

.btn--whatsapp {
    background-color: #25D366;
    color: white;
    margin-top: 1rem;
}

.btn--whatsapp:hover {
    background-color: #128C7E;
}

/* ==========================================================================
   Header & Nav
   ========================================================================== */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: transparent;
    transition: var(--transition);
    padding: 1rem 0;
}

.header.scroll-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo__img {
    height: 60px;
    /* Adjust based on logo aspect ratio */
    width: auto;
}

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-main);
    transition: var(--transition);
    position: relative;
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--color-primary);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active-link::after {
    width: 100%;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header__cta {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-main);
}

/* Mobile Nav */
@media screen and (max-width: 968px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        background-color: var(--color-white);
        width: 80%;
        height: 100vh;
        padding: 4rem 2rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        display: flex;
        flex-direction: column;
    }

    .show-menu {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 2rem;
    }

    .nav__close {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

    .nav__toggle {
        display: block;
    }

    .header__cta {
        display: none;
        /* Hide CTA button on mobile header, maybe show in menu */
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Header height */
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    /* Ensure zoom doesn't overflow */
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: zoomEffect 30s infinite alternate;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

@keyframes zoomEffect {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.hero__content {
    max-width: 650px;
    padding: 2.5rem;
}

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary-dark);
    text-shadow: 2px 2px 15px rgba(255, 255, 255, 0.9);
    opacity: 0;
    /* Star hidden for animation */
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero__subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--color-text-main);
    font-weight: 600;
    text-shadow: 1px 1px 10px rgba(255, 255, 255, 0.9);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
    /* 0.3s delay */
}

.hero .btn {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    /* 0.6s delay */
}

@media screen and (max-width: 768px) {
    .hero__title {
        font-size: 2.5rem;
    }

    .hero__overlay {
        background: rgba(255, 255, 255, 0.85);
    }
}

/* ==========================================================================
   Pillars Section
   ========================================================================== */
.pillars {
    background-color: var(--color-white);
    margin-top: -50px;
    /* Overlap hero */
    padding-top: 0;
    position: relative;
    z-index: 10;
}

.pillars__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pillar__card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.pillar__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pillar__icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.pillar__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.pillar__desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
    background-color: var(--color-bg-alt);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service__card {
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service__card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.service__img-wrapper {
    height: 250px;
    overflow: hidden;
}

.service__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service__card:hover .service__img {
    transform: scale(1.05);
}

.service__content {
    padding: 2rem;
    position: relative;
}

.service__icon {
    position: absolute;
    top: -30px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.service__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service__desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.services__cta-wrapper {
    text-align: center;
}

/* ==========================================================================
   Results Section
   ========================================================================== */
.results {
    background-color: var(--color-white);
}

.results__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.result__item {
    border-radius: var(--radius);
    overflow: hidden;
    height: 400px;
}

.result__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.result__item:hover .result__img {
    transform: scale(1.03);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
}

.testimonials__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial__card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--radius);
    backdrop-filter: blur(5px);
}

.testimonial__stars {
    color: #FFD700;
    /* Gold for stars */
    margin-bottom: 1rem;
}

.testimonial__text {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.testimonial__name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    background-color: var(--color-bg-alt);
}

.contact__container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    align-items: start;
}

@media screen and (max-width: 768px) {
    .contact__container {
        flex-direction: column;
    }
}

.contact__info {
    text-align: center;
    /* Ensure text is centered */
    width: 100%;
    max-width: 800px;
    /* Limit width for better readability */
}

.contact__title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

.contact__desc {
    margin-bottom: 2rem;
    color: var(--color-text-light);
}

.contact__list {
    margin-bottom: 2rem;
}

.contact__item {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center list items */
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact__item i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.contact__map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact__form-wrapper {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.contact__form-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form__input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form__input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

.form__textarea {
    height: 120px;
    resize: none;
}

.contact__social {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #222;
    color: #fff;
    padding-top: 4rem;
}

.footer__container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media screen and (max-width: 768px) {
    .footer__container {
        grid-template-columns: 1fr;
    }
}

.footer__title-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0;
}

.footer__subtitle-text {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1.5rem;
    color: #aaa;
}

.footer__desc {
    color: #ccc;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.footer__social-link:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer__section-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.footer__list li {
    margin-bottom: 0.8rem;
}

.footer__link {
    color: #ccc;
    transition: var(--transition);
}

.footer__link:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer__copy {
    background-color: #111;
    padding: 1.5rem 0;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}