
/* =================================
   SITETHEORY - GLOBAL STYLES
================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    margin: 0;
    background-color: #FAF9F6;
    color: #344638;
    font-family: Arial, sans-serif;
}

main {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    text-align: center;
}

h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}


/* =================================
   BUTTONS
================================= */

.button {
    display: inline-block;
    background-color: #8A9A82;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #344638;
}


/* =================================
   HEADER & NAVIGATION
================================= */

header {
    padding: 25px 8%;
    border-bottom: 1px solid #E0E5DC;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #FAF9F6;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    color: #344638;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-links a {
    color: #344638;
    text-decoration: none;
    font-size: 15px;
}

.nav-links a:hover {
    color: #8A9A82;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: #344638;
    cursor: pointer;
}


/* =================================
   HERO SECTION
================================= */

.hero {
    padding: 40px 0;
}

.eyebrow {
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
    color: #8A9A82;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    max-width: 750px;
    margin: 0 auto 40px;
}

.hero-description {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 35px;
    line-height: 1.7;
    color: #59675A;
}


/* =================================
   ABOUT SECTION
================================= */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background-color: #F1EDE4;
    padding: 80px 60px;
    text-align: left;
    border-radius: 12px;
}

.about h2 {
    font-size: 40px;
    line-height: 1.2;
    color: #344638;
}

.about-heading::after {
    content: "";
    display: block;
    width: 45px;
    height: 2px;
    background-color: #a3b09a;
    margin-top: 28px;
}

.about-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #59675A;
    margin-bottom: 20px;
}

.about-content .about-lead {
    font-size: 19px;
    line-height: 1.5;
    font-weight: 500;
    color: #344638;
    margin-bottom: 24px;
}

/* =================================
   SERVICES SECTION
================================= */

.services {
    padding: 60px 0 30px;
    text-align: center;
}

.services h2 {
    font-size: 34px;
    color: #344638;
    margin-bottom: 20px;
}

.services-intro {
    font-size: 17px;
    color: #59675A;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background-color: #F1EDE4;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.3s ease;
    border: 1px solid transparent;
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #C5CEC0;
}

.service-number {
    font-size: 14px;
    font-weight: bold;
    color: #8A9A82;
}

.service-number::after {
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    background-color: #A3B09A;
    margin-top: 12px;
}

.service-card h3 {
    font-size: 20px;
    color: #344638;
    margin-top: 20px;
}

.service-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #59675A;
    margin-top: 12px;
    margin-bottom: 0;
}

/* ========================================
   PACKAGES SECTION
======================================== */

/* --- PACKAGE LAYOUT --- */

.packages {
    padding: 60px 20px 30px;
    text-align: center;
    background-color: #faf9f6;
}

.packages-intro {
    max-width: 600px;
    margin: 0 auto 50px;
    color: #6b7568;
    line-height: 1.7;
}

.packages-carousel {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.packages-window {
    overflow: hidden;
    border-radius: 20px;
}

.packages-track {
    display: flex;
    transition: transform 0.5s ease;
}

/* --- PACKAGE CARDS --- */

.package-card {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 50px 40px;
    background-color: #F1EDE4;
    border-radius: 20px;
}

.package-number {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #8A9A82;
    margin-bottom: 20px;
}

.package-card h3 {
    font-size: 2rem;
    color: #344638;
    margin-bottom: 15px;
}

.package-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #8A9A82;
    margin-bottom: 20px;
}

.package-description {
    font-size: 1rem;
    color: #6b7568;
    line-height: 1.7;
    margin-bottom: 30px;
}

.package-inherited {
    color: #8A9A82;
    font-weight: 600;
}

.packages-currency {
    text-align: center;
    font-size: 0.7rem;
    color: #99958E;
    margin: 12px 0 0;
}

/* --- EXPANDABLE INCLUSIONS --- */

.package-details-toggle {
    background: none;
    border: none;
    color: #344638;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    padding: 10px;
    display: block;
    margin: 0 auto 10px;
}

.toggle-icon {
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.package-details-toggle:hover .toggle-icon {
    opacity: 0.5;
}

.toggle-icon.active {
    transform: rotate(180deg);
}

.package-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0;
    text-align: left;
    transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease;
}

.package-details.open {
    max-height: 500px;
    opacity: 1;
    margin-top: 5px;
    margin-bottom: 25px;
}

.package-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-details li {
    padding: 10px 0;
    color: #6b7568;
    font-size: 0.95rem;
    border-bottom: 1px solid #ddd9d0;
}

.package-details li:last-child {
    border-bottom: none;
}

/* --- CAROUSEL NAVIGATION --- */

.packages-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
}

.package-prev,
.package-next {
    width: 45px;
    height: 45px;
    border: 1px solid #8A9A82;
    border-radius: 50%;
    background-color: transparent;
    color: #344638;
    font-size: 20px;
    cursor: pointer; 
    transition: background-color 0.3s ease, color 0.3s ease;
}

