/* ============================================
   ROSTE CAFE — Premium Coffee Brand Styles
   Where Coffee Meets Comfort
   ============================================ */

/* CSS Variables — Coffee-Inspired Palette */
:root {
    /* Primary Colors */
    --color-espresso: #2C1810;
    --color-coffee: #4A3428;
    --color-mocha: #6B4423;
    --color-caramel: #8B5A2B;
    --color-latte: #C4A77D;
    --color-cream: #F5F0E8;
    --color-vanilla: #FAF7F2;
    --color-white: #FFFFFF;
    
    /* Accent Colors */
    --color-gold: #D4A574;
    --color-rose: #C9A87C;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
    
    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(44, 24, 16, 0.08);
    --shadow-medium: 0 8px 40px rgba(44, 24, 16, 0.12);
    --shadow-strong: 0 12px 60px rgba(44, 24, 16, 0.15);
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-espresso);
    background-color: var(--color-vanilla);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(196, 167, 125, 0.2);
    transition: var(--transition-medium);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-espresso);
}

.logo-icon {
    font-size: 1.75rem;
}

.logo-text {
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-coffee);
    position: relative;
    padding: var(--space-xs) 0;
}

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

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

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--color-caramel);
    color: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background: var(--color-mocha);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--color-espresso);
    border: 2px solid var(--color-latte);
}

.btn-secondary:hover {
    background: var(--color-latte);
    color: var(--color-espresso);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-caramel);
    border: 2px solid var(--color-caramel);
}

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-2xl);
    padding: calc(80px + var(--space-xl)) var(--space-xl) var(--space-xl);
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(196, 167, 125, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-tagline {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-caramel);
    margin-bottom: var(--space-md);
    letter-spacing: 0.1em;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--color-espresso);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-coffee);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(196, 167, 125, 0.1) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hero-image-wrapper:hover img {
    transform: scale(1.05);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 1rem;
    font-style: italic;
    color: var(--color-caramel);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.1em;
}

.section-tag.light {
    color: var(--color-latte);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: var(--color-espresso);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.section-title.light {
    color: var(--color-cream);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-coffee);
    line-height: 1.6;
}

.section-subtitle.light {
    color: var(--color-latte);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: var(--space-3xl) 0;
    background: var(--color-cream);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-latte), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    text-align: center;
    padding: var(--space-xl);
    background: var(--color-vanilla);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-espresso);
    margin-bottom: var(--space-sm);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--color-coffee);
    line-height: 1.7;
}

/* ============================================
   MENU PREVIEW SECTION
   ============================================ */
.menu-preview {
    padding: var(--space-3xl) 0;
    background: var(--color-vanilla);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.menu-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--color-cream);
    border-radius: 16px;
    transition: var(--transition-medium);
}

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

.menu-item-image {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
}

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

.menu-item:hover .menu-item-image img {
    transform: scale(1.1);
}

.menu-item-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--space-xs);
    gap: var(--space-sm);
}

.menu-item-header h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-espresso);
}

.menu-item-price {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-caramel);
    flex-shrink: 0;
}

.menu-item-content p {
    font-size: 0.9rem;
    color: var(--color-coffee);
    line-height: 1.6;
}

.menu-cta {
    text-align: center;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--space-3xl) 0;
    background: var(--color-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-images {
    position: relative;
}

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

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

.about-image-accent {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 8px solid var(--color-cream);
}

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

.about-content {
    max-width: 520px;
}

.about-content .section-tag {
    margin-bottom: var(--space-md);
}

.about-content .section-title {
    margin-bottom: var(--space-lg);
}

.about-text {
    font-size: 1.05rem;
    color: var(--color-coffee);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.about-signature {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-latte);
}

.signature-name {
    font-family: var(--font-accent);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-espresso);
    margin-bottom: var(--space-xs);
}

.signature-title {
    font-size: 0.9rem;
    color: var(--color-caramel);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   ATMOSPHERE SECTION
   ============================================ */
.atmosphere {
    padding: var(--space-3xl) 0;
    background: var(--color-espresso);
    position: relative;
    overflow: hidden;
}

.atmosphere::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.atmosphere-content {
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.atmosphere-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    position: relative;
    z-index: 1;
}

.atmosphere-image {
    border-radius: 16px;
    overflow: hidden;
    height: 320px;
}

.atmosphere-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.atmosphere-image:hover img {
    transform: scale(1.1);
}

/* ============================================
   LOCATIONS SECTION
   ============================================ */
.locations {
    padding: var(--space-3xl) 0;
    background: var(--color-vanilla);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.location-card {
    background: var(--color-cream);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.location-image {
    height: 200px;
    overflow: hidden;
}

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

.location-card:hover .location-image img {
    transform: scale(1.1);
}

.location-content {
    padding: var(--space-lg);
}

.location-content h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-espresso);
    margin-bottom: var(--space-sm);
}

.location-address {
    font-size: 0.95rem;
    color: var(--color-coffee);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.location-hours {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
    padding: var(--space-sm) 0;
    border-top: 1px solid var(--color-latte);
    border-bottom: 1px solid var(--color-latte);
}

.location-hours span {
    font-size: 0.85rem;
    color: var(--color-coffee);
}

.location-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-caramel);
    transition: var(--transition-fast);
}

.location-link:hover {
    color: var(--color-mocha);
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter {
    padding: var(--space-3xl) 0;
    background: var(--color-cream);
    position: relative;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-latte), transparent);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--color-latte);
    border-radius: 50px;
    background: var(--color-vanilla);
    color: var(--color-espresso);
    outline: none;
    transition: var(--transition-fast);
}

.newsletter-form input:focus {
    border-color: var(--color-caramel);
    box-shadow: 0 0 0 4px rgba(139, 90, 43, 0.1);
}

.newsletter-form input::placeholder {
    color: var(--color-latte);
}

.newsletter-form button {
    flex-shrink: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: var(--space-2xl) 0 var(--space-lg);
    background: var(--color-espresso);
    color: var(--color-cream);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand .logo {
    color: var(--color-cream);
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-latte);
    margin-bottom: var(--space-md);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    font-size: 1.5rem;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-links h5 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-cream);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: 0.95rem;
    color: var(--color-latte);
    transition: var(--transition-fast);
}

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

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(196, 167, 125, 0.2);
    text-align: center;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xl);
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image img {
        height: 400px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .about-images {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .about-content {
        max-width: 100%;
        text-align: center;
    }
    
    .about-signature {
        text-align: center;
    }
    
    .features-grid,
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .atmosphere-gallery {
        grid-template-columns: 1fr;
    }
    
    .atmosphere-image {
        height: 280px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: calc(80px + var(--space-lg)) var(--space-md) var(--space-lg);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid,
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-item {
        flex-direction: column;
    }
    
    .menu-item-image {
        width: 100%;
        height: 200px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .about-image-accent {
        width: 150px;
        height: 150px;
        bottom: -30px;
        right: -20px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Smooth scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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