﻿/* ================================
   Base + Sticky-Footer Wrapper
   ================================ */

/* 1) Global resets & typography */
h1, h2, h3, .section-title {
    font-family: 'Playfair Display', serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body, h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    padding: 0;
}

html {
    /* keep your smooth scrolling */
    scroll-behavior: smooth;
    /* allow 100% height math for the wrapper */
    height: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 2) Body defaults (unchanged) */
body {
    font-family: 'Arimo', sans-serif;
    color: #333;
    line-height: 1.5;
    background: #ffffff;
    overflow-x: hidden;
    height: 100%; /* pair with html:100% for legacy engines */
}

/* 3) Sticky footer wrapper (safe, non-intrusive) */
.body-wrap {
    min-height: 100%;
    min-height: 100svh; /* mobile-safe viewport height */
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto; /* grow to push footer to the bottom */
}

.site-footer {
    flex-shrink: 0; /* never squish the footer */
}

/* 4) Your container helper (unchanged) */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}



/* ================================
   HERO SECTION
   ================================ */

.hero-section {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    overflow: visible;
}

    .hero-section img.hero-bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
    }

    .hero-section::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.15);
        z-index: 2;
    }

/* HERO CONTENT */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding-top: 8vh;
} 

   /* .hero-content h4 {
        font-size: clamp(1rem, 1.5vw, 1.4rem);
        margin-bottom: 1.5rem;
    }*/

.hero-logo {
    display: block;
    margin: 0 auto .5rem auto;
    width: 90vw;
    max-width: 450px; /* adjust 520–600px to whatever feels right to you */
    height: auto;
}

.hero-tagline {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    font-size: 2.0rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-btn {
    padding: 12px 28px;
    background: rgba(0, 0, 0, 0.25);
    color: #ffffff;
    font-size: .9rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    border: 1px solid #ffffff;
    transition: background 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

    .hero-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }


/* ============================================
   DUAL WAVE STACK
   ============================================ */

.wave-stack {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 4;
    pointer-events: none;
}

    .wave-stack img {
        position: absolute;
        left: 0;
        width: 100%;
        display: block;
    }

.wave-base {
    bottom: 0;
    height: auto;
}

.wave-top {    
    bottom: 0;
    height: auto;
    z-index: 6;
}

/* ============================================
   CONTENT 1 – TEXT + GALLERY WRAPPER
============================================ */
.content-1 {
    position: relative;
    z-index: 1;
    background: #ffffff;
    padding: 5rem 1rem 4rem;
    margin-top: clamp(-50px, -10vw, -120px); /* sits beneath hero wave */
}

/* Inner container (industry standard 1240px) */
.content-inner {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    text-align: center;
}

/* Typography */
.content-1 h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3vw, 2.7rem);
    margin-bottom: 1.6rem;
    color: #5a5d60;
}

.content-1 p {
    font-family: 'Arimo', sans-serif;
    font-size: clamp(1rem, 1.25vw, 1.2rem);
    max-width: 820px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    color: #5a5d60;
}

/* Gallery placeholder (will become slider later) */
.gallery-placeholder {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 3rem;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

    .gallery-placeholder img {
        width: 100%;
        display: block;
        height: auto;
    }

.button-row {
    display: flex;
    gap: 1.5rem; /* Adjust this for more or less space */
    justify-content: center;
    flex-wrap: wrap; /* Ensures good wrapping on smaller screens */
    margin-top: 2rem;
}


/* ========== CUSTOM CONTENT BUTTONS ========== */

.btn-cont-fill,
.btn-cont-outline {
    font-family: 'Arimo', sans-serif;
    font-weight: 600;
    font-size: .8rem;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 1px solid #22afbe;
    transform: translateZ(0);
    will-change: transform;
}

/* Variation 1: Filled Button */
.btn-cont-fill {
    background-color: #22afbe;
    color: #fff;
}

    .btn-cont-fill:hover {
        background-color: #7dd0d9;
        border-color: #7dd0d9;
        transform: scale(1.05);
    }

/* Variation 2: Outline Button */
.btn-cont-outline {
    background-color: #ffffff;
    color: #22afbe;
}

    .btn-cont-outline:hover {
        background-color: #7dd0d9;
        color: #ffffff;
        border-color: #22afbe;
        transform: scale(1.05);
    }

/* ============================================
   CONTENT-2: BEACH BACKGROUND + ALT LAYOUT
   ============================================ */
/* Put this AFTER any earlier .content-2 rules */
section.content-2 {
    position: relative;
    background: #ffffff url("/images/bg-beach2.jpg") center top / cover no-repeat;
    padding: 5rem 1rem 6rem;
    overflow: hidden;
    z-index: 0;
}


   

.content-2-inner {
    position: relative;
    z-index: 1; /* above the wash */
    max-width: 940px;
    margin: 0 auto;
    display: grid;
    gap: 4rem;
}


/* Rows default to stacked on mobile */
.c2-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

/* ============================================
   FOOTER
   ============================================ */

/* --- Footer visuals --- */
.site-footer {
    position: relative;
    text-align: center;
    color: #5a5d60;
    padding: 3.5rem 1rem 2.5rem;
    width: 100%;
    height: 520px; /* fixed visual height */
    background-color: #f3fafb;
    background-image: url("/images/bg-footer.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto; /* fill width, keep aspect ratio vertically */
}

/* If you’re using the sticky layout wrapper, keep this: */
/* .site-footer { flex-shrink: 0; } */

/* --- Footer inner layout (STACK EVERYTHING VERTICALLY) --- */
.footer-inner {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin: 0 auto;
    display: flex; /* NEW */
    flex-direction: column; /* NEW */
    align-items: center; /* NEW */
    gap: 0.75rem; /* NEW: space between rows */
    text-align: center; /* keep text centered */
}

.footer-logo {
    width: clamp(160px, 22vw, 260px);
    height: auto;
    margin: 0 auto 1rem;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.08));
}