.package-prev:hover,
.package-next:hover {
    background-color: #8A9A82;
    color: white;
}

.package-dots {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.package-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #C5CEC0;
    display: block;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.package-indicator {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #344638;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    pointer-events: none;
    transition: left 0.35s ease;
}

/* =================================
   PORTFOLIO SECTION
================================= */

.portfolio {
    padding: 60px 0;
    text-align: center;
}

.portfolio h2 {
    font-size: 34px;
    color: #344638;
    margin-bottom: 20px;
}

.portfolio-intro {
    font-size: 17px;
    color: #59675A;
    margin-bottom: 50px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.portfolio-card {
    background-color: #F1EDE4;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(52, 70, 56, 0.12);
}

.portfolio-image {
    height: 240px;
    background-color: #dce3d7;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-card h3 {
    font-size: 22px;
    margin: 25px 25px 10px;
}

.portfolio-card p {
    font-size: 15px;
    color: #59675A;
    margin: 0 25px 30px;
}

/* ========================================
   OUR PROCESS SECTION
======================================== */

.process {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 0;
    text-align: center;
}

.process-intro {
    max-width: 600px;
    margin: 20px auto 0;
    color: #6b7568;
    line-height: 1.7;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 60px;
}

.process-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: 40px;
    padding: 45px 0;
}

.process-number {
    display: block;
    font-size: clamp(6rem, 15vw, 11rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.08em;
    color: #8A9A82;
    grid-column: 1;
    grid-row: 1;
}

.process-content {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
    max-width: 350px;
}

.process-card:nth-child(even) .process-number {
    grid-column: 2;
}

.process-card:nth-child(even) .process-content {
    grid-column: 1;
}

.process-card:nth-child(even) .process-content {
    grid-column: 1;
    justify-self: start;
    text-align: left;
}

.process-content h3 {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 0 0 12px;
}

.process-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #6b7568;
    margin: 0;
}

/* =================================
   CONTACT SECTION
================================= */

.contact {
    background-color: #FAF9F6;
    padding: 80px 40px;
    border-radius: 12px;
    text-align: center;
}

.contact h2 {
    font-size: 38px;
    line-height: 1.2;
    color: #344638;
    margin-bottom: 25px;
}

.contact-description {
    font-size: 17px;
    line-height: 1.8;
    color: #59675A;
    max-width: 600px;
    margin: 0 auto 35px;
}

/* ========================================
   FREQUENTLY ASKED QUESTIONS
======================================== */

.faq {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 24px;
}

.faq-list {
    margin-top: 40px;
}

.faq-item {
    border-bottom: 1px solid #D8DED4;
}

.faq-item:first-child {
    border-top: 1px solid #D8DED4;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 24px 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: #344638;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 300;
    color: #8A9A82;
    flex-shrink: 0;
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-item[open] summary::after {
    content: "−";
    transform: rotate(180deg);
}

/* FAQ ANSWER ANIMATION */

.faq-answer {
    overflow: hidden;
}


/* ========================================
   WHY CHOOSE SITETHEORY
======================================== */

/* Section Layout */
.why-us {
    background-color: #F1EDE4;
    padding: 100px max(24px, calc((100% - 900px) / 2));
    text-align: left;
    border-radius: 12px;
}

/* Section Heading */
.why-us h2 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.04em;
    max-width: 650px;
    margin-top: 20px;
}

/* Section Introduction */
.why-us-intro {
    max-width: 480px;
    margin-top: 24px;
    color: #6b7568;
    line-height: 1.7;
}

/* Three-Column Layout */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin-top: 120px;
    padding-bottom: 24px;
    border-bottom: 1px solid #B8BDB2;
}

/* Text Alignment */
.why-us h2,
.why-us .eyebrow,
.why-us-intro,
.why-us-card {
    text-align: left;
}

/* Hide Decorative Numbers */
.why-us-number {
    display: none;
}

/* Column Headings */
.why-us-card h3 {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.02em;
    min-height: 3.2rem;
    margin-bottom: 18px;
}

/* Column Descriptions */
.why-us-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #6b7568;
}


/* ========================================
   CONTACT FORM
   ======================================== */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
    margin: 40px auto 0;
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #8A9A82;
    border-radius: 8px;
    background-color: #FAF9F6;
    color: #344638;
    font-family: inherit;
    font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid #8A9A82;
    outline-offset: 2px;
    border-color: #344638;
}

.contact-form button {
    align-self: center;
    width: auto;
    min-width: 200px;
    margin-top: 12px;
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: inherit;
}

