/* styles.css */

/* --- CSS Variables --- */
:root {
    --primary: #1A1A1A;
    /* Text and Headings main */
    --secondary: #E63946;
    /* Red (buttons) */
    --secondary-hover: #D62828;
    --acc_cream: #FFFFFF;
    /* White backgrounds */
    --acc_warm: #FFFFFF;
    /* White backgrounds */
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --white: #FFFFFF;
    --black: #000000;
    --yellow: #FFC300;
    /* Yellow (lines, frames, hover) */
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* Lighter shadow */
    --shadow-hover: 0 8px 24px rgba(255, 195, 0, 0.4);
    /* Yellow hover shadow */
    --radius: 12px;
    --transition: all 0.3s ease;

    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- Resets & Global --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--acc_cream);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--white);
}

.bg-warm {
    background-color: var(--acc_warm);
}

.bg-dark {
    background-color: var(--primary);
    color: var(--white);
}

.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary);
}

.bg-dark h2,
.bg-dark h3,
.bg-dark p {
    color: var(--white);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 1rem;
}

.section-header {
    margin-bottom: 3rem;
    max-width: 700px;
    margin-inline: auto;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    font-family: var(--font-head);
    border-radius: var(--radius);
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--acc_warm);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-outline.light {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline.light:hover {
    background-color: var(--white);
    color: var(--secondary);
}

.btn-block {
    display: block;
    width: 100%;
}

/* --- Header / Nav --- */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    min-height: 120px;
}

.logo img {
    max-height: 120px;
    width: auto;
    object-fit: contain;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--yellow);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    padding: 60px 0;
    background-color: var(--acc_cream);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    max-width: 550px;
}

.subheadline {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.video-wrapper {
    position: relative;
    height: 450px;
    /* High enough for desktop layout */
    border-radius: var(--radius);
    border: 2px solid var(--yellow);
    overflow: hidden;
    width: 100%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Category Grids & Products --- */
.grid {
    display: grid;
    gap: 2rem;
}

.category-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--yellow);
    box-shadow: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.featured-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.product-card {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 2px solid var(--yellow);
    box-shadow: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-image {
    position: relative;
}

.product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    margin-bottom: 0.5rem;
}

.product-info .desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.prep-time {
    font-size: 0.85rem;
    color: var(--primary);
    background-color: var(--white);
    border: 1px solid var(--yellow);
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    margin-top: auto;
}

/* --- B2B Section --- */
.b2b-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.b2b-list {
    margin-left: 1.2rem;
    margin-bottom: 1.5rem;
}

.b2b-list li {
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--white);
    opacity: 0.9;
}

.b2b-list li::before {
    content: "✓";
    position: absolute;
    left: -1.2rem;
    color: var(--secondary);
    font-weight: bold;
}

.b2b-actions {
    display: flex;
    gap: 1rem;
}

.b2b-image-placeholder img {
    border-radius: var(--radius);
    border: 2px solid var(--yellow);
    box-shadow: none;
}

/* --- Features (Why Choose Us) --- */
.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    border: 2px solid var(--yellow);
    box-shadow: none;
    text-align: center;
}

.icon-wrap {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --- Steps Section --- */
.steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step {
    padding: 1.5rem;
}

.step-num {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border: 2px solid var(--yellow);
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 0 5px rgba(255, 195, 0, 0.2);
}

.step h4 {
    margin-bottom: 0.5rem;
}

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1rem;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
    opacity: 0.9;
    border: 2px solid var(--yellow);
}

.gallery-item:nth-child(2) {
    grid-column: span 2;
}

.gallery-item:nth-child(3) {
    grid-row: span 2;
}

.gallery-item:nth-child(5) {
    grid-column: span 2;
}

/* --- Contact Section --- */
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info-block {
    padding-right: 2rem;
}

.detail-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.detail-item .icon {
    font-size: 1.5rem;
}

.social-links a {
    display: inline-block;
    margin-right: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.social-links a:hover {
    color: var(--secondary);
}

.whatsapp-floating {
    position: fixed;
    bottom: 95px;
    /* Sits above Instagram base */
    right: 30px;
    z-index: 1000;
    background-color: #25D366;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: none;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    padding: 14px 28px;
    font-size: 1.1rem;
    font-family: var(--font-head);
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-floating:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

.instagram-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: none;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
    padding: 14px 28px;
    font-size: 1.1rem;
    font-family: var(--font-head);
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-floating:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(220, 39, 67, 0.6);
}

@media (max-width: 768px) {
    .whatsapp-floating {
        bottom: 70px;
        right: 20px;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .instagram-floating {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 1rem;
    }
}

.contact-form-block {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 2px solid var(--yellow);
    box-shadow: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(255, 195, 0, 0.2);
}

.form-terms {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

/* --- Footer --- */
.footer {
    background-color: var(--primary);
    color: var(--acc_cream);
    padding: 60px 0 20px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul a {
    color: rgba(255, 255, 255, 0.8);
}

.footer ul a:hover {
    color: var(--secondary);
}

.contact-list li {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {

    .hero-inner,
    .b2b-inner,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .b2b-inner {
        text-align: center;
    }

    .b2b-list {
        display: inline-block;
        text-align: left;
    }

    .b2b-actions {
        justify-content: center;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.3rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .video-wrapper {
        height: 300px;
    }

    .header-inner {
        min-height: 70px;
        padding: 10px 0;
    }

    .logo img {
        max-height: 60px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .navigation {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease-in-out;
        gap: 1.5rem;
    }

    .navigation.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:nth-child(2) {
        grid-column: auto;
    }

    .gallery-item:nth-child(5) {
        grid-column: span 2;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .b2b-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-item:nth-child(5) {
        grid-column: auto;
    }

    .gallery-item:nth-child(3) {
        grid-row: auto;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}