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

:root {
    --primary-coffee: #6B4423;
    --secondary-coffee: #8B5A3C;
    --dark-roast: #3E2723;
    --light-cream: #F5F1ED;
    --warm-white: #FDFAF7;
    --accent-gold: #D4AF37;
    --molecule-blue: #4A90E2;
    --molecule-teal: #5DADE2;
    --text-dark: #2C2C2C;
    --text-light: #6B6B6B;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: var(--warm-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Molecular Background */
.molecular-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 20% 30%, var(--molecule-blue) 2px, transparent 2px),
        radial-gradient(circle at 60% 70%, var(--molecule-teal) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, var(--primary-coffee) 2px, transparent 2px);
    background-size: 150px 150px;
    background-position: 0 0, 75px 75px, 30px 30px;
}

.molecular-bg::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--molecule-blue) 0%, transparent 70%);
    opacity: 0.05;
    animation: float 20s ease-in-out infinite;
}

.molecular-bg::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--molecule-teal) 0%, transparent 70%);
    opacity: 0.05;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

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

.logo img {
    height: 80px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.nav-cta {
    background: var(--primary-coffee);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

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

.nav-cta:hover {
    background: var(--dark-roast);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 68, 35, 0.3);
}

/* Hero Section */
.hero {
    padding: 6rem 0 4rem;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--dark-roast);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-text .highlight {
    color: var(--primary-coffee);
    position: relative;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-coffee);
    color: white;
    box-shadow: 0 4px 15px rgba(107, 68, 35, 0.2);
}

.btn-primary:hover {
    background: var(--dark-roast);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 68, 35, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary-coffee);
    color: white;
    transform: translateY(-2px);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-large {
    padding: 1.1rem 2.2rem;
    font-size: 1.05rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Floating Molecules */
.molecule-float {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--molecule-blue);
    opacity: 0.3;
}

.molecule-float::before,
.molecule-float::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--molecule-teal);
}

.molecule-float::before {
    top: -20px;
    right: -20px;
}

.molecule-float::after {
    bottom: -20px;
    left: -20px;
}

.molecule-1 {
    top: -30px;
    right: 50px;
    animation: moleculeFloat 15s ease-in-out infinite;
}

.molecule-2 {
    bottom: 30px;
    left: -40px;
    animation: moleculeFloat 18s ease-in-out infinite 3s;
}

.molecule-3 {
    top: 50%;
    right: -50px;
    animation: moleculeFloat 20s ease-in-out infinite 6s;
}

@keyframes moleculeFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(90deg); }
    50% { transform: translate(-10px, 30px) rotate(180deg); }
    75% { transform: translate(30px, 10px) rotate(270deg); }
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--light-cream) 0%, var(--warm-white) 100%);
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.bond-line {
    position: absolute;
    width: 100px;
    height: 3px;
    background: var(--molecule-blue);
    opacity: 0.4;
}

.bond-1 {
    top: 30%;
    left: -50px;
    transform: rotate(-45deg);
}

.bond-2 {
    bottom: 25%;
    right: -50px;
    transform: rotate(45deg);
}

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-roast);
}

.about-content .highlight {
    color: var(--primary-coffee);
}

.lead {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

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

.feature-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-coffee);
    flex-shrink: 0;
}

.feature-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
    color: var(--dark-roast);
}

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

/* Specialties Section */
.specialties {
    padding: 6rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-roast);
}

.section-header .highlight {
    color: var(--primary-coffee);
}

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

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.specialty-card {
    background: var(--light-cream);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.specialty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-coffee);
}

.specialty-card.featured {
    background: linear-gradient(135deg, var(--primary-coffee), var(--secondary-coffee));
    color: white;
}

.specialty-card.featured h3,
.specialty-card.featured p {
    color: white;
}

.specialty-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    padding: 15px;
    background: white;
    border-radius: 50%;
    color: var(--primary-coffee);
}

.specialty-card.featured .specialty-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.specialty-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--dark-roast);
}

.specialty-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.price {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-coffee);
}

.specialty-card.featured .price {
    color: var(--accent-gold);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-gold);
    color: var(--dark-roast);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Menu Section */
.menu {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--light-cream) 0%, var(--warm-white) 100%);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.menu-category {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.menu-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.menu-category h3 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--dark-roast);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-cream);
}

.category-icon {
    width: 28px;
    height: 28px;
    color: var(--primary-coffee);
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.item-name {
    font-weight: 500;
    color: var(--text-dark);
}

.item-dots {
    border-bottom: 2px dotted var(--text-light);
    opacity: 0.3;
    margin: 0 0.5rem;
}

.item-price {
    font-weight: 600;
    color: var(--primary-coffee);
    white-space: nowrap;
}

.highlight-item {
    background: var(--light-cream);
    padding: 0.8rem;
    border-radius: 10px;
    margin: 0.3rem -0.5rem;
}

.highlight-item .item-name {
    font-weight: 600;
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 350px;
}

.gallery-item.large {
    grid-column: span 2;
    height: 450px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--light-cream);
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

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

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

.gallery-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Location Section */
.location {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--light-cream) 0%, var(--warm-white) 100%);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.location-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 3rem;
    color: var(--dark-roast);
}

.location-info .highlight {
    color: var(--primary-coffee);
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-coffee);
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-roast);
}

.info-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.8rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: white;
    color: var(--primary-coffee);
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 2px solid var(--primary-coffee);
    transition: all 0.3s ease;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link:hover {
    background: var(--primary-coffee);
    color: white;
    transform: translateY(-2px);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 100px;
    margin-bottom: 1rem;
    filter: brightness(1) invert(0);
    background: white;
    padding: 0.5rem;
    border-radius: 10px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.footer-column p,
.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

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

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

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content,
    .about-grid,
    .location-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

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

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

    .gallery-item.large {
        grid-column: span 1;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .about-content h2 {
        font-size: 2.2rem;
    }

    .nav-links {
        display: none;
    }

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

    .container {
        padding: 0 1.5rem;
    }

    .social-links {
        flex-direction: column;
    }

    .social-link {
        width: 100%;
        justify-content: center;
    }
}
