/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    background: #8B2635;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.coffee-icon {
    color: #F4C430;
    font-size: 2rem;
}

.brand-text h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.brand-text p {
    color: #F4C430;
    font-size: 0.875rem;
    font-weight: 400;
    margin: 0;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #F4C430;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #F4C430;
}

.order-btn {
    background: #F4C430;
    color: #8B2635;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.order-btn:hover {
    background: #E6B800;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #8B2635 0%, #A0303E 50%, #8B2635 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>');
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(100px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 2rem;
}

.stars i {
    color: #F4C430;
    font-size: 1.5rem;
    animation: twinkle 2s ease-in-out infinite alternate;
}

.stars i:nth-child(2) { animation-delay: 0.2s; }
.stars i:nth-child(3) { animation-delay: 0.4s; }
.stars i:nth-child(4) { animation-delay: 0.6s; }
.stars i:nth-child(5) { animation-delay: 0.8s; }

@keyframes twinkle {
    0% { opacity: 0.7; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.highlight {
    color: #F4C430;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.25rem;
    color: #E8D5D5;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

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

.btn-primary {
    background: #F4C430;
    color: #8B2635;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary:hover {
    background: #E6B800;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(244, 196, 48, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: white;
    color: #8B2635;
    transform: translateY(-3px);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #F8F9FA;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(139, 38, 53, 0.1) 0%, transparent 100%);
}

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

.features-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #2C3E50;
    margin-bottom: 1rem;
}

.features-header p {
    font-size: 1.25rem;
    color: #6C757D;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

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

.feature-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(244, 196, 48, 0.05) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.5s ease;
}

.feature-card:hover::before {
    transform: scale(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #8B2635;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.feature-card:hover .feature-icon {
    background: #F4C430;
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    color: #8B2635;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8B2635;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.feature-card p {
    color: #6C757D;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

/* Page Hero Styles */
.page-hero {
    background: linear-gradient(135deg, #8B2635 0%, #A0303E 50%, #8B2635 100%);
    padding: 150px 0 100px;
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

.page-hero p {
    font-size: 1.25rem;
    color: #E8D5D5;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* About Content Section */
.about-content-section {
    padding: 100px 0;
    background: white;
}

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

.about-text h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #8B2635;
    margin-bottom: 2rem;
}

.about-intro {
    font-size: 1.5rem;
    color: #8B2635;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-text p {
    font-size: 1.1rem;
    color: #6C757D;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #F4C430;
}

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

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #8B2635;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #6C757D;
    font-weight: 500;
    margin: 0;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #8B2635 0%, #A0303E 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    box-shadow: 0 20px 40px rgba(139, 38, 53, 0.3);
}

.coffee-plant {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #F4C430;
}

.image-placeholder p {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

/* Menu Section */
.menu-section {
    padding: 100px 0;
    background: #F8F9FA;
}

.menu-categories {
    max-width: 1000px;
    margin: 0 auto;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    background: white;
    border: 2px solid #E0E0E0;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    color: #6C757D;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background: #8B2635;
    border-color: #8B2635;
    color: white;
}

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

.menu-grid.active {
    display: grid;
}

.menu-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #F4C430;
}

.menu-item.featured {
    border-left-color: #8B2635;
    box-shadow: 0 10px 30px rgba(139, 38, 53, 0.2);
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.item-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8B2635;
    margin: 0;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #F4C430;
    background: rgba(244, 196, 48, 0.1);
    padding: 4px 12px;
    border-radius: 6px;
}

.menu-item p {
    color: #6C757D;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.roast-level,
.origin {
    background: #E8D5D5;
    color: #8B2635;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
}

.order-item-btn {
    background: #8B2635;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.order-item-btn:hover {
    background: #A0303E;
    transform: translateY(-2px);
}

/* Subscribe Form Section */
.subscribe-form-section {
    padding: 100px 0;
    background: white;
}

.form-container {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.form-container h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #8B2635;
    margin-bottom: 1rem;
}

.form-container p {
    font-size: 1.1rem;
    color: #6C757D;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.cognito-form-wrapper {
    margin-bottom: 4rem;
}

.subscription-benefits {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.subscription-benefits h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #8B2635;
    margin-bottom: 2rem;
}

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

.benefit-item {
    background: #F8F9FA;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.benefit-item i {
    font-size: 3rem;
    color: #8B2635;
    margin-bottom: 1rem;
}

.benefit-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #8B2635;
    margin-bottom: 1rem;
}

.benefit-item p {
    color: #6C757D;
    line-height: 1.6;
}

/* Footer Styles */
.footer {
    background: #8B2635;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #F4C430;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-brand h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.footer-brand p {
    color: #F4C430;
    font-size: 0.875rem;
    margin: 0;
}

.footer-description {
    color: #E8D5D5;
    line-height: 1.8;
    margin-top: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #E8D5D5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #F4C430;
}

.contact-item,
.hours-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 1rem;
    color: #E8D5D5;
}

.contact-item i {
    color: #F4C430;
    margin-top: 2px;
    width: 16px;
}

.hours-item {
    justify-content: space-between;
}

.day {
    font-weight: 500;
}

.time {
    color: #F4C430;
}

.footer-bottom {
    border-top: 1px solid rgba(244, 196, 48, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #E8D5D5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
    }
    
    .order-btn {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .features-header h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text h2 {
        font-size: 2.5rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .image-placeholder {
        width: 250px;
        height: 250px;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .category-tabs {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .item-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .contact-item,
    .hours-item {
        justify-content: center;
    }
    
    .hours-item {
        flex-direction: column;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .features {
        padding: 60px 0;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .page-hero {
        padding: 120px 0 80px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .about-content-section,
    .menu-section,
    .subscribe-form-section {
        padding: 60px 0;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .menu-item {
        padding: 1.5rem;
    }
    
    .form-container h2 {
        font-size: 2rem;
    }
}