@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Yellowtail&display=swap');

:root {
    --primary-color: #1B3565;
    --accent-color: #E88D23;
    --text-color: #333;
    --bg-color: #ffffff;
    --hero-bg: #1B3565;
    --primary-red: #1B3565;
    --spice-secondary: #E88D23;
    --header-height: 100px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: #f9f9f9;
    line-height: 1.6;
}

main {
    min-height: 100vh;
    padding-top: var(--header-height); 
}

/* Global Mobile Responsiveness & Scale Overrides */
@media (max-width: 768px) {
    /* Compress paddings on sections */
    section, .about-section, .range-section, .discover-section, 
    .collection-block-section, .quality-section, .why-choose-us, 
    .about-description, .vision-mission, .portfolio-section, 
    .explore-more-section, .product-detail-section, .search-section {
        padding: 35px 20px !important;
        height: auto !important;
        min-height: auto !important;
    }
    
    /* Make Hero Section compact to fit mobile viewports */
    .hero-section {
        height: 520px !important;
    }
    
    .hero-slide {
        padding: 0 15px !important;
    }
    
    .hero-container {
        gap: 20px !important;
    }
    
    /* Hide absolute decorations that clutter or cause overflow */
    .spice-pile, .hero-leaves, .product-outline, .slider-numbering {
        display: none !important;
    }
    
    .main-product-img {
        height: 180px !important;
        width: auto !important;
        max-width: 100% !important;
        margin: 0 auto;
        object-fit: contain !important;
        filter: drop-shadow(10px 25px 25px rgba(0, 0, 0, 0.2)) !important;
    }
    
    /* Scale down large headings */
    h1, .about-hero h1, .collection-header h1 {
        font-size: 2.0rem !important;
        line-height: 1.2 !important;
        margin-bottom: 12px !important;
    }
    
    /* Cursive Yellowtail title in hero */
    .hero-content h1 {
        font-size: 2.6rem !important;
        line-height: 1.1 !important;
        margin-bottom: 12px !important;
        margin-top: 10px !important;
    }
    
    h2, .section-title, .section-title-center, .about-content h2, 
    .split-section .text-box h2, .cta-inner h3 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }

    /* Subtitles and descriptive text */
    .about-subtitle, .about-subtitle-page, .section-intro, .section-subtitle, 
    .quality-header p, .hero-content p, .cta-inner p, .discover-content-wrap p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
    }
    
    .hero-content p {
        margin-bottom: 20px !important;
    }
    
    .hero-content .cta-button {
        padding: 10px 25px !important;
        font-size: 1rem !important;
    }

    /* Tighten grids and features lists spacing */
    .features-grid, .portfolio-grid, .quality-grid, .collection-grid, .collection-block-grid, .related-grid {
        gap: 15px !important;
    }
    
    /* Make card heights and margins more compact */
    .vm-card {
        padding: 25px 20px !important;
    }

    .feature-item, .portfolio-card, .quality-card {
        padding: 20px 15px !important;
    }

    /* Cap image sizes so they do not take up full screens */
    .split-section .image-box, .about-image-wrapper {
        max-height: 200px !important;
        overflow: hidden !important;
    }

    .split-section .image-box img, .about-image-wrapper img {
        height: 200px !important;
        object-fit: cover !important;
    }
    
    .product-detail-image {
        max-height: 240px !important;
        border-radius: 15px !important;
        overflow: hidden !important;
    }
    
    .product-detail-image img {
        height: 240px !important;
        object-fit: cover !important;
    }
    
    .slider-arrow {
        width: 40px !important;
        height: 40px !important;
    }
    
    /* CTA blocks spacing */
    .about-whatsapp-cta-block {
        margin-top: 40px !important;
        padding: 30px 15px !important;
    }
    
    .portfolio-section, .explore-more-section {
        margin-top: 40px !important;
        margin-bottom: 40px !important;
    }
}

@media (max-width: 480px) {
    section, .about-section, .range-section, .discover-section, 
    .collection-block-section, .quality-section, .why-choose-us, 
    .about-description, .vision-mission, .portfolio-section, 
    .explore-more-section, .product-detail-section, .search-section {
        padding: 25px 15px !important;
    }

    .hero-section {
        height: 460px !important;
    }
    
    .main-product-img {
        height: 140px !important;
    }

    h1, .about-hero h1, .collection-header h1 {
        font-size: 1.7rem !important;
    }
    
    .hero-content h1 {
        font-size: 2.0rem !important;
    }

    h2, .section-title, .section-title-center, .about-content h2, 
    .split-section .text-box h2 {
        font-size: 1.3rem !important;
    }
    
    .features-grid, .portfolio-grid, .quality-grid, .collection-grid, .collection-block-grid, .related-grid {
        gap: 10px !important;
    }
    
    .split-section .image-box, .about-image-wrapper, 
    .split-section .image-box img, .about-image-wrapper img {
        height: 150px !important;
        max-height: 150px !important;
    }
    
    .product-detail-image, .product-detail-image img {
        height: 180px !important;
        max-height: 180px !important;
    }
}
