/* Homepage Specific Styles */

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 42px;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%);
    padding: 100px 5% 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.15), transparent);
    top: -200px;
    right: -200px;
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero-text h1 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 72px;
    line-height: 1.1;
    color: white;
    margin-bottom: 20px;
    animation: slideInLeft 1s ease;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-text .highlight {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
    animation: slideInLeft 1s ease 0.2s backwards;
}

.hero-actions {
    display: flex;
    gap: 20px;
    animation: slideInLeft 1s ease 0.4s backwards;
}

.hero-image {
    position: relative;
    animation: slideInRight 1s ease 0.3s backwards;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(0, 188, 212, 0.2));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Button Styles */
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
    display: inline-block;
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: #E64A19;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.3);
}

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

.btn-outline:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

/* Features Section */
.features {
    padding: 80px 5%;
    background: white;
}

.features.delivery-schedule {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 5%;
    border-top: 4px solid var(--primary);
}

.features.delivery-schedule::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.1), transparent);
    top: -150px;
    left: -150px;
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite;
}

.features.delivery-schedule::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(57, 73, 171, 0.08), transparent);
    bottom: -100px;
    right: -100px;
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite reverse;
}

.features.delivery-schedule .section-header {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 50px;
}

.features.delivery-schedule .feature-card {
    background: white;
    border: 2px solid rgba(255, 87, 34, 0.2);
    padding: 50px 40px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 87, 34, 0.1);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.features.delivery-schedule .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 87, 34, 0.1), transparent);
    transition: left 0.6s;
}

.features.delivery-schedule .feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.15),
        0 0 0 3px rgba(57, 73, 171, 0.1);
}

.features.delivery-schedule .feature-card:hover::before {
    left: 100%;
}

.features.delivery-schedule .feature-card .feature-icon {
    font-size: 48px;
    margin-bottom: 25px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(255, 87, 34, 0.3));
}

.features.delivery-schedule .feature-card h3 {
    color: #1a1a1a;
    font-size: 24px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features.delivery-schedule .feature-card p {
    color: #4a4a4a;
    font-size: 16px;
    line-height: 1.6;
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--cream);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: backwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

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

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 15px 40px var(--shadow);
}

.feature-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--dark);
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Categories Section */
.categories {
    padding: 80px 5%;
    background: var(--light);
}

.categories-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 3px solid transparent;
    animation: scaleIn 0.6s ease;
    animation-fill-mode: backwards;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }
.category-card:nth-child(5) { animation-delay: 0.5s; }
.category-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow);
    border-color: var(--primary);
}

.category-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
    overflow: hidden;
}

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

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

.category-info {
    padding: 25px;
}

.category-info h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--dark);
}

.category-info p {
    color: #666;
    margin-bottom: 15px;
}

/* Delivery Info Section */
.delivery-info {
    padding: 80px 5%;
    background: white;
}

.delivery-schedule {
    background: linear-gradient(135deg, #3949ab 0%, #5c6bc0 50%, #7986cb 100%) !important;
    position: relative;
    border-top: 4px solid var(--primary);
}

.delivery-schedule .section-content {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 87, 34, 0.3);
    border-radius: 30px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 87, 34, 0.2);
    padding: 60px;
    margin: 0 auto;
    max-width: 1100px;
    position: relative;
    z-index: 2;
}

.delivery-schedule .section-header h2 {
    color: #1a1a1a;
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.delivery-schedule .section-header p {
    color: #4a4a4a;
    font-size: 20px;
    margin-bottom: 50px;
}

.delivery-schedule .section-header,
.delivery-schedule .features-grid,
.delivery-schedule .delivery-pricing {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.delivery-schedule .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.delivery-schedule .delivery-pricing {
    background: linear-gradient(135deg, var(--primary) 0%, #E64A19 100%);
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 
        0 8px 25px rgba(255, 87, 34, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(57, 73, 171, 0.1);
}

.delivery-days-list {
    margin-top: 10px;
    font-weight: 500;
    color: var(--primary);
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* Local Shops / About Section */
.local-shops {
    padding: 80px 5%;
    background: linear-gradient(135deg, var(--primary), #E64A19);
    color: white;
}

.shops-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.shop-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.shop-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.shop-image {
    font-size: 60px;
    text-align: center;
    margin-bottom: 20px;
}

.shop-info h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.shop-info p {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Contact Information */
.contact-info {
    padding: 80px 5%;
    background: var(--dark);
    color: white;
    text-align: center;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    margin-bottom: 30px;
    color: var(--primary);
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 2px solid rgba(255, 87, 34, 0.3);
}

.contact-item h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.contact-item p {
    opacity: 0.9;
    line-height: 1.5;
}

/* Footer Styles - Shared across all pages */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 5% 30px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
}

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

/* Responsive Design for Homepage */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .hero {
        padding: 60px 5% 80px;
    }
    
    .hero-text h1 {
        font-size: 48px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
    
    /* Delivery Schedule Mobile Fixes */
    .features.delivery-schedule {
        padding: 60px 3% 80px;
    }
    
    .delivery-schedule .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features.delivery-schedule .feature-card {
        padding: 30px 20px;
        margin: 0 auto;
        max-width: 400px;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
    }
    
    .features.delivery-schedule .feature-card h3 {
        font-size: 20px;
        word-wrap: break-word;
        white-space: normal;
    }
    
    .features.delivery-schedule .feature-card p {
        font-size: 14px;
        line-height: 1.5;
        word-wrap: break-word;
        white-space: normal;
    }
    
    .delivery-days-list {
        word-wrap: break-word;
        white-space: normal;
        text-align: left;
        margin: 0 auto;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .hero {
        padding: 40px 5% 60px;
    }
    
    .features,
    .categories,
    .delivery-info {
        padding: 50px 5%;
    }
    
    .category-image {
        height: 200px;
        font-size: 60px;
    }
    
    .delivery-info h2 {
        font-size: 32px;
    }
    
    .delivery-info p {
        font-size: 16px;
    }
    
    /* Additional Delivery Schedule Mobile Fixes */
    .features.delivery-schedule {
        padding: 40px 2% 60px;
    }
    
    .delivery-schedule .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .features.delivery-schedule .feature-card {
        padding: 20px 15px;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .features.delivery-schedule .feature-card h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .features.delivery-schedule .feature-card p {
        font-size: 13px;
    }
    
    .features.delivery-schedule .feature-icon {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .delivery-pricing p {
        font-size: 12px;
        word-wrap: break-word;
        white-space: normal;
        padding: 0 10px;
    }
}