/* =========================
   GLOBAL RESET & BASE
========================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Open Sans", sans-serif;
    color: #2a2926;
    background: #faf8f5;
    line-height: 1.7;
    font-size: 18px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* =========================
   HEADER & NAVIGATION
========================= */

.site-header {
    background: #ffffffdd;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: "Lora", serif;
    font-size: 24px;
    font-weight: 700;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-list a {
    text-decoration: none;
    color: #2a2926;
    font-weight: 600;
    transition: color .25s ease;
}

.nav-list a:hover {
    color: #7a4b22;
}

/* =========================
   HERO SECTION — OPTION A
========================= */

.hero {
    position: relative;
    text-align: center;
}

.hero-image {
    width: 100%;
    height: auto;
}

/* Desktop overlay text */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background: rgba(0,0,0,0.35);
    padding: 25px 45px;
    border-radius: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-content h2 {
    font-family: "Lora", serif;
    font-size: 42px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 20px;
}

/* =========================
   SECTION BASE STYLES
========================= */

.section {
    padding: 70px 0;
}

h2 {
    font-family: "Lora", serif;
    font-size: 32px;
    margin-bottom: 20px;
}

h3 {
    font-family: "Lora", serif;
    font-size: 22px;
    margin: 18px 0 10px;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.image-rounded {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* =========================
   LIST STYLES
========================= */

.styled-list {
    list-style: none;
    margin: 10px 0 20px;
    padding-left: 0;
}

.styled-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.styled-list li::before {
    content: "✔";
    color: #6a3e19;
    position: absolute;
    left: 0;
}

.styled-list.negative li::before {
    content: "✖";
    color: #a13a2a;
}

/* NAV CTA BUTTON */
.nav-cta {
    background: #3b82f6;
    display: inline-block;
    margin: 30px 0; /* 30px top + bottom */
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}

/* Hover Glow + Lift */
.nav-cta:hover {
    background: #2563eb;
    display: inline-block;
    margin: 30px 0; /* 30px top + bottom */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59,130,246,0.4);
}

/* Active Tap Effect */
.nav-cta:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(59,130,246,0.35);
}

/* =========================
   ADVANTAGES GRID
========================= */

.adv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.adv-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
    text-align: center;
}

.adv-card img {
    max-width: 100%;
    height: auto;
    margin: 0 auto 15px;
}

/* ==========================================
   UNIVERSAL TWO-COLUMN PAGE LAYOUT (Matches About Page)
   ========================================== */

.two-column {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
}

.two-column .column {
    flex: 1;
    min-width: 0; /* Prevents shrinking text blocks */
}

.two-column img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}


/* ==========================================
   RESPONSIVE BEHAVIOR
   ========================================== */

@media (max-width: 900px) {
    .two-column {
        flex-direction: column;
        gap: 30px;
    }

    .two-column .column {
        width: 100%;
    }
}


/* ONLY Advantages heading centered (your request) */
.advantages h2 {
    text-align: center;
    width: 100%;
}

/* =========================
   CONTACT FORM STYLES
========================= */

.contactForm {
    margin-top: 20px;
}

/* Style Inputs and Textareas */
.contactForm input[type="text"],
.contactForm input[type="email"],
.contactForm textarea {
    width: 100%;            /* Fixes the width issue (fills the column) */
    padding: 12px 15px;     /* Fixes the height issue (adds comfortable space) */
    margin-bottom: 20px;    /* Adds space between fields */
    border: 1px solid #000;
    border-radius: 5px;     /* Softens the corners */
    font-family: inherit;   /* Uses your site's Open Sans font */
    font-size: 1rem;        /* Ensures text isn't tiny */
    background: #fff;
}

.contactForm textarea {
    resize: vertical;       /* Allows user to resize height only */
}

/* Form Layout (Rows) */
.form-row {
    display: flex;          /* Puts items side-by-side */
    gap: 20px;              /* Adds space between the two side-by-side inputs */
}

.form-group {
    width: 100%;
}

.form-group.half {
    flex: 1;                /* Makes the half-width inputs grow evenly */
}

/* Submit Button Style */
.btn-primary {
    background-color: #2a2926; /* Matches your text color */
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background-color: #7a4b22; /* Matches your link hover color */
}

/* Mobile Form Adjustments */
@media (max-width: 700px) {
    .form-row {
        flex-direction: column; /* Stacks inputs on small screens */
        gap: 0;
    }
}


/* =========================
   FOOTER
========================= */

.site-footer {
    background: #1f1e1c;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer-link {
    color: #d7c4a8;
    font-weight: 600;
    text-decoration: none;
}

.footer-link:hover {
    color: #fff;
}

/* =========================
   TABLET / LARGE HANDHELD DEVICES
   (600px–1024px)
========================= */

@media (min-width: 600px) and (max-width: 1024px) {

    /* Header stacks vertically */
    .nav-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
        padding: 10px 0;
    }

    .logo {
        font-size: 22px;
    }

    .nav-list {
        flex-wrap: wrap;
        gap: 18px;
        justify-content: center;
    }

    .nav-list a {
        font-size: 17px;
        padding: 6px 12px;
    }

    /* Hero overlay scales but stays over the image */
    .hero-content {
        font-size: 95%;
        padding: 18px 35px;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    /* Two columns collapse */
    .two-col {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    /* Advantages become 2 columns */
    .adv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .image-rounded {
        max-width: 85%;
        margin: auto;
    }
}

/* =========================
   SMALL MOBILE PHONES
========================= */

@media (max-width: 700px) {

    .nav-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .logo {
        font-size: 20px;
    }

    .nav-list {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .nav-list a {
        font-size: 15px;
        padding: 6px 10px;
    }
}

@media (max-width: 420px) {
    .nav-list a {
        font-size: 14px;
        padding: 5px 8px;
    }

    .logo {
        font-size: 18px;
    }
}

/* =========================
   MOBILE HERO BEHAVIOR
========================= */

@media (max-width: 800px) {

    /* Option A — text moves BELOW image */
    .hero-content {
        position: static;
        transform: none;
        background: none;
        color: #2a2926;
        text-shadow: none;
        margin-top: 20px;
        padding: 10px 15px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .two-col {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .adv-grid {
        grid-template-columns: 1fr;
    }
}
