/* ============================================
   STARBUCKS — U OF HOUSTON CAMPUS
   Bold Editorial Style | Midnight Blue + Mint
   ============================================ */

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

:root {
    --midnight: #003A5C;
    --midnight-deep: #002240;
    --midnight-light: #004E7A;
    --mint: #A8E6CF;
    --mint-light: #C8F0DF;
    --mint-dark: #7BCFB0;
    --cream: #F7F5F0;
    --cream-dark: #EDEBE5;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-mid: #3A3A3A;
    --text-light: #6B6B6B;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --nav-height: 72px;
    --container-max: 1200px;
    --section-pad: clamp(64px, 10vw, 120px);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--midnight);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-label::before {
    content: '';
    width: 32px;
    height: 1.5px;
    background: var(--mint-dark);
    display: inline-block;
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    color: var(--midnight);
    margin-bottom: 24px;
}

.section-title em {
    font-style: italic;
    color: var(--midnight-light);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: 100px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--midnight-deep);
    border-color: var(--midnight-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 58, 92, 0.3);
}

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

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

.btn-outline-light {
    background: transparent;
    color: var(--midnight);
    border-color: var(--midnight);
}

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

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(0, 58, 92, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(168, 230, 207, 0.15);
    transition: background 0.3s ease;
}

.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;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
}

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

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    transition: color 0.25s ease;
    position: relative;
}

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

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

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

.nav-cta {
    background: var(--mint) !important;
    color: var(--midnight) !important;
    padding: 8px 20px;
    border-radius: 100px;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    transition: all 0.3s ease !important;
}

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

.nav-cta:hover {
    background: var(--mint-light) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    padding: 4px;
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--midnight-deep);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    padding: 8px;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    transition: color 0.25s ease;
}

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

.mobile-cta {
    font-family: var(--font-sans) !important;
    font-size: 1rem !important;
    color: var(--mint) !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        url('https://images.pexels.com/photos/6097887/pexels-photo-6097887.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') 
        center center / cover no-repeat;
    z-index: 0;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 34, 64, 0.82) 0%,
        rgba(0, 58, 92, 0.75) 50%,
        rgba(0, 34, 64, 0.88) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding: 0 24px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

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

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 40px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

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

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

/* --- About --- */
.about {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.about-image-wrap {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: 0 24px 64px rgba(0, 58, 92, 0.15);
}

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

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-mid);
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 58, 92, 0.12);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--midnight);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* --- Menu --- */
.menu {
    background: var(--midnight);
}

.menu .section-label {
    color: var(--mint);
}

.menu .section-label::before {
    background: var(--mint-dark);
}

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

.menu .section-title em {
    color: var(--mint);
}

.menu-header {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 72px);
}

.menu-header .section-label {
    justify-content: center;
}

.menu-header .section-title {
    margin-bottom: 0;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.menu-card {
    background: rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(168, 230, 207, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.menu-card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

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

.menu-card-body {
    padding: 28px;
}

.menu-card-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.menu-card-body p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
}

.menu-cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.menu-cta p {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
}

.menu-cta .btn-primary {
    background: var(--mint);
    color: var(--midnight);
    border-color: var(--mint);
}

.menu-cta .btn-primary:hover {
    background: var(--mint-light);
    border-color: var(--mint-light);
    box-shadow: 0 8px 24px rgba(168, 230, 207, 0.3);
}

/* --- Location --- */
.location {
    background: var(--cream-dark);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: stretch;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 8px;
}

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

.location-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--midnight);
}

.location-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--midnight);
    margin-bottom: 4px;
}

.location-item p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-mid);
}

.location-item a {
    color: var(--midnight);
    font-weight: 500;
    transition: color 0.25s ease;
}

.location-item a:hover {
    color: var(--midnight-light);
    text-decoration: underline;
}

.location-map {
    border-radius: 16px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 16px 48px rgba(0, 58, 92, 0.12);
}

/* --- CTA Banner --- */
.cta-banner {
    background: var(--midnight-deep);
    padding: clamp(72px, 10vw, 120px) 0;
}

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

.cta-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 20px;
}

.cta-headline {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-text {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
}

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

.cta-actions .btn-outline-light {
    border-color: rgba(0, 58, 92, 0.6);
    color: var(--white);
}

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

/* --- Footer --- */
.footer {
    background: #001A30;
    padding: clamp(48px, 6vw, 72px) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: clamp(32px, 4vw, 64px);
    padding-bottom: clamp(40px, 5vw, 56px);
    border-bottom: 1px solid rgba(168, 230, 207, 0.12);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
}

.footer-brand a {
    color: var(--mint);
    transition: color 0.25s ease;
}

.footer-brand a:hover {
    color: var(--mint-light);
}

.footer-links strong,
.footer-hours strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links ul,
.footer-hours ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    transition: color 0.25s ease;
}

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

.footer-hours li {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

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

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

    .about-image-wrap {
        aspect-ratio: 16/9;
        max-height: 400px;
    }

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

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

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

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

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

@media (max-width: 600px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .about-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

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