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

/* --- CSS VARIABLES --- */
:root {
    --color-primary: #8e1000;    /* Deep Red */
    --color-primary-dark: #6a0b00;
    --color-accent: #f4c430;     /* Saffron */
    --color-brown: #6b442a;      /* Earthy Brown */
    --color-dark: #121212;       /* Black accent */
    --color-text: #333333;       /* Body Text */
    --color-text-light: #666666;
    --color-bg: #ffffff;
    --color-bg-light: #f9f7f4;   /* Slight warm off-white */
    --color-border: #e9e5e0;

    --font-main: 'Outfit', sans-serif;
    
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    
    --shadow-subtle: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-hover: 0 12px 24px rgba(0,0,0,0.1);
    
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-dark);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

p {
    margin-bottom: 1rem;
}

/* --- LAYOUT UTILITIES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--color-bg-light); }
.mt-2 { margin-top: 2rem; }

.section-title {
    margin-bottom: 3rem;
    position: relative;
}

section {
    padding: var(--space-xl) 0;
}

.grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- COMPONENTS --- */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(142, 16, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

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

.btn-full {
    width: 100%;
}

/* --- HEADER & NAV --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: box-shadow var(--transition);
    border-bottom: 1px solid var(--color-border);
}

.main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 0.75rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 64px; /* Based on aspect ratio */
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-cta {
    padding: 0.6rem 1.5rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-dark);
    transition: var(--transition);
}

@media (max-width: 991px) {
    .main-nav {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 73px);
        background-color: white;
        flex-direction: column;
        justify-content: center;
        transition: left 0.4s ease;
    }
    .main-nav.active {
        left: 0;
    }
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .nav-links a {
        font-size: 1.25rem;
    }
    .menu-toggle {
        display: flex;
    }
    .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('assets/hero-bg.webp') center/cover no-repeat;
    margin-top: 73px; /* Offset for header */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(18, 18, 18, 0.85) 0%, rgba(18, 18, 18, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text-box {
    max-width: 650px;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- WHY US SECTION --- */
.feature-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--color-primary);
    color: white;
}

/* --- PRODUCTS SECTION --- */
.product-category {
    margin-bottom: 5rem;
}

.product-category:last-child {
    margin-bottom: 0;
}

.category-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.category-header h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.product-card {
    background: var(--color-bg-light);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.product-card h4 {
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.product-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

.product-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
}

.product-card:hover {
    background: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

/* --- HOW IT WORKS --- */
.step-card {
    position: relative;
    padding: 2rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--color-accent);
    color: var(--color-dark);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

/* --- ABOUT --- */
.about-container {
    max-width: 800px;
}
.about-text {
    font-size: 1.25rem;
    color: var(--color-text-light);
}

/* --- CTA BANNER --- */
.cta-banner {
    background-color: var(--color-primary);
    color: white;
    padding: 5rem 0;
}

.cta-banner h2 {
    color: white;
}

/* --- CONTACT --- */
.contact-grid {
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.contact-info {
    padding-right: 2rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-details svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-details address {
    font-style: normal;
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-dark);
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #ccc;
    border-radius: var(--radius-sm);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(142, 16, 0, 0.1);
}

/* --- FOOTER --- */
.main-footer {
    background-color: var(--color-dark);
    color: white;
    padding-top: 4rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    height: 64px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: #999;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #ccc;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    text-align: center;
    color: #888;
}
