/* ============================================
   Hampton Carmel — Styles
   Classic & Elegant | Charcoal + Coral
   ============================================ */

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #2C2C2C;
    background-color: #FAFAF8;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    line-height: 1.2;
    color: #1A1A1A;
}

/* --- Section Eyebrow --- */
.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #C4614A;
    margin-bottom: 16px;
}

/* --- Section Title --- */
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #1A1A1A;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 32px;
    border: 1.5px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-coral {
    background-color: #C4614A;
    color: #fff;
    border-color: #C4614A;
}

.btn-coral:hover {
    background-color: #A84E3A;
    border-color: #A84E3A;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(196, 97, 74, 0.3);
}

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

.btn-outline-light:hover {
    background-color: #fff;
    color: #1A1A1A;
    border-color: #fff;
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.75rem;
}

.btn-full {
    width: 100%;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 26, 26, 0.06);
    transition: all 0.35s ease;
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(26, 26, 26, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* --- Logo --- */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 28px;
    height: 28px;
    background-color: #C4614A;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.375rem;
    font-weight: 600;
    color: #1A1A1A;
    letter-spacing: 0.02em;
}

.logo-light .logo-text {
    color: #fff;
}

/* --- Navigation --- */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #1A1A1A;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background-color: #1A1A1A;
    transition: all 0.3s ease;
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

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

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #4A4A4A;
    transition: color 0.25s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #C4614A;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #C4614A;
}

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

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

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

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

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

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    padding-top: 72px;
}

.hero-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    font-weight: 500;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 28px;
}

.hero-headline em {
    font-style: italic;
    color: #E8A08E;
}

.hero-subhead {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 40px;
    max-width: 600px;
    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: 36px;
    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);
    text-decoration: none;
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.7); }
}

/* --- Intro --- */
.intro {
    padding: 120px 0;
}

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

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

.intro-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #4A4A4A;
    margin-bottom: 16px;
}

.intro-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(26, 26, 26, 0.08);
}

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

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.375rem;
    font-weight: 600;
    color: #1A1A1A;
}

.stat-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8A8A8A;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(26, 26, 26, 0.12);
}

/* --- Rooms --- */
.rooms {
    padding: 100px 0;
    background-color: #F3F1EE;
}

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

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

.room-card {
    background-color: #fff;
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(26, 26, 26, 0.1);
}

.room-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.room-info {
    padding: 28px;
}

.room-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.room-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #6A6A6A;
    margin-bottom: 20px;
}

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

.room-features li {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 6px 12px;
    background-color: #F3F1EE;
    border-radius: 2px;
    color: #4A4A4A;
}

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

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

.amenity-card {
    padding: 32px;
    border: 1px solid rgba(26, 26, 26, 0.07);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.amenity-card:hover {
    border-color: #C4614A;
    box-shadow: 0 8px 32px rgba(196, 97, 74, 0.08);
}

.amenity-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #C4614A;
}

.amenity-name {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.amenity-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #6A6A6A;
}

/* --- Dining --- */
.dining {
    padding: 100px 0;
    background-color: #1A1A1A;
    color: #fff;
}

.dining-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

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

.dining-content .section-eyebrow {
    color: #E8A08E;
}

.dining-content .section-title {
    color: #fff;
}

.dining-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.dining-content .btn-coral {
    margin-top: 24px;
}

/* --- Location --- */
.location {
    padding: 100px 0;
    background-color: #F3F1EE;
}

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

.location-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: #4A4A4A;
    margin-bottom: 32px;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

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

.location-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8A8A8A;
}

.location-value {
    font-size: 0.9375rem;
    color: #1A1A1A;
    line-height: 1.6;
}

.location-value a {
    color: #C4614A;
    transition: color 0.25s ease;
}

.location-value a:hover {
    color: #A84E3A;
}

.nearby-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1A1A1A;
    margin-bottom: 16px;
}

.nearby-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nearby-list li {
    font-size: 0.9375rem;
    color: #4A4A4A;
    padding-left: 16px;
    position: relative;
}

.nearby-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background-color: #C4614A;
    border-radius: 50%;
}

.location-map iframe {
    width: 100%;
    height: 420px;
    border-radius: 2px;
    filter: grayscale(30%);
}

/* --- Booking --- */
.booking {
    padding: 100px 0;
}

.booking-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.booking-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #4A4A4A;
    margin-bottom: 16px;
}

.booking-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

.booking-phone,
.booking-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: #C4614A;
    transition: color 0.25s ease;
}

.booking-phone:hover,
.booking-email:hover {
    color: #A84E3A;
}

/* --- Form --- */
.booking-form-wrapper {
    background-color: #F3F1EE;
    padding: 40px;
    border-radius: 2px;
}

.form-title {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 28px;
}

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

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4A4A4A;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    padding: 12px 14px;
    border: 1px solid rgba(26, 26, 26, 0.15);
    border-radius: 2px;
    background-color: #fff;
    color: #1A1A1A;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #C4614A;
    box-shadow: 0 0 0 3px rgba(196, 97, 74, 0.1);
}

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

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 24px;
    margin-top: 16px;
    background-color: #F0FAF4;
    border: 1px solid rgba(34, 120, 80, 0.2);
    border-radius: 2px;
    color: #1A5C36;
}

.form-success svg {
    color: #227850;
}

.form-success p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* --- Footer --- */
.site-footer {
    background-color: #1A1A1A;
    color: rgba(255, 255, 255, 0.65);
    padding: 64px 0 0;
}

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

.footer-brand .logo-text {
    color: #fff;
}

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

.footer-heading {
    font-family: 'Inter', sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

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

.footer-nav a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.25s ease;
}

.footer-nav a:hover {
    color: #E8A08E;
}

.footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-contact a {
    color: #E8A08E;
    transition: color 0.25s ease;
}

.footer-contact a:hover {
    color: #fff;
}

.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.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
    font-size: 0.75rem !important;
}

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

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

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

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #FAFAF8;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 20px;
        transition: right 0.35s ease;
        box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    }

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

    .nav-link {
        font-size: 1rem;
    }

    .nav-menu .btn-coral {
        margin-top: 8px;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .intro-grid,
    .dining-layout,
    .location-grid,
    .booking-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-image img,
    .dining-image img {
        height: 360px;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .booking-form-wrapper {
        padding: 28px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .intro-stats {
        flex-wrap: wrap;
    }
}

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

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

    .container {
        padding: 0 20px;
    }
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
