/* ============================================
   Urbana-Lincoln Hotel — Custom Styles
   Deep Navy (#0A1F44) + Warm Gold (#C9A84C)
   ============================================ */

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

:root {
    --navy-950: #050E1E;
    --navy-900: #0A1F44;
    --navy-800: #0F2B5C;
    --navy-700: #153878;
    --navy-600: #1B4591;
    --gold-500: #C9A84C;
    --gold-400: #D4B85E;
    --gold-300: #E0C970;
    --gold-200: #EAD98E;
    --white: #FFFFFF;
    --off-white: #F8F7F4;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E8E8E8;
    --gray-300: #D1D1D1;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --nav-height: 72px;
    --section-padding: clamp(80px, 12vw, 140px);
    --container-max: 1200px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    font-size: 15px;
}

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

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    [data-reveal].revealed {
        opacity: 1;
        transform: translateY(0);
    }
    [data-reveal].revealed:nth-child(2) { transition-delay: 0.1s; }
    [data-reveal].revealed:nth-child(3) { transition-delay: 0.2s; }
    [data-reveal].revealed:nth-child(4) { transition-delay: 0.25s; }
    [data-reveal].revealed:nth-child(5) { transition-delay: 0.3s; }
    [data-reveal].revealed:nth-child(6) { transition-delay: 0.35s; }
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
    background: rgba(10, 31, 68, 0.97);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.15);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    height: 100%;
    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: 18px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

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

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

.nav-links a:not(.nav-cta) {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-500);
    transition: width 0.3s ease;
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-500) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0.04em !important;
    text-transform: none !important;
    border: 1px solid rgba(201, 168, 76, 0.4);
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.2s ease, border-color 0.2s ease !important;
}

.nav-cta:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: var(--gold-500) !important;
    color: var(--gold-400) !important;
}

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

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: 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(5, 14, 30, 0.88) 0%,
        rgba(10, 31, 68, 0.82) 50%,
        rgba(15, 43, 92, 0.72) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: calc(var(--nav-height) + 40px) clamp(20px, 4vw, 48px) 120px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-400);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 300;
    line-height: 1.05;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 28px;
}

.hero-accent {
    color: var(--gold-500);
    font-style: italic;
    font-weight: 400;
}

.hero-sub {
    max-width: 480px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    font-weight: 300;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 4px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

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

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

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

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

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

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

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

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

.btn-lg {
    padding: 18px 36px;
    font-size: 14px;
}

/* --- Floating Stat Cards --- */
.hero-stats {
    position: absolute;
    bottom: 60px;
    right: clamp(20px, 4vw, 48px);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 200px;
    color: var(--white);
}

.stat-icon {
    color: var(--gold-500);
    flex-shrink: 0;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 3px;
}

/* --- Section Styles --- */
.section {
    padding: var(--section-padding) 0;
}

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

.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 400;
    color: var(--navy-900);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-500);
    font-weight: 300;
}

/* --- Rooms --- */
.rooms {
    background: var(--off-white);
}

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

.room-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 32px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06), 0 16px 48px rgba(0, 0, 0, 0.08);
}

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

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

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

.room-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gold-500);
    color: var(--navy-950);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 3px;
}

.room-info {
    padding: 28px;
}

.room-info h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--navy-900);
    margin-bottom: 10px;
}

.room-info > p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--gray-500);
    margin-bottom: 20px;
    font-weight: 300;
}

.room-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.room-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 400;
}

.room-features li svg {
    color: var(--gold-500);
    flex-shrink: 0;
}

.room-info .btn {
    width: 100%;
    justify-content: center;
}

/* --- Amenities --- */
.amenities {
    background: var(--white);
}

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

.amenity-card {
    padding: 36px 28px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.amenity-card:hover {
    border-color: var(--gold-500);
    box-shadow: 0 4px 24px rgba(201, 168, 76, 0.08);
}

.amenity-icon {
    color: var(--navy-900);
    margin-bottom: 20px;
}

.amenity-card h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--navy-900);
    margin-bottom: 10px;
}

.amenity-card p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--gray-500);
    font-weight: 300;
}

/* --- Location --- */
.location {
    background: var(--off-white);
}

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

.location-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.location-content .section-tag {
    text-align: left;
}

.location-content .section-title {
    text-align: left;
}

.location-content .section-desc {
    text-align: left;
    margin-bottom: 0;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 28px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

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

.location-detail-icon {
    color: var(--gold-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.location-detail strong {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--navy-900);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.location-detail p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-500);
    font-weight: 300;
}

.location-detail a {
    color: var(--navy-700);
    transition: color 0.2s ease;
}

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

.location-proximity {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.proximity-tag {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.proximity-item {
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 400;
    padding: 6px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
}

.location-map {
    border-radius: 12px;
    overflow: hidden;
    min-height: 420px;
}

/* --- CTA --- */
.cta {
    background: var(--navy-900);
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 64px 56px;
    background: var(--navy-800);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 16px;
}

.cta-content {
    flex: 1;
}

.cta-content .section-tag {
    text-align: left;
}

.cta-content .section-title {
    color: var(--white);
    text-align: left;
    margin-bottom: 16px;
}

.cta-content .section-desc {
    color: rgba(255, 255, 255, 0.6);
    text-align: left;
    margin-bottom: 0;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

/* --- Footer --- */
.footer {
    background: var(--navy-950);
    padding: 64px 0 0;
}

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

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

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

.footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 300;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    transition: color 0.2s ease;
}

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

.footer-contact p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 300;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--gold-500);
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .location-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .location-map {
        min-height: 320px;
    }
    
    .cta-card {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
    
    .cta-content .section-tag,
    .cta-content .section-title,
    .cta-content .section-desc {
        text-align: center;
    }
    
    .hero-stats {
        position: relative;
        bottom: auto;
        right: auto;
        padding: 0 clamp(20px, 4vw, 48px) 60px;
        flex-direction: row;
        flex-wrap: wrap;
        max-width: var(--container-max);
        margin: 0 auto;
    }
    
    .stat-card {
        flex: 1;
        min-width: 160px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(10, 31, 68, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px clamp(20px, 4vw, 48px);
        gap: 24px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.35s ease,
                    visibility 0.35s;
        border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    }
    
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links a:not(.nav-cta) {
        font-size: 15px;
    }
    
    .hero-headline {
        font-size: clamp(40px, 10vw, 64px);
    }
    
    .hero-content {
        padding-bottom: 40px;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .cta-card {
        padding: 40px 28px;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
    }
    
    .stat-card {
        min-width: auto;
        width: 100%;
    }
}
