* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --coffee-dark: #3E2723;
    --coffee-medium: #5D4037;
    --coffee-light: #8B6B61;
    --coffee-cream: #D7CCC8;
    --coffee-accent: #A1887F;
    --coffee-highlight: #FFAB91;
    --text-light: #FFF8F0;
    --text-dark: #2C1810;
    --shadow: 0 4px 20px rgba(62, 39, 35, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #F9F5F2;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--coffee-highlight), var(--coffee-accent));
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--coffee-light);
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--coffee-medium), var(--coffee-dark));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 15px rgba(93, 64, 55, 0.2);
    font-family: 'Poppins', sans-serif;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(93, 64, 55, 0.3);
    background: linear-gradient(135deg, var(--coffee-dark), #2C1810);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--coffee-medium);
    color: var(--coffee-medium);
}

.btn-secondary:hover {
    background: var(--coffee-medium);
    color: white;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(62, 39, 35, 0.1);
    padding: 15px 0;
    transition: var(--transition);
}

.main-header.scrolled {
    padding: 10px 0;
    background: rgba(255, 248, 240, 0.98);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 200px;
}

.logo svg {
    width: 100%;
    height: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-nav a {
    text-decoration: none;
    color: var(--coffee-dark);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: var(--transition);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coffee-highlight);
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--coffee-highlight);
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.order-now-btn {
    padding: 12px 30px;
    font-size: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--coffee-dark);
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: rgba(139, 107, 97, 0.1);
}

.hero {
    padding-top: 180px;
    padding-bottom: 120px;
    background: linear-gradient(135deg, rgba(255, 248, 240, 0.9) 0%, rgba(255, 243, 234, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 171, 145, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(139, 107, 97, 0.1) 0%, transparent 40%);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    color: var(--coffee-dark);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
}

.best-sellers-slideshow {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 500px;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.slide.active {
    opacity: 1;
}

.slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    width: 100%;
    padding-bottom: 30px;
}

.slide h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 800;
    margin-top: 10px;
}

.slide p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 5rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.slide-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--coffee-highlight);
    margin-bottom: 5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.slide-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.slide-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.slideshow-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slide-dot.active {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.slideshow-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    transform: translateY(-50%);
}

.slideshow-controls button {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.slideshow-controls button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.features {
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 1.5rem;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(139, 107, 97, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 171, 145, 0.1), rgba(139, 107, 97, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.2rem;
    color: var(--coffee-medium);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--coffee-dark);
}

.menu-preview {
    background: linear-gradient(135deg, rgba(255, 248, 240, 0.9) 0%, rgba(255, 243, 234, 0.9) 100%);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.menu-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.menu-item-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.menu-item-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--coffee-highlight);
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
}

.menu-item-content {
    padding: 25px;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.menu-item-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--coffee-dark);
}

.menu-item-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--coffee-medium);
}

.menu-item-category {
    color: var(--coffee-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: inline-block;
    padding: 5px 15px;
    background: rgba(139, 107, 97, 0.1);
    border-radius: 30px;
}

.menu-item-btn {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    font-size: 1rem;
}

.cta {
    background: linear-gradient(135deg, var(--coffee-medium), var(--coffee-dark));
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 171, 145, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta h2::after {
    left: 50%;
    transform: translateX(-50%);
    background: var(--coffee-highlight);
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.cta-btn {
    background: white;
    color: var(--coffee-dark);
    font-size: 1.2rem;
    padding: 18px 45px;
}

.cta-btn:hover {
    background: var(--coffee-highlight);
    color: white;
}

.footer {
    background: var(--coffee-dark);
    color: var(--text-light);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo .logo {
    width: 180px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: var(--coffee-cream);
    max-width: 300px;
}

.footer-links h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--coffee-cream);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--coffee-highlight);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--coffee-cream);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--coffee-highlight);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--coffee-highlight);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--coffee-cream);
    font-size: 0.9rem;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background: white;
    z-index: 2000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(139, 107, 97, 0.1);
    margin-bottom: 20px;
}

.mobile-menu-logo {
    width: 150px;
}

.mobile-menu-logo svg {
    width: 100%;
    height: auto;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--coffee-dark);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.mobile-menu-close:hover {
    background: rgba(139, 107, 97, 0.1);
}

.mobile-nav ul {
    list-style: none;
    margin-bottom: 30px;
}

.mobile-nav li {
    margin-bottom: 10px;
}

.mobile-nav a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--coffee-dark);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: rgba(139, 107, 97, 0.1);
    color: var(--coffee-medium);
    border-left-color: var(--coffee-highlight);
    padding-left: 25px;
}

.mobile-menu-order-btn {
    margin-top: auto;
    margin-bottom: 20px;
}

.mobile-menu-order-btn .btn {
    width: 100%;
    text-align: center;
    padding: 16px;
    font-size: 1.1rem;
}

.mobile-menu-contact {
    padding-top: 20px;
    border-top: 1px solid rgba(139, 107, 97, 0.1);
    color: var(--coffee-light);
    font-size: 0.9rem;
}

.mobile-menu-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.mobile-menu-contact i {
    color: var(--coffee-medium);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-container {
        gap: 40px;
    }
    .menu-item-image {
        height: 250px;
    }   
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .best-sellers-slideshow {
        order: 1;
        height: 450px;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-actions .order-now-btn {
        display: none;
    }
    
    .slide-content {
        padding-bottom: 25px;
    }
    
    .slide h3 {
        font-size: 2rem;
    }
    .menu-item-image {
        height: 250px;
    }       
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding-top: 140px;
        padding-bottom: 80px;
    }
    
    .slideshow-controls button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .slide h3 {
        font-size: 1.8rem;
    }
    
    .slide p {
        font-size: 1.1rem;
    }
    
    .slide-content {
        padding-bottom: 20px;
    }
    
    .mobile-menu {
        max-width: 300px;
        padding: 15px;
    }
    .menu-item-image {
        height: 250px;
    }   
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    
    .best-sellers-slideshow {
        height: 400px;
    }
    
    .slide {
        padding: 20px;
    }
    
    .slide-content {
        padding-bottom: 15px;
    }
    
    .slide h3 {
        font-size: 1.6rem;
    }
    
    .slide-price {
        font-size: 1.8rem;
    }
    
    .features-grid, .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo p {
        margin: 0 auto 30px;
    }
    
    .social-links {
        justify-content: center;
    }
        .menu-item-image {
        height: 250px;
    }

}