.footer-address {
    margin: .25rem 0 1rem;
    line-height: 1.4;
    font-size: .95rem;
}

/* Phone row */
.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    color: #5a5d60;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color .25s ease, border-color .25s ease, transform .25s ease;
}

    .footer-phone:hover {
        color: #22afbe;
        border-color: #22afbe;
        transform: translateY(-1px);
    }

.phone-glyph {
    font-size: .95rem;
    opacity: .85;
}

/* Button row */
.btn-footer {
    display: inline-block; /* stays its own row thanks to flex column */
    margin: 0 0 1.5rem;
    padding: .65rem 1.25rem;
    background: #22afbe;
    color: #fff;
    border: 1px solid #22afbe;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .8rem;
    text-decoration: none;
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

    .btn-footer:hover {
        background: #7dd0d9;
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(0,0,0,.12);
    }

.footer-copy {
    margin: .25rem 0 0;
    font-size: .8rem;
    opacity: .8;
}




.c2-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

/* Typography matches your mock */
.c2-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.2vw, 2.2rem);
    margin-bottom: .75rem;
    color: #5a5d60; /* per mock */
}

.c2-text p {
    font-family: 'Arimo', sans-serif;
    color: #5a5d60; /* per mock */
    line-height: 1.7;
    font-size: clamp(1rem, 1.1vw, 1.1rem);
    margin-bottom: 1.25rem;
    max-width: 60ch;
}

/* Button spacing inside text blocks */
.c2-text .btn-cont-fill,
.c2-text .btn-cont-outline {
    margin-top: .5rem;
}



    /* ============================================
   IMAGE GRID
   ============================================ */
    .home-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

    .home-gallery img {
        width: 100%;
        height: 260px;
        object-fit: cover;
        border-radius: 10px;
        display: block;
    }


/* tiny screens */
@media (max-width: 480px) {
    .site-footer {
        padding: 3rem 1rem 2rem;
    }
}

/* Two columns ≥ 992px */
@media (min-width: 992px) {
    .c2-row {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

        .c2-row.is-reverse .c2-media {
            order: 2;
        }

        .c2-row.is-reverse .c2-text {
            order: 1;
        }
}

@media (min-width: 1200px) {
    .hero-logo {
        width: auto;
        max-width: 500px; /* final large-desktop size */
    }
}

/* ============================================
   ULTRA-WIDE SAFETY
   ============================================ */

@media (min-width: 1440px) {
    .hero-section {
        height: 100vh; /* ~44 % bigger than original 80vh */
        min-height: 720px; /* feel free to tweak; 625px × ~1.15 */
    }
}

@media (min-width: 1800px) {
    .wave-base,
    .wave-top {
        height: 360px;
        object-fit: cover;
        object-position: top;
    }

    /* ≈25% taller hero on ultra-wide screens */
    .hero-section {
        height: 100vh; /* 80vh × 1.25 */
        min-height: 525px; /* 500px × 1.25 */
    }
}

@media (min-width: 2200px) {
    .wave-base,
    .wave-top {
        height: 460px;
        object-fit: cover;
        object-position: top;
    }

    /*.hero-section {
        height: 100vh;
        min-height: 625px;
    }*/
}