/* ========================================
   VIET DELI - CLEAN STYLESHEET
   ======================================== */

/* Section Variables and Base Styles */
:root {
    --section-max-width: 1200px;
    --section-padding: 6rem 2rem;
    --section-gap: 6rem;
}

/* Base Section Styles */
.section-base {
    max-width: var(--section-max-width);
    margin: 0 auto;
    padding: var(--section-padding);
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    max-width: var(--section-max-width);
    margin: 0 auto;
    padding: var(--section-padding);
    display: flex;
    flex-direction: column;
    gap: var(--section-gap);
}

.feature {
    background-color: var(--secondary-bg-color);
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    position: relative;
    overflow: visible;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(11, 197, 81, 0.1);
    padding-bottom: 6rem;
}

.feature:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Typography */
.feature h2,
.about-container h2 {
    color: var(--primary-text-color);
    font-family: var(--font-family-custom);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 3rem;
    position: relative;
    text-align: left;
    font-weight: normal;
    line-height: 1.3;
}

.feature h2::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: var(--accent-color);
}

.feature p,
.about-container p {
    color: var(--secondary-text-color);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: normal;
    max-width: 800px;
}

/* Feature Highlights */
.feature-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 3.5rem 0;
}

.highlight-item {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    transition: none;
    box-shadow: none;
    position: relative;
    overflow: visible;
    border-left: 3px solid var(--accent-color);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.highlight-item h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    font-family: var(--font-family-custom);
}

.highlight-item p {
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--secondary-text-color);
    line-height: 1.6;
}

/* Feature Images */
.feature-image {
    margin: 2rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.feature-image:hover img {
    transform: scale(1.02);
}

.feature-image-caption {
    background-color: rgba(4, 63, 33, 0.8);
    color: white;
    padding: 0.75rem;
    font-size: 0.9rem;
    font-style: italic;
}

/* Two-column layout for image and text */
.feature-with-image {
    display: flex;
    flex-direction: column;
    margin: 3rem 0;
    gap: 3rem;
}

.feature-with-image .image-side {
    width: 100%;
}

.feature-with-image .text-side {
    width: 100%;
}

.feature-with-image img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(1, 68, 23, 0.15);
}

/* Menu Lightbox Styles */
.menu-lightbox {
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
}

.menu-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(2px);
}

.lightbox-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.menu-lightbox img {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
    transform-origin: center center;
}

/* D-Pad Navigation Controls */
.dpad-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.dpad {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.dpad-middle {
    display: flex;
    align-items: center;
    gap: 2px;
}

.dpad-center {
    width: 50px;
    height: 50px;
    background: rgba(6, 148, 59, 0.3);
    border-radius: 50%;
    border: 2px solid rgba(6, 148, 59, 0.6);
    backdrop-filter: blur(4px);
}

.dpad-btn {
    background: rgba(6, 148, 59, 0.8);
    color: white;
    border: none;
    border-radius: 8px;
    width: 50px;
    height: 50px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.dpad-btn:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.dpad-btn:active {
    transform: scale(0.95);
    background: var(--accent-color);
}

/* Zoom Controls */
.zoom-controls {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1000;
}

.zoom-btn {
    background: rgba(6, 148, 59, 0.8);
    color: white;
    border: none;
    border-radius: 8px;
    width: 50px;
    height: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.zoom-btn:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.zoom-btn:active {
    transform: scale(0.95);
    background: var(--accent-color);
}

/* Close Button */
.close-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(6, 148, 59, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.close-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.menu-link {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.menu-link:hover {
    transform: scale(1.02);
}

/* Feature Links */
.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: normal;
    text-decoration: none;
    padding: 8px 16px;
    position: relative;
    transition: all var(--transition-speed) ease;
    margin: 1.5rem auto;
    text-align: center;
    width: fit-content;
    font-family: var(--font-family-custom);
}

.feature-link:hover {
    color: var(--highlight-color);
}

.feature-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-speed) ease;
    flex-shrink: 0;
}

.feature-link:hover svg {
    transform: translateX(4px);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    background-color: var(--secondary-bg-color);
}

.contact-container {
    max-width: var(--section-max-width);
    margin: 0 auto;
    padding: var(--section-padding);
}

.contact-info {
    background: transparent;
    padding: 3rem 2.5rem;
    border-radius: 0;
    position: relative;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 {
    margin-bottom: 1rem;
    color: var(--primary-text-color);
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
    font-family: var(--font-family-custom);
    font-weight: normal;
}

.contact-subtitle {
    color: var(--secondary-text-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-style: italic;
    font-weight: normal;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 0 0 2rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 0;
    background-color: transparent;
    border-radius: 0;
    transition: all var(--transition-speed) ease;
    border-left: none;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.contact-item:hover {
    transform: none;
    box-shadow: none;
    border-bottom-color: var(--accent-color);
}

.contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-top: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(6, 148, 59, 0.2);
}

.contact-item:hover .contact-icon {
    background-color: var(--highlight-color);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(6, 148, 59, 0.3);
}

.contact-content {
    flex: 1;
}

.contact-content h3 {
    color: var(--primary-text-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: normal;
    font-family: var(--font-family-custom);
}

.contact-content p {
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--secondary-text-color);
    line-height: 1.4;
}

.contact-content a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: normal;
    transition: color var(--transition-speed) ease;
}

.contact-content a:hover {
    color: var(--highlight-color);
}

.contact-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.contact-actions .btn {
    flex: 1;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: normal;
    font-size: var(--font-size-base);
    letter-spacing: 0.01em;
    transition: all var(--transition-speed) ease;
    box-shadow: var(--box-shadow);
    text-decoration: none;
    min-height: 44px;
    font-family: var(--font-family-custom);
}

.contact-actions .btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--highlight-color) 100%);
    color: white;
    border: none;
}

