/* --- GLOBAL VARIABLES & RESET --- */
:root {
    --slate-blue: #465561; 
    --slate-dark: #2c363e; 
    --text-light: #f5f5f5;
    --text-dark: #222222;
    --font-serif: 'Playfair Display', Georgia, serif; 
    --font-sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- HEADER & NAVIGATION --- */
header {
    background-color: var(--slate-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 2.4rem;
    position: relative;
    z-index: 1000;
    border-bottom: 4px solid #000000;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/images/website header.png');
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}

header > * {
    position: relative;
    z-index: 1;
}

/* Container for the logo */
.logo-container {
    display: flex;
    align-items: center;
}

/* Brand Logo */
.logo-container .brand-logo {
    height: 130px; /* The prominent size you liked */
    width: auto;
    max-width: 100%; 
    object-fit: contain; 
    display: block;
    transition: height 0.3s ease;
}

/* Compact logo for mobile/smaller screens */
@media (max-width: 768px) {
    .logo-container .brand-logo {
        height: 80px;
    }
}

/* Dropdown Menu Styling */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: var(--slate-dark);
    color: var(--text-light);
    font-size: 0.9rem;
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.dropbtn:hover {
    background-color: #1a2228;
    transform: scale(1.02);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%; 
    background-color: rgba(245, 245, 245, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 200px;
    box-shadow: 0px 12px 24px 0px rgba(0,0,0,0.2);
    z-index: 9999;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding-top: 10px; /* Internal gap */
}

.dropdown-content a {
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: var(--slate-dark);
    color: var(--text-light);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* --- HERO SECTION (COMING SOON) --- */
.hero-section {
    flex: 1;
    min-height: 65vh;
    background-color: #2a333a; 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 4px solid #000000;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Front Page Hero Image (Can be changed independently from secondary pages) */
    background-image: url('../assets/images/beach hero.jpg'); 
    background-size: cover;
    background-position: center;
    animation: kenBurns 30s ease-in-out infinite alternate;
    z-index: 0;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.55);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    position: relative;
}

.hero-section h1 {
    color: var(--text-light);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 5rem;
    letter-spacing: 6px;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.5);
    text-align: center;
    padding: 0 20px;
    animation: slideUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards, buoyancy 6s ease-in-out infinite 1s;
}

/* Show hero titles on subpages */
body:not(.home-page) .hero-section h1 {
    display: none;
}

.mini-hero h1 {
    color: var(--text-light);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 3.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: center;
    z-index: 2;
    padding: 0 20px;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .mini-hero h1 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
}

/* --- GLOBAL MINI HERO (SUBPAGES) --- */
.mini-hero {
    height: 20vh;
    background-color: #2a333a;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 4px solid #000000;
}

.mini-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
    z-index: 0;
}

/* Default Background for Secondary Pages (Mini-Hero) */
.mini-hero:not([style*="background-image"])::before {
    background-image: url('../assets/images/beach hero.jpg');
}

/* --- FOOTER --- */
footer {
    background-color: var(--slate-blue);
    color: var(--text-light);
    padding: 2.5rem 2.4rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    border-top: 4px solid #000000;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/images/footer.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

footer > * {
    position: relative;
    z-index: 1;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    max-width: 400px;
}

.footer-column h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-column p {
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    line-height: 1.6;
    color: #e0e0e0; 
}

.footer-column.support {
    padding-top: 0;
}

.footer-column.newsletter {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.footer-column.newsletter .gift-card-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--slate-dark);
    color: var(--text-light);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 1.5rem;
    width: fit-content;
}

.footer-column.newsletter .gift-card-btn:hover {
    background-color: #1a2228;
    transform: scale(1.02);
}

.footer-column.socials {
    display: flex;
    justify-content: center;
}

.footer-column.socials .column-inner {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.socials .contact-info {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.socials .social-link {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.socials .social-link svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
    transition: stroke 0.3s ease, transform 0.3s ease;
}

.socials .social-link:hover svg {
    stroke: #b0c4d4;
    transform: translateY(-2px);
}

.signup-form {
    display: flex;
    margin-top: 1rem;
    max-width: 380px;
    width: 100%;
    justify-content: flex-end;
}

.signup-form input {
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    flex: 1;
    font-family: var(--font-sans);
    font-size: 0.9rem;
}

.signup-form button {
    padding: 10px 20px;
    background-color: var(--slate-dark);
    color: var(--text-light);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.signup-form button:hover {
    background-color: #1a2228;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.footer-bottom {
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: rgba(245, 245, 245, 0.6);
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    /* Stack the header so the logo is on top of the menu */
    header {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    /* Shrink the massive logo slightly so it fits on a phone screen */
    .logo-container .brand-logo {
        height: 100px; 
    }

    /* Shrink the giant hero text */
    .hero-section h1 {
        font-size: 3rem; 
    }

    .hero-section {
        min-height: 45vh;
    }

    /* Stack the footer columns into a single vertical column */
    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 3rem 1.5rem;
        gap: 3rem;
    }

    .footer-column {
        max-width: 100%;
        align-items: center !important;
        text-align: center !important;
    }

    .footer-column.socials .column-inner,
    .footer-column.newsletter {
        align-items: center !important;
        text-align: center !important;
    }

    /* Center the newsletter form */
    .signup-form {
        justify-content: center;
        width: 100%;
    }

    /* Reduce content section padding for mobile */
    .content-section {
        padding: 3rem 1.5rem !important;
    }

    /* Adjust waves for mobile */
    .waves {
        height: 60px;
        min-height: 60px;
    }
}

/* --- CONTENT SECTION & UI ELEMENTS --- */
.content-section {
    padding: 6rem 2.4rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-section.wide {
    max-width: 1200px;
}

.signature {
    margin-top: 3rem;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--slate-dark);
}

.cta-container {
    margin-top: 4rem;
    text-align: center;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--slate-dark);
    color: var(--text-light);
    text-decoration: none;
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid var(--slate-dark);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--slate-dark);
    transform: translateY(-2px);
}

/* --- WAVE STYLING --- */
.wave-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

.waves {
    position: relative;
    width: 100%;
    height: 15vh;
    margin-bottom: -7px; /* Fix for safari gap */
    min-height: 100px;
    max-height: 150px;
}

/* Secondary page wave adjustments - half height and 25% more transparent */
.mini-hero .waves {
    height: 7.5vh;
    min-height: 50px;
    max-height: 75px;
}

.mini-hero .parallax > use {
    opacity: 0.75;
}

/* Animation for the waves */
.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% { transform: translate3d(-90px,0,0); }
    100% { transform: translate3d(85px,0,0); }
}

/* --- ANIMATIONS & DYNAMIC UX --- */
.fade-in {
    animation: fadeIn 1.5s ease-in-out forwards;
    opacity: 0;
}

.slide-up {
    animation: slideUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    opacity: 0;
    transform: translateY(40px);
    animation-delay: 0.4s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1) translate(1%, 1%); }
}

@keyframes buoyancy {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Form Message Styling */
.form-message {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #a8d5ba;
    animation: fadeIn 0.5s ease-in forwards;
}