.form-success {
    color: #344638;
    background-color: #e8efe5;
    padding: 16px 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

.form-error {
    color: #8B3A3A;
    background-color: #F8E8E8;
    padding: 16px 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

/* =================================
   FOOTER SECTION
================================= */

.footer {
    background-color: #344638;
    color: #FAF9F6;
    padding: 60px 40px;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.footer-brand h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 15px;
    line-height: 1.7;
    color: #d5dfd1;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    column-gap: 40px;
    row-gap: 12px;
    align-content: start;
}

.footer-links h3 {
    grid-column: 1 / -1;
    font-size: 18px;
    margin: 0 0 10px;
}

.footer-links a {
    color: #d5dfd1;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #A8B99F;
}

.footer-bottom {
    max-width: 900px;
    margin: 40px auto 0;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    font-size: 13px;
    color: #d5dfd1;
    margin: 0;
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */

.reveal {
    opacity: 1;
    transform: translateY(0);
}

.reveal.animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s ease,
                transform 0.9s ease;
}

.reveal.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   STAGGERED PORTFOLIO ANIMATIONS
   ======================================== */

.portfolio.reveal.animate.visible .portfolio-card {
    animation: portfolioFade 0.9s ease both;
}

.portfolio.reveal.animate.visible .portfolio-card:nth-child(1) {
    animation-delay: 0.2s;
}

.portfolio.reveal.animate.visible .portfolio-card:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes portfolioFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =================================
   RESPONSIVE DESIGN
================================= */

@media (max-width: 768px) {

    html {
        scroll-padding-top: 130px;
    }

    header {
        padding: 12px 6%;
    }

    /* --- GENERAL --- */

    main {
        padding: 25px 20px 50px;
    }

    /* --- MOBILE NAVIGATION --- */

    nav {
        flex-wrap: wrap;
        row-gap: 0;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
        width: 100%;
        gap: 15px;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        visibility: hidden;
        transition: max-height 0.4s ease,
                    opacity 0.3s ease,
                   visibility 0.4s;
    }

    .nav-links.active {
        max-height: 300px;
        opacity: 1;
        visibility: visible;
    }


    .menu-toggle {
        display: block;
    }

    /* --- HERO --- */

    .hero {
        padding: 10px 0 40px;
    }

    .hero h1 {
        font-size: clamp(28px, 6vw, 40px);
    }

    /* --- ABOUT --- */

    .about {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 40px 25px;
    }

    .about h2 {
        font-size: clamp(24px, 5vw, 30px);
    }

    /* --- SERVICES --- */

    .services {
        padding: 60px 0 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services h2 {
        font-size: clamp(28px, 6vw, 36px);
    }

    .packages {
        padding: 50px 0 30px;
    }

    /* --- PORTFOLIO --- */

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio {
        padding: 60px 0;
    }

    .portfolio h2 {
        font-size: clamp(28px, 6vw, 36px);
    }

    /* --- CONTACT --- */

    .contact {
        padding: 50px 25px;
    }

    .contact h2 {
        font-size: clamp(28px, 6vw, 36px);
    }

    .contact-description {
        font-size: 16px;
    }

   
/* --- OUR PROCESS --- */

.process {
    padding: 60px 0;
}

.process-grid {
    margin-top: 40px;
}

.process-card {
    grid-template-columns: 90px minmax(0, 1fr);
    column-gap: 20px;
    padding: 35px 0;
}

.process-number,
.process-card:nth-child(even) .process-number {
    grid-column: 1;
    grid-row: 1;
    font-size: clamp(4rem, 12vw, 5.5rem);
}

.process-content,
.process-card:nth-child(even) .process-content {
    grid-column: 2;
    grid-row: 1;
}

.process-content h3 {
    font-size: 1.4rem;
}

.process-content p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.process-content,
.process-card:nth-child(even) .process-content {
    text-align: left;
}

    /* --- FOOTER --- */

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .footer-brand h2 {
        font-size: clamp(22px, 5vw, 28px);
    }

    .footer-links h3 {
        font-size: clamp(16px, 4vw, 18px);
    }

    .footer {
        padding: 40px 25px;
    }

    .why-us {
        padding: 70px 24px;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-top: 70px;
    }

    .why-us-card h3 {
        min-height: 0;
    }
}

/* ========================================
   ACCESSIBILITY — REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .nav-links {
        transition: none;
        transform: none;
    }
    
    .button,
    .service-card {
        transition: none;
    }

    .reveal.animate {
        transition: none;
        transform: none;
    }
    .portfolio.reveal.animate.visible .portfolio-card {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   ACCESSIBILITY — KEYBOARD FOCUS
======================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #8A9A82;
    outline-offset: 4px;
}

/* ========================================
   ACCESSIBILITY — SKIP NAVIGATION
======================================== */

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: #344638;
    color: #FAF9F6;
    padding: 12px 20px;
    z-index: 1000;
}

.skip-link:focus {
    top: 20px;
}