.contact-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 148, 59, 0.3);
}

.contact-actions .btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.contact-actions .btn-secondary:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.contact-actions .btn svg {
    flex-shrink: 0;
    transition: transform var(--transition-speed) ease;
}

.contact-actions .btn:hover svg {
    transform: scale(1.1);
}

/* Contact Map Section */
.contact-map-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
    min-height: 500px;
    align-items: stretch;
}

/* ========================================
   STOREFRONT IMAGE
   ======================================== */
.storefront-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    background-color: transparent;
    border: none;
    display: block;
}

.storefront-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: block;
    border-radius: var(--border-radius);
}

.storefront-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: var(--border-radius);
    transition: filter 0.3s ease;
}

.storefront-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.storefront-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 148, 59, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--border-radius);
}

.storefront-overlay-content {
    text-align: center;
    color: white;
}

.storefront-overlay-content svg {
    color: white;
    transition: transform 0.3s ease;
    margin-bottom: 0.5rem;
}

.storefront-overlay-content p {
    margin: 0;
    font-size: 1rem;
    font-weight: normal;
    color: white;
}

.storefront-container:hover .storefront-overlay {
    opacity: 1;
}

.storefront-container:hover .storefront-overlay-content svg {
    transform: scale(1.1);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    background-color: transparent;
}

.about-container {
    max-width: var(--section-max-width);
    margin: 0 auto;
    padding: var(--section-padding);
    background-color: var(--secondary-bg-color);
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: visible;
    margin-bottom: 0;
}



/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (min-width: 992px) {
    .feature-with-image {
        flex-direction: row;
        gap: 3rem;
        align-items: flex-start;
    }
    
    .feature-with-image .image-side {
        flex: 0 0 45%;
        width: auto;
    }
    
    .feature-with-image .text-side {
        flex: 1;
    }
    
    .feature-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    :root {
        --section-padding: 5rem 1.5rem;
        --section-gap: 5rem;
    }
    
    .features {
        gap: var(--section-gap);
    }
    
    .feature {
        padding-bottom: 5rem;
    }
    
    .contact-map-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .storefront-container {
        order: -1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 1rem;
        --section-gap: 4rem;
    }
    
    .features {
        padding: var(--section-padding);
        gap: var(--section-gap);
    }
    
    .feature {
        padding-bottom: 4rem;
    }
    
    .feature h2,
    .about-container h2,
    .cta-pickup h2 {
        font-size: clamp(1.5rem, 4vw, 1.75rem);
        margin-bottom: 2.5rem;
    }
    
    .feature-highlights {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 3rem 0;
    }
    
    .feature-with-image {
        margin: 2.5rem 0;
        gap: 2.5rem;
    }
    
    .contact-container,
    .about-container,
    .cta-pickup-container {
        padding: var(--section-padding);
    }
    
    .contact-info {
        padding: 2.5rem 1.5rem;
    }
    
    .contact-info h2 {
        font-size: 1.6rem;
    }
    
    .contact-details {
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1.25rem 1rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-icon {
        margin-top: 0;
    }
    
    .contact-actions {
        flex-direction: column;
    }
    
    .storefront-image {
        height: 300px;
    }
    
    .phone-number a {
        font-size: 1.5rem;
    }
}
