/* ========================================
   Bay Breeze Motel — Custom Styles
   Palette: Plum (#4A3B52) + Amber (#D4A574)
   Fonts: Playfair Display + Inter
======================================== */

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

:root {
    --plum: #4A3B52;
    --plum-light: #6B5A70;
    --plum-dark: #3A2D40;
    --amber: #D4A574;
    --amber-light: #E8C9A8;
    --amber-dark: #B8895A;
    --cream: #FAF7F4;
    --white: #FFFFFF;
    --off-white: #F5F0EB;
    --text: #2D2D2D;
    --text-light: #6B6B6B;
    --text-lighter: #999999;
    --line: rgba(74, 59, 82, 0.12);
    --line-strong: rgba(74, 59, 82, 0.25);
    --shadow-sm: 0 1px 3px rgba(74, 59, 82, 0.06);
    --shadow-md: 0 4px 20px rgba(74, 59, 82, 0.08);
    --shadow-lg: 0 8px 40px rgba(74, 59, 82, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    color: var(--text);
    background-color: var(--cream);
    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;
}

address {
    font-style: normal;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
    color: var(--plum);
}

.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-dark);
    margin-bottom: 16px;
    display: block;
}

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

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

.section-title--center {
    text-align: center;
}

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

.section-lead {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 560px;
    margin-bottom: 32px;
}

.section-lead--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-lead--light {
    color: rgba(255, 255, 255, 0.8);
    max-width: 480px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 1.5px solid transparent;
}

.btn-primary {
    background-color: var(--amber);
    color: var(--white);
    border-color: var(--amber);
}

.btn-primary:hover {
    background-color: var(--amber-dark);
    border-color: var(--amber-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background-color: var(--white);
    color: var(--plum);
    border-color: var(--white);
}

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

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--plum);
    border-color: var(--white);
}

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

.nav.scrolled {
    background-color: rgba(250, 247, 244, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 14px 0;
    box-shadow: var(--shadow-sm);
}

.nav.scrolled .nav-logo,
.nav.scrolled .nav-links a {
    color: var(--plum);
}

.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;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--white);
    transition: var(--transition);
}

.nav-logo-icon {
    width: 28px;
    height: 28px;
    color: var(--amber);
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
    position: relative;
}

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

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

.nav-links a:hover {
    color: var(--white);
}

.nav-cta {
    padding: 10px 24px;
    border: 1.5px solid rgba(212, 165, 116, 0.6);
    border-radius: var(--radius-sm);
    color: var(--amber-light) !important;
    transition: var(--transition);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background-color: var(--amber);
    border-color: var(--amber);
    color: var(--white) !important;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: var(--white);
    transition: var(--transition);
}

.nav.scrolled .nav-toggle span {
    background-color: var(--plum);
}

/* --- 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(58, 45, 64, 0.4) 0%,
        rgba(58, 45, 64, 0.55) 50%,
        rgba(58, 45, 64, 0.75) 100%
    );
}

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

.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--amber-light);
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-headline em {
    font-style: italic;
    color: var(--amber-light);
}

.hero-subheadline {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.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.5);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}

.hero-scroll svg {
    width: 20px;
    height: 20px;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* --- About --- */
.about {
    padding: 120px 0;
}

.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: var(--radius-md);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--amber);
    border-radius: var(--radius-md);
    z-index: -1;
}

.about-content .section-lead {
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--plum);
}

.stat-label {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-lighter);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--line-strong);
}

/* --- Rooms --- */
.rooms {
    padding: 120px 0;
    background-color: var(--off-white);
}

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

.room-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.room-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.room-card-title {
    font-size: 1.375rem;
    margin-bottom: 12px;
}

.room-card-desc {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.room-card-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.room-card-features li {
    font-size: 0.875rem;
    color: var(--text-light);
    padding-left: 16px;
    position: relative;
}

.room-card-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--amber);
}

.rooms-note {
    text-align: center;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--line);
}

.rooms-note p {
    font-size: 0.9375rem;
    color: var(--text-light);
}

.rooms-note a {
    color: var(--plum);
    font-weight: 500;
    border-bottom: 1px solid var(--line-strong);
    transition: var(--transition);
}

.rooms-note a:hover {
    color: var(--amber-dark);
    border-color: var(--amber-dark);
}

/* --- Amenities --- */
.amenities {
    padding: 120px 0;
}

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

.amenity-card {
    padding: 32px 0;
    border-top: 1px solid var(--line);
    transition: var(--transition);
}

.amenity-card:hover {
    border-top-color: var(--amber);
}

.amenity-icon {
    width: 40px;
    height: 40px;
    color: var(--amber-dark);
    margin-bottom: 20px;
}

.amenity-icon svg {
    width: 100%;
    height: 100%;
}

.amenity-title {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--plum);
}

.amenity-desc {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- Location --- */
.location {
    padding: 120px 0;
    background-color: var(--off-white);
}

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

.location-address {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 32px;
    line-height: 1.8;
}

.location-address svg {
    width: 20px;
    height: 20px;
    color: var(--amber-dark);
    flex-shrink: 0;
    margin-top: 4px;
}

.location-map {
    height: 450px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

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

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

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(58, 45, 64, 0.85) 0%,
        rgba(74, 59, 82, 0.7) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content .section-title {
    margin-bottom: 20px;
}

.cta-content .section-lead {
    margin-bottom: 40px;
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--white);
    padding: 16px 40px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.cta-phone:hover {
    background-color: var(--white);
    color: var(--plum);
    border-color: var(--white);
}

.cta-phone svg {
    width: 22px;
    height: 22px;
}

/* --- Footer --- */
.footer {
    background-color: var(--plum-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 28px;
    height: 28px;
    color: var(--amber);
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-info h4,
.footer-links h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-light);
    margin-bottom: 20px;
}

.footer-info address {
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.footer-info a {
    font-size: 0.9375rem;
    color: var(--amber);
    transition: var(--transition);
}

.footer-info a:hover {
    color: var(--amber-light);
}

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

.footer-links a {
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid,
    .location-grid {
        gap: 48px;
    }

    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        color: var(--plum) !important;
        font-size: 1rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .hero {
        min-height: 600px;
    }

    .hero-headline {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .about {
        padding: 80px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 350px;
    }

    .about-image::before {
        top: -10px;
        left: -10px;
    }

    .rooms {
        padding: 80px 0;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .amenities {
        padding: 80px 0;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .location {
        padding: 80px 0;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .location-map {
        height: 300px;
    }

    .cta {
        padding: 80px 0;
    }

    .cta-phone {
        font-size: 1.25rem;
        padding: 14px 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }
}

/* Mobile nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}
