/* =========================================
   Summer Blends - Café & Bar Website
   Style: Classic & Elegant
   Palette: Deep Navy + Warm Gold
========================================= */

:root {
    --color-navy: #0a1f3f;
    --color-navy-light: #1a365d;
    --color-gold: #C5A059;
    --color-gold-light: #d4b06a;
    --color-cream: #f8f6f3;
    --color-white: #ffffff;
    --color-text: #2d3748;
    --color-text-light: #718096;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Lato', 'Helvetica Neue', sans-serif;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =========================================
   Typography
========================================= */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-navy);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

/* =========================================
   Buttons
========================================= */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-gold:hover {
    background-color: var(--color-gold-light);
    border-color: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
}

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

.btn-outline-light:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
    transform: translateY(-2px);
}

/* =========================================
   Navigation
========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
    padding: 1.5rem 0;
}

.navbar.scrolled {
    background-color: var(--color-navy);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-white);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-white);
    letter-spacing: 0.05em;
    position: relative;
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-white);
    padding: 0.5rem;
}

/* =========================================
   Hero Section
========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 31, 63, 0.7) 0%,
        rgba(10, 31, 63, 0.5) 50%,
        rgba(10, 31, 63, 0.8) 100%
    );
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 1.5rem;
    color: var(--color-white);
}

.hero-content h1 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.hero-sub {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-white);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* =========================================
   Sections
========================================= */
.section {
    padding: 6rem 0;
}

/* =========================================
   About Section
========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 2px;
}

.image-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-gold);
    border-radius: 2px;
    z-index: -1;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature svg {
    flex-shrink: 0;
}

.feature span {
    font-size: 1rem;
    color: var(--color-text);
    font-weight: 400;
}

/* =========================================
   Menu Section
========================================= */
.menu {
    background-color: var(--color-white);
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.menu-column {
    background-color: var(--color-cream);
    padding: 3rem;
    border-radius: 2px;
}

.menu-icon {
    margin-bottom: 1.5rem;
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.menu-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.menu-list li:last-child {
    border-bottom: none;
}

.item-name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--color-navy);
    font-weight: 600;
}

.item-desc {
    font-size: 0.875rem;
    color: var(--color-text-light);
    text-align: right;
    max-width: 200px;
}

.menu-cta {
    text-align: center;
    padding-top: 2rem;
}

.menu-cta p {
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}

/* =========================================
   Gallery Section
========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(10, 31, 63, 0.8), transparent);
    color: var(--color-white);
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    font-family: var(--font-serif);
    font-size: 1.25rem;
}

/* =========================================
   Quote Section
========================================= */
.quote-section {
    background-color: var(--color-navy);
    padding: 5rem 0;
    text-align: center;
    color: var(--color-white);
}

.quote-icon {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.quote-section blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.4;
    color: var(--color-white);
}

.quote-section cite {
    font-style: normal;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
}

/* =========================================
   Contact Section
========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-text {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.info-item strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
}

.info-item p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin: 0;
}

.info-item a {
    color: var(--color-text-light);
}

.info-item a:hover {
    color: var(--color-gold);
}

.contact-map {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

.contact-map img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(10, 31, 63, 0.9), transparent);
    display: flex;
    justify-content: center;
}

/* =========================================
   Footer
========================================= */
.footer {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

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

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--color-gold);
    border-color: var(--color-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin: 0.25rem 0;
}

/* =========================================
   Animations
========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Mobile Menu
========================================= */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--color-navy);
    z-index: 1001;
    padding: 5rem 2rem;
    transition: right 0.3s ease;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu a {
    display: block;
    color: var(--color-white);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu a:hover {
    color: var(--color-gold);
}

.mobile-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-white);
    font-size: 1.5rem;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* =========================================
   Responsive
========================================= */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .about-grid,
    .menu-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        height: 400px;
    }
    
    .image-accent {
        top: -10px;
        left: -10px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .menu-column {
        padding: 2rem;
    }
    
    .menu-list li {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .item-desc {
        text-align: left;
        max-width: none;
    }
}

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