/* ============================================
   Cambridge Plaza Hotel — Brand Styles
   Palette: Emerald (#065f46) + Cream (#faf6f0) + Gold (#d4a843)
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --emerald: #065f46;
    --emerald-dark: #044d38;
    --emerald-light: #047857;
    --cream: #faf6f0;
    --cream-dark: #f0e8d8;
    --gold: #d4a843;
    --gold-light: #e0bc6a;
    --navy: #0f1c2e;
    --charcoal: #1a1a2e;
    --gray-100: #f7f7f8;
    --gray-200: #e8e8ec;
    --gray-300: #d1d1d8;
    --gray-400: #a1a1aa;
    --gray-500: #6b6b76;
    --gray-600: #45454e;
    --white: #ffffff;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 246, 240, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 95, 70, 0.08);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    color: var(--emerald);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.logo-light {
    color: var(--cream);
}

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

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

.main-nav a:not(.btn) {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition);
    position: relative;
}

.main-nav a:not(.btn):hover {
    color: var(--emerald);
}

.main-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: var(--transition);
}

.main-nav a:not(.btn):hover::after {
    width: 100%;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: 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(-1px);
    box-shadow: 0 4px 12px rgba(212, 168, 67, 0.35);
}

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

.btn-emerald:hover {
    background: var(--emerald-dark);
    border-color: var(--emerald-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6, 95, 70, 0.3);
}

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

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

.btn-lg {
    padding: 14px 32px;
    font-size: 0.938rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   MOBILE TOGGLE
   ============================================ */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--charcoal);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

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

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--gray-200);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.mobile-menu.open {
    display: flex;
}

.mobile-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--charcoal);
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

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

.mobile-cta {
    margin-top: 8px;
    border-bottom: none;
}

/* ============================================
   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-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 28, 46, 0.82) 0%,
        rgba(6, 95, 70, 0.72) 50%,
        rgba(15, 28, 46, 0.78) 100%
    );
}

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

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 168, 67, 0.15);
    border: 1px solid rgba(212, 168, 67, 0.35);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
}

.text-gold {
    color: var(--gold);
}

.text-emerald {
    color: var(--emerald);
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(250, 246, 240, 0.75);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 40px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(250, 246, 240, 0.5);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(212,168,67,0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

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

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    background: var(--emerald);
    padding: 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-right: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
}

.trust-item:last-child {
    border-right: none;
}

.trust-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 560px;
}

section {
    padding: 96px 0;
}

/* ============================================
   ROOMS
   ============================================ */
.rooms {
    background: var(--white);
}

.rooms .section-header {
    text-align: center;
    margin-bottom: 56px;
}

.rooms .section-desc {
    margin: 0 auto;
}

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

.room-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

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

.room-img {
    overflow: hidden;
    aspect-ratio: 3/2;
}

.room-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.room-info {
    padding: 28px;
}

.room-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--emerald);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 12px;
}

.room-info h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.room-info > p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
}

.room-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.room-features li {
    font-size: 0.8rem;
    color: var(--gray-600);
    padding-left: 16px;
    position: relative;
}

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

/* ============================================
   AMENITIES
   ============================================ */
.amenities {
    background: var(--cream);
}

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

.amenities-text .section-desc {
    margin-bottom: 36px;
}

.amenities-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.amenity-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald);
    border-radius: var(--radius-md);
    flex-shrink: 0;
    color: var(--gold);
}

.amenity div strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 2px;
}

.amenity div span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.amenities-visual {
    position: relative;
}

.amenities-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.amenities-img-secondary {
    position: absolute;
    bottom: -32px;
    left: -32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}

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

/* ============================================
   LOCATION
   ============================================ */
.location {
    background: var(--white);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: stretch;
}

.location-text .section-desc {
    margin-bottom: 32px;
}

.location-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.loc-highlight {
    padding: 16px 20px;
    background: var(--cream);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: var(--transition);
}

.loc-highlight:hover {
    border-color: var(--emerald);
    background: var(--white);
}

.loc-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal);
}

.loc-dist {
    font-size: 0.78rem;
    color: var(--gray-500);
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 400px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: var(--cream);
}

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

.contact-details {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-row {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald);
    border-radius: var(--radius-md);
    flex-shrink: 0;
    color: var(--gold);
}

.contact-row strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 2px;
}

.contact-row p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.contact-row a {
    color: var(--emerald);
    font-weight: 500;
    transition: var(--transition);
}

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

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.contact-form h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 24px;
}

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

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

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-600);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    padding: 12px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--charcoal);
    background: var(--cream);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--emerald);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(6, 95, 70, 0.08);
}

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

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 16px;
}

.form-note a {
    color: var(--emerald);
    font-weight: 600;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    gap: 16px;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--charcoal);
}

.form-success p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ============================================
   CTA
   ============================================ */
.cta {
    background: var(--emerald);
    padding: 80px 0;
}

.cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 16px;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 1rem;
    color: rgba(250, 246, 240, 0.7);
    line-height: 1.7;
    margin-bottom: 32px;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy);
    color: rgba(250, 246, 240, 0.6);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(250, 246, 240, 0.08);
}

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

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.footer-col a,
.footer-col p {
    display: block;
    font-size: 0.875rem;
    color: rgba(250, 246, 240, 0.5);
    margin-bottom: 8px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--cream);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8rem;
    color: rgba(250, 246, 240, 0.35);
    flex-wrap: wrap;
    gap: 8px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .amenities-layout,
    .location-content,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .amenities-visual {
        max-width: 500px;
    }

    .amenities-img-secondary {
        left: 16px;
        bottom: -24px;
    }

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

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

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

    .trust-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 16px 20px;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .location-highlights {
        grid-template-columns: 1fr;
    }

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

    .contact-form-wrap {
        padding: 28px;
    }

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

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

    section {
        padding: 64px 0;
    }
}

@media (max-width: 480px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .amenities-img-secondary {
        display: none;
    }
}
