/* ============================================
   AMPED COFFEE HOUSE — Custom Styles
   Deep Navy (#0a1628) + Warm Gold (#B8860B)
   ============================================ */

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

:root {
    --navy-900: #0a1628;
    --navy-800: #0f2136;
    --navy-700: #162d47;
    --navy-600: #1e3a5c;
    --gold-500: #B8860B;
    --gold-400: #d4a017;
    --gold-300: #e8c054;
    --gold-200: #f5deb3;
    --cream-50: #faf8f5;
    --cream-100: #f5f0e8;
    --cream-200: #ebe3d5;
    --warm-gray-50: #f9f7f4;
    --warm-gray-100: #f0ebe3;
    --warm-gray-200: #e0d8cc;
    --warm-gray-600: #6b6560;
    --warm-gray-700: #4a4540;
    --warm-gray-800: #2d2926;
    
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.06), 0 1px 2px rgba(10, 22, 40, 0.04);
    --shadow-md: 0 4px 16px rgba(10, 22, 40, 0.08), 0 2px 6px rgba(10, 22, 40, 0.04);
    --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.12), 0 4px 12px rgba(10, 22, 40, 0.06);
    --shadow-gold: 0 4px 20px rgba(184, 134, 11, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

body {
    font-family: var(--font-body);
    color: var(--warm-gray-800);
    background: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* --- Section Shared --- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 16px;
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--gold-500);
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--navy-900);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--warm-gray-600);
    max-width: 560px;
    line-height: 1.7;
}

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

.section-header .section-subtitle {
    margin: 0 auto;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(184, 134, 11, 0.15);
    transition: background 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: #fff;
    font-weight: 400;
}

.nav-logo-icon {
    flex-shrink: 0;
}

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

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy-900);
    background: var(--gold-400);
    border-radius: var(--radius-xl);
    margin-left: 8px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    background: var(--gold-300);
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

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

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(10, 22, 40, 0.88) 0%,
        rgba(10, 22, 40, 0.72) 40%,
        rgba(10, 22, 40, 0.55) 100%
    );
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(184, 134, 11, 0.15);
    border: 1px solid rgba(184, 134, 11, 0.35);
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-300);
    margin-bottom: 32px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
}

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

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

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

.hero-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--gold-400);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    transition: all 0.25s ease;
}

.btn-primary {
    color: var(--navy-900);
    background: var(--gold-400);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: var(--gold-300);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(184, 134, 11, 0.35);
}

.btn-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* --- Menu Section --- */
.menu-section {
    padding: 100px 0;
    background: var(--cream-50);
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.menu-tab {
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--warm-gray-600);
    background: var(--cream-100);
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    transition: all 0.2s;
}

.menu-tab:hover {
    color: var(--navy-900);
    background: var(--cream-200);
}

.menu-tab.active {
    color: var(--navy-900);
    background: var(--navy-900);
    border-color: var(--navy-900);
}

.menu-tab-content {
    display: none;
}

.menu-tab-content.active {
    display: block;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

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

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

.menu-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.menu-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy-900);
    background: var(--gold-400);
    border-radius: var(--radius-xl);
}

.menu-card-content {
    padding: 24px;
}

.menu-card-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.menu-card-content p {
    font-size: 0.92rem;
    color: var(--warm-gray-600);
    line-height: 1.65;
    margin-bottom: 16px;
}

.menu-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.menu-card-tags span {
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--warm-gray-600);
    background: var(--cream-100);
    border-radius: var(--radius-xl);
}

/* --- About Section --- */
.about-section {
    padding: 100px 0;
    background: var(--navy-900);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

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

.about-images {
    position: relative;
}

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

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

.about-image-stack {
    position: absolute;
    bottom: -32px;
    right: -24px;
    display: flex;
    gap: 16px;
}

.about-image-stack img {
    width: 180px;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--navy-900);
}

.about-content {
    position: relative;
    z-index: 1;
}

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

.about-divider {
    width: 60px;
    height: 3px;
    background: var(--gold-500);
    border-radius: 3px;
    margin-bottom: 28px;
}

.about-text {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

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

.about-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 134, 11, 0.12);
    border: 1px solid rgba(184, 134, 11, 0.25);
    border-radius: var(--radius-md);
}

.about-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

/* --- Gallery Section --- */
.gallery-section {
    padding: 100px 0;
    background: var(--cream-50);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item--wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.gallery-item--wide img {
    height: 300px;
}

.gallery-item:not(.gallery-item--wide) img {
    height: 280px;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay span {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: #fff;
}

/* --- Testimonials --- */
.testimonials-section {
    padding: 100px 0;
    background: var(--cream-100);
}

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

.testimonial-card {
    background: #fff;
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--warm-gray-700);
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-900);
    background: var(--gold-200);
    border-radius: 50%;
    flex-shrink: 0;
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy-900);
}

.author-detail {
    font-size: 0.82rem;
    color: var(--warm-gray-600);
}

/* --- Visit Section --- */
.visit-section {
    padding: 100px 0;
    background: var(--cream-50);
}

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

.visit-info .section-title {
    margin-bottom: 16px;
}

.visit-description {
    font-size: 1.02rem;
    color: var(--warm-gray-600);
    line-height: 1.75;
    margin-bottom: 36px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 36px;
}

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

.visit-detail-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 134, 11, 0.1);
    border-radius: var(--radius-md);
}

.visit-detail h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.visit-detail p {
    font-size: 0.9rem;
    color: var(--warm-gray-600);
    line-height: 1.65;
}

.visit-detail a {
    color: var(--gold-500);
    font-weight: 600;
    transition: color 0.2s;
}

.visit-detail a:hover {
    color: var(--gold-400);
}

.visit-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

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

/* --- Footer --- */
.footer {
    background: var(--navy-900);
    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;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 280px;
}

.footer-nav h4,
.footer-contact h4 {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 20px;
}

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

.footer-nav a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s;
}

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

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 0.7;
}

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

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

.footer-bottom p:last-child {
    color: rgba(184, 134, 11, 0.5);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid {
        gap: 48px;
    }
    
    .about-image-main img {
        height: 380px;
    }
    
    .about-image-stack img {
        width: 150px;
        height: 120px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy-900);
        flex-direction: column;
        align-items: flex-start;
        padding: 96px 32px 32px;
        gap: 4px;
        transition: right 0.35s ease;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 12px 16px;
        font-size: 1rem;
        width: 100%;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        text-align: center;
        width: 100%;
        display: block;
    }
    
    .hero-content {
        padding: 100px 20px 60px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .about-image-stack {
        right: 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-item--wide {
        grid-column: span 2;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .visit-map {
        min-height: 300px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-stat-divider {
        width: 36px;
        height: 1px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item--wide {
        grid-column: span 1;
    }
    
    .about-image-stack {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 16px;
        justify-content: center;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .scroll-indicator {
        animation: none;
        opacity: 0.7;
    }
}
