/* ============================================
   A Place at the Beach — Stylesheet
   Classic & Elegant · Deep Navy + Warm Gold
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0A1628;
    --navy-light: #132240;
    --navy-mid: #1A2D4A;
    --gold: #C5A255;
    --gold-light: #D4B76A;
    --gold-dark: #A8873E;
    --cream: #F5F0E8;
    --cream-light: #FAF7F2;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-mid: #4A4A4A;
    --text-light: #7A7A7A;
    --border: #E0D8CC;
    
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--cream-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-eyebrow.light {
    color: var(--gold-light);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--navy);
    margin-bottom: 24px;
}

.section-title.light {
    color: var(--white);
}

.section-lead, .lead {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 16px 36px;
    border: 2px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(197, 162, 85, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.logo-icon {
    color: var(--gold);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: all var(--transition);
    transform-origin: center;
}

.nav-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
}

.nav-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--white);
    transition: color var(--transition);
}

.mobile-link:hover {
    color: var(--gold);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 22, 40, 0.55) 0%,
        rgba(10, 22, 40, 0.45) 50%,
        rgba(10, 22, 40, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s 0.3s forwards;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s 0.5s forwards;
}

.hero-subhead {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeUp 0.8s 0.7s forwards;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s 0.9s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: fadeUp 0.8s 1.2s forwards;
    opacity: 0;
}

.hero-scroll svg {
    animation: bounce 2s infinite;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

/* ---------- About ---------- */
.about {
    padding: 120px 0;
    background: var(--cream-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 2px;
}

.about-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    border-radius: 2px;
    z-index: -1;
}

.about-content {
    padding: 20px 0;
}

.about-content .lead {
    color: var(--navy);
    font-weight: 500;
}

.about-content p {
    color: var(--text-mid);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

.feature-item svg {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.4;
}

/* ---------- Accommodations ---------- */
.accommodations {
    padding: 120px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 72px;
}

.section-header .section-lead {
    text-align: center;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.room-card {
    background: var(--cream-light);
    border-radius: 2px;
    overflow: hidden;
    transition: all var(--transition);
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.12);
}

.room-image {
    overflow: hidden;
    height: 260px;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.room-card:hover .room-image img {
    transform: scale(1.05);
}

.room-content {
    padding: 32px 28px;
}

.room-name {
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.room-desc {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 20px;
}

.room-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.room-amenities li {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--navy);
    background: var(--cream);
    padding: 6px 12px;
    border-radius: 2px;
}

.accommodations-cta {
    text-align: center;
    margin-top: 64px;
    padding-top: 64px;
    border-top: 1px solid var(--border);
}

.accommodations-cta p {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-mid);
    margin-bottom: 20px;
}

/* ---------- Experience ---------- */
.experience {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.experience-bg {
    position: absolute;
    inset: 0;
}

.experience-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.82);
}

.experience-content {
    position: relative;
    z-index: 1;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 64px;
}

.exp-item {
    text-align: center;
    padding: 32px 20px;
    border: 1px solid rgba(197, 162, 85, 0.25);
    border-radius: 2px;
    transition: all var(--transition);
}

.exp-item:hover {
    border-color: var(--gold);
    background: rgba(197, 162, 85, 0.06);
    transform: translateY(-4px);
}

.exp-item svg {
    color: var(--gold);
    margin-bottom: 20px;
}

.exp-item h4 {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 12px;
}

.exp-item p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

/* ---------- Location ---------- */
.location {
    padding: 120px 0;
    background: var(--cream-light);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.location-content .lead {
    color: var(--navy);
    font-weight: 500;
}

.location-content p {
    color: var(--text-mid);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.location-details {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.location-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.location-detail svg {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 3px;
}

.location-detail strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 4px;
}

.location-detail span,
.location-detail a {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.location-detail a:hover {
    color: var(--gold);
}

.location-map img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 2px;
}

/* ---------- Contact ---------- */
.contact {
    padding: 120px 0;
    background: var(--navy);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-title {
    color: var(--white);
}

.contact-info .lead {
    color: rgba(255, 255, 255, 0.65);
}

.contact-methods {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border: 1px solid rgba(197, 162, 85, 0.3);
    border-radius: 2px;
    transition: all var(--transition);
}

.contact-method:hover {
    border-color: var(--gold);
    background: rgba(197, 162, 85, 0.08);
}

.method-icon {
    color: var(--gold);
}

.contact-method span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Form */
.contact-form-wrapper {
    background: var(--navy-light);
    padding: 48px;
    border-radius: 2px;
    border: 1px solid rgba(197, 162, 85, 0.15);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    padding: 14px 16px;
    transition: all var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: rgba(197, 162, 85, 0.08);
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group select option {
    background: var(--navy);
    color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Success Message */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px;
    gap: 16px;
}

.form-success.active {
    display: flex;
}

.form-success svg {
    color: var(--gold);
}

.form-success h3 {
    font-size: 1.8rem;
    color: var(--white);
}

.form-success p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--navy);
    border-top: 1px solid rgba(197, 162, 85, 0.15);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-logo-icon {
    color: var(--gold);
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 280px;
}

.footer-nav h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--gold);
}

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    margin-bottom: 4px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ---------- Scroll Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid,
    .location-grid,
    .contact-grid {
        gap: 48px;
    }
    
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .about-grid,
    .location-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        height: 350px;
    }
    
    .about-image-accent {
        top: -12px;
        right: -12px;
    }
    
    .about-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 64px auto 0;
    }
    
    .location-map img {
        height: 300px;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .accommodations-cta .btn {
        width: 100%;
    }
}
