/* ============================================
   O'NEILL HALL — Hotels & Lodging
   Teal + Slate Grey | Confident Corporate
   ============================================ */

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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #080e1a;

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.16), 0 8px 20px rgba(15, 23, 42, 0.08);
}

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

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background: var(--slate-50);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow 0.3s ease;
}

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

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

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

.nav-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--teal-600);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-600);
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
    color: var(--teal-700);
    background: var(--teal-50);
}

.nav-cta {
    display: flex !important;
    align-items: center;
    gap: 6px;
    background: var(--teal-600) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    border-radius: var(--radius-sm) !important;
    transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
    background: var(--teal-700) !important;
    color: white !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--slate-700);
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.nav-toggle:hover {
    background: var(--slate-100);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding-top: 72px;
    background: var(--slate-50);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--teal-50);
    color: var(--teal-700);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid var(--teal-100);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--slate-900);
    margin-bottom: 20px;
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--slate-500);
    margin-bottom: 36px;
    max-width: 480px;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.hero-stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    letter-spacing: -0.02em;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--slate-200);
}

.hero-image {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: end;
}

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

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

.hero-img-accent {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--slate-50);
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--slate-700);
    border-color: var(--slate-300);
}

.btn-outline:hover {
    border-color: var(--teal-600);
    color: var(--teal-700);
    background: var(--teal-50);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 100px 0;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--teal-600);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--slate-900);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--slate-500);
}

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

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

.room-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.room-card-img {
    height: 220px;
    overflow: hidden;
}

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

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

.room-card-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.room-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.room-card-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--slate-900);
    letter-spacing: -0.01em;
}

.room-capacity {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--slate-400);
    background: var(--slate-100);
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

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

.room-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--slate-600);
    line-height: 1.5;
}

.room-features svg {
    color: var(--teal-600);
    flex-shrink: 0;
    margin-top: 2px;
}

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

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

.amenity-card {
    background: white;
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.amenity-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.amenity-icon {
    width: 56px;
    height: 56px;
    background: var(--teal-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-700);
    margin-bottom: 20px;
    transition: background 0.2s;
}

.amenity-card:hover .amenity-icon {
    background: var(--teal-600);
    color: white;
}

.amenity-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.amenity-card p {
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.65;
}

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

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

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

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

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

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

.location-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.location-detail-icon {
    width: 44px;
    height: 44px;
    background: var(--teal-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    flex-shrink: 0;
}

.location-detail strong {
    display: block;
    font-size: 1rem;
    color: var(--slate-900);
    margin-bottom: 2px;
}

.location-detail span {
    font-size: 0.9rem;
    color: var(--slate-500);
}

.location-landmarks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.landmark-tag {
    background: white;
    border: 1px solid var(--slate-200);
    color: var(--slate-600);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
}

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

/* ============================================
   CTA
   ============================================ */
.cta {
    background: var(--slate-900);
    padding: 100px 0;
}

.cta-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--slate-800);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--slate-700);
}

.cta-content {
    padding: 56px 56px 56px 0;
}

.cta-content .section-tag {
    color: var(--teal-400);
}

.cta-content .section-title {
    color: white;
}

.cta-content .section-desc {
    color: var(--slate-400);
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 36px;
}

.cta-phone svg {
    color: var(--teal-400);
    flex-shrink: 0;
}

.cta-phone a {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
    transition: color 0.2s;
}

.cta-phone a:hover {
    color: var(--teal-400);
}

.cta-image {
    height: 100%;
    min-height: 360px;
    overflow: hidden;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--slate-950);
    padding: 64px 0 32px;
    color: var(--slate-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--slate-800);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--teal-700);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--slate-500);
    max-width: 300px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--slate-300);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--slate-500);
}

.footer-col ul a {
    color: var(--slate-500);
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: var(--teal-400);
}

.footer-col ul svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--slate-600);
}

.footer-bottom {
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--slate-600);
}

/* ============================================
   SCROLL REVEAL (below fold only)
   ============================================ */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 14, 26, 0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-image {
        max-width: 500px;
    }

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

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

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

    .location-map {
        min-height: 300px;
    }

    .cta-card {
        grid-template-columns: 1fr;
    }

    .cta-content {
        padding: 48px 40px;
    }

    .cta-image {
        min-height: 260px;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid var(--slate-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 999;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links a {
        width: 100%;
        padding: 14px 16px;
    }

    .nav-cta {
        justify-content: center;
        margin-top: 8px;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        min-height: auto;
        padding-top: 72px;
    }

    .hero-inner {
        padding: 40px 24px;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-image {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .hero-img-accent {
        display: none;
    }

    .section {
        padding: 72px 0;
    }

    .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-content {
        padding: 36px 24px;
    }

    .cta-phone a {
        font-size: 1.25rem;
    }

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

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

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

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

    .hero-stat-divider {
        display: none;
    }
}
