/**
 * Homepage Styles - Matching Mockup Design
 * Orange/Coral Accent Color Scheme
 */

:root {
    --accent: #E86A33;
    --accent-light: #F5845A;
    --dark: #1a1a2e;
    --text: #4a4a5e;
    --text-light: #6b7280;
    --light: #f8f9fa;
    --white: #ffffff;
    --border: #e5e7eb;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
}

.nav-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

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

.btn-accent:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

.btn-outline-dark {
    background: transparent;
    border: 2px solid var(--dark);
    color: var(--dark);
}

.btn-outline-dark:hover {
    background: var(--dark);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 120px 0 60px;
    background: var(--white);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 16px;
}

.text-accent {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    font-size: 1.5rem;
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* ============================================
   BENTO GRID - MINERALS
   ============================================ */
.minerals-section {
    padding: 80px 0;
    background: #f8f9fc; /* Slightly blue-tinted gray for modern feel */
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(320px, auto); /* Enforce height */
    gap: 24px;
}

.bento-card {
    position: relative;
    background: var(--white);
    border-radius: 24px; /* Larger radius as per reference */
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    text-decoration: none; /* Ensure whole card is clickable-like */
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.bento-large {
    grid-column: span 2;
}

.bento-small {
    grid-column: span 1;
}

.bento-image {
    flex: 1;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.bento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.bento-card:hover .bento-image img {
    transform: scale(1.08); /* Smoother zoom */
}

.bento-content {
    padding: 24px;
    background: var(--white);
    position: relative;
    min-height: 120px; /* Ensure space for content */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Special styling for Pink Salt Card to match reference */
.bento-card.salt-card .bento-content {
    background: linear-gradient(to bottom, #fff0f0, #ffe4e4);
    border-top: 1px solid #ffdbdb;
}

.bento-content h3, 
.bento-content h4 {
    font-size: 1.35rem;
    font-weight: 800; /* Extra bold */
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.2;
}

.bento-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.bento-arrow {
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 40px;
    height: 40px;
    background: #fff; /* White background initially? Or Orange? Reference has orange but let's check */
    /* Reference image shows a circle with an arrow. Let's make it subtle outlined or filled */
    background: rgba(232, 106, 51, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.bento-card:hover .bento-arrow {
    background: var(--accent);
    color: var(--white);
    transform: rotate(-45deg); /* Dynamic angle */
}

.bento-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    opacity: 0;
    cursor: pointer;
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-large {
        grid-column: span 2;
    }
    .bento-small {
        grid-column: span 1;
    }
}

@media (max-width: 640px) {
    .bento-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
}


/* ============================================
   CERTIFICATIONS
   ============================================ */
.certifications-section {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.cert-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cert-icon {
    width: 24px;
    height: 24px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--accent);
}

.cert-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

/* ============================================
   QUOTE SECTION + FOOTER
   ============================================ */
.quote-section {
    padding: 60px 0;
    background: var(--dark);
    color: var(--white);
}

.quote-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
}

.quote-form-wrapper {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    color: var(--dark);
}

.form-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.quote-form-wrapper h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.quote-form .form-group {
    margin-bottom: 16px;
}

.quote-form input,
.quote-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    background: var(--white);
}

.quote-form .form-row {
    display: grid;
    grid-template-columns: 1fr 80px;
    gap: 12px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-col p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

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

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: background 0.2s;
}

.social-links a:hover {
    background: var(--accent);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quote-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-large {
        grid-column: span 1;
    }
    
    .cert-grid {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}
