/* COSMOS DELICATESSEN STYLES */
:root {
    --primary-dark: #1a1a1a;
    --primary-gold: #d4af37;
    --text-primary: #333333;
    --text-secondary: #666666;
    --bg-light: #fafafa;
    --bg-section: #f7f7f7;
}

/* Header Spacer */
.header-spacer {
    height: 120px;
}

/* Hero Section */
.cosmos-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.cosmos-hero .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cosmos-hero .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.cosmos-hero .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.hero-title {
    color: white;
}

.hero-label {
    display: block;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    opacity: 0.9;
}

.hero-name {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 5px;
}

.hero-divider {
    width: 60px;
    height: 2px;
    background: var(--primary-gold);
    margin: 30px auto 0;
}

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

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

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

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.section-divider {
    width: 50px;
    height: 2px;
    background: var(--primary-gold);
    margin-bottom: 30px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Features Section */
.cosmos-features {
    padding: 100px 0;
    background: var(--bg-section);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.features-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Mission Section */
.cosmos-mission {
    padding: 100px 0;
    background: white;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.mission-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Delivery Section */
.cosmos-delivery {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    text-align: center;
}

.cosmos-delivery .section-title {
    color: white;
    margin-bottom: 50px;
}

.cosmos-delivery .highlight {
    color: var(--primary-gold);
}

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

.app-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.app-link img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.app-link:hover img {
    transform: scale(1.05);
}

.delivery-card {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
}

.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 30px;
}

.card-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.card-content p {
    font-size: 16px;
    margin-bottom: 25px;
}

.btn-order {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-gold);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

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

/* Gallery Section */
.cosmos-gallery {
    padding: 100px 0;
    background: var(--bg-section);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
    cursor: pointer;
    border-radius: 8px;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 24px;
    color: white;
}

/* Contact Section */
.cosmos-contact {
    padding: 100px 0;
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.contact-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-section);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gold);
    border-radius: 50%;
}

.card-icon i {
    font-size: 24px;
    color: white;
}

.contact-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.contact-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-card a {
    color: var(--primary-gold);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 35px;
    color: white;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 -60px;
}

.lightbox-nav button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 18px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-nav button:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

/* Animations */
.animated {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fadeInLeft {
    transform: translateX(-30px);
}

.fadeInRight {
    transform: translateX(30px);
}

.animated.in-view {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-grid,
    .features-grid,
    .mission-grid,
    .delivery-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-spacer {
        height: 80px;
    }
    
    .hero-name {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
/* MOBILE RESPONSIVE IMPROVEMENTS */
@media (max-width: 768px) {
    .header-spacer {
        height: 80px;
    }
    
    /* Hero Section Mobile */
    .cosmos-hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .hero-name {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .hero-label {
        font-size: 12px;
    }
    
    /* About Section Mobile - Image First */
    .cosmos-about {
        padding: 60px 0;
    }
    
    .about-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .about-image {
        order: 1;
    }
    
    .about-content {
        order: 2;
    }
    
    .section-title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .section-divider {
        margin: 0 auto 20px;
    }
    
    /* Features Section Mobile - Image First */
    .cosmos-features {
        padding: 60px 0;
    }
    
    .features-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .features-image {
        order: 1;
    }
    
    .features-content {
        order: 2;
        text-align: center;
    }
    
    /* Mission Section Mobile - Image First */
    .cosmos-mission {
        padding: 60px 0;
    }
    
    .mission-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .mission-image {
        order: 1;
    }
    
    .mission-content {
        order: 2;
        text-align: center;
    }
    
    /* Delivery Section Mobile */
    .cosmos-delivery {
        padding: 60px 0;
    }
    
    .cosmos-delivery .section-title {
        font-size: 1.5rem;
        line-height: 1.4;
        padding: 0 15px;
    }
    
    .delivery-content {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    
    .app-links {
        order: 2;
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }
    
    .app-link img {
        height: 45px;
    }
    
    .delivery-card {
        order: 1;
        height: 250px;
    }
    
    .card-content h3 {
        font-size: 1.5rem;
    }
    
    .card-content p {
        font-size: 14px;
    }
    
    /* Gallery Section Mobile */
    .cosmos-gallery {
        padding: 60px 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    /* Contact Section Mobile */
    .cosmos-contact {
        padding: 60px 0;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    /* Text sizes mobile */
    p {
        font-size: 14px;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .app-links {
        flex-direction: column;
        gap: 10px;
    }
}