:root {
    --bg: #050505;
    --card-bg: #0a0a0a;
    --accent: #b91c1c; /* Red Accent */
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    margin: 0;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* --- 1. HERO --- */
.craft-hero {
    min-height: 85vh;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a0505 0%, #000 80%);
    padding: 70px 20px;
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.3em; color: var(--accent); font-size: 0.75rem; margin-bottom: 20px; display: block; }
.craft-hero h1 { font-family: var(--font-heading); font-size: clamp(3rem, 6vw, 5rem); line-height: 1.1; margin-bottom: 25px; }
.craft-hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; line-height: 1.7; font-weight: 300; }
.scroll-line { width: 1px; height: 60px; background: linear-gradient(to bottom, var(--accent), transparent); margin-top: 50px; }

/* --- 2. JOURNEY (Map & Origins) --- */
.section-journey { padding: 100px 0; border-bottom: 1px solid var(--border); }
.journey-header { text-align: center; margin-bottom: 50px; }
.journey-header h2 { font-family: var(--font-heading); font-size: 3rem; margin-bottom: 15px; }
.journey-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* MAP VISUAL - FIXED */
.map-visual {
    position: relative;
    max-width: 900px;
    margin: 0 auto 80px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    /* Aspect Ratio Fix */
    line-height: 0; /* Remove extra space below img */
}

.map-img {
    width: 100%;
    height: auto; /* IMPORTANT: Keeps markers in place */
    display: block;
    opacity: 0.6;
    filter: grayscale(0.5) contrast(1.2);
}

.map-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(circle, transparent 40%, var(--bg) 100%);
    pointer-events: none;
}

/* Markers */
.map-marker {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%); /* Centers the dot exactly on coordinate */
}

.marker-dot {
    width: 10px; height: 10px;
    background: var(--accent);
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.marker-pulse {
    position: absolute;
    top: 50%; left: 50%;
    width: 30px; height: 30px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: markerPulse 2s infinite;
}

.marker-label {
    position: absolute;
    top: -30px;
    font-size: 0.75rem;
    color: #fff;
    background: rgba(0,0,0,0.8);
    padding: 4px 8px;
    border-radius: 4px;
    opacity: 0;
    transition: 0.3s;
    white-space: nowrap;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.1);
}

.map-marker:hover .marker-label { opacity: 1; top: -35px; }

@keyframes markerPulse {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* Origins List */
.origins-grid { display: flex; justify-content: center; gap: 40px; text-align: center; flex-wrap: wrap; }
.origin-item { padding: 20px; }
.origin-item .coord { font-size: 0.7rem; color: var(--accent); letter-spacing: 0.15em; display: block; margin-bottom: 10px; }
.origin-item h3 { font-family: var(--font-heading); font-size: 1.8rem; margin: 0 0 5px; color: #fff; }
.origin-item p { color: var(--text-muted); font-size: 0.9rem; max-width: 250px; margin: 0 auto; }
.origin-divider { width: 1px; height: 60px; background: var(--border); align-self: center; opacity: 0.5; }

/* --- 3 & 4. SPLIT SECTIONS --- */
.section-split { padding: 100px 0; }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.split-image {
    position: relative; height: 500px; overflow: hidden; border-radius: 8px; border: 1px solid var(--border);
}
.split-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; opacity: 0.9; }
.split-image:hover img { transform: scale(1.03); opacity: 1; }

.section-tag { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent); display: block; margin-bottom: 15px; }
.split-content h2 { font-family: var(--font-heading); font-size: 2.8rem; line-height: 1.1; margin-bottom: 20px; }
.split-content p { color: var(--text-muted); line-height: 1.7; margin-bottom: 30px; font-weight: 300; }
.quote-box { border-left: 3px solid var(--accent); padding-left: 20px; font-family: var(--font-heading); font-style: italic; font-size: 1.2rem; color: #fff; }
.process-list li { padding: 10px 0; border-bottom: 1px solid var(--border); color: #ddd; font-size: 0.9rem; }

.section-split.reverse .split-layout { direction: rtl; }
.section-split.reverse .split-content { direction: ltr; }

/* --- 5. SUSTAINABILITY --- */
.section-sustainability { padding: 100px 0; background: var(--card-bg); border-top: 1px solid var(--border); }
.section-sustainability h2 { font-family: var(--font-heading); font-size: 3rem; margin-bottom: 15px; }
.section-desc { color: var(--text-muted); margin-bottom: 60px; }

.eco-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; padding: 0 10px; }

.eco-card {
    padding: 40px 25px; border: 1px solid var(--border); border-radius: 12px; transition: 0.3s; background: rgba(255,255,255,0.01);
}
.eco-card:hover { border-color: var(--accent); transform: translateY(-5px); background: rgba(20, 5, 5, 0.3); }

.eco-icon-box { margin-bottom: 20px; display: flex; justify-content: center; }
.eco-icon-box svg { width: 50px; height: 50px; stroke: var(--accent); stroke-width: 1.2px; }

.eco-card h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 10px; color: #fff; }
.eco-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* --- 6. CLOSING --- */
.section-closing { padding: 120px 20px; text-align: center; background: radial-gradient(circle, rgba(185,28,28,0.15) 0%, transparent 70%); border-top: 1px solid var(--border); }
.closing-icon svg { width: 40px; height: 40px; stroke: var(--accent); margin-bottom: 20px; }
.closing-content h2 { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 10px; }
.closing-content p { font-family: var(--font-heading); font-style: italic; font-size: 1.3rem; color: var(--text-muted); }

/* --- ANIMATIONS --- */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s, transform 0.8s; }
.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* =========================================
   MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
    /* Map Adjustment */
    .map-visual { margin-bottom: 40px; }
    
    /* Markers slightly smaller on phone */
    .marker-dot { width: 8px; height: 8px; }
    .marker-pulse { width: 24px; height: 24px; }

    /* Layout Stacking */
    .split-layout { display: flex; flex-direction: column-reverse; gap: 40px; }
    
    /* Reverse section ko bhi sahi order mein layein (Text pehle dikhe ya image?) */
    /* Usually on mobile: Image then Text looks good, OR Text then Image. 
       Let's stick to Text then Image for storytelling consistency if desired, 
       or keep generic stacking. Here I am putting Image BOTTOM for both to focus on content first. */
    .section-split.reverse .split-layout { flex-direction: column-reverse; }

    .split-image { width: 100%; height: 300px; } /* Image height control */

    .origins-grid { flex-direction: column; gap: 30px; }
    .origin-divider { display: none; }

    /* Fonts */
    .craft-hero h1 { font-size: 2.5rem; }
    .journey-header h2, .split-content h2, .section-sustainability h2, .closing-content h2 { font-size: 2.2rem; }
    
    /* Eco Grid */
    .eco-grid { grid-template-columns: 1fr; gap: 20px; }
    
    /* Padding */
    .craft-hero { padding: 70px 20px 60px; min-height: auto; }
    .section-journey, .section-split, .section-sustainability { padding: 60px 0; }
}