/* =====================================================
   GLOBAL BRAND VARIABLES
===================================================== */

:root {
    --stark-green: #35823F;
    /* Deep Forest */
    --stark-green-light: #35823F;
    /* Action Green */
    --stark-gold: #F2D202;
    /* Marang Gold */
    --stark-gold-soft: #FDF9E2;
    /* Decorative Gold */
    --stark-white: #FFFFFF;
    --stark-light: #F9F9F8;
    /* Page Background */
    --stark-text: #333333;
    --stark-text-muted: #666666;
    --stark-border: #EEEEEE;
    --stark-shadow: 0 20px 40px rgba(20, 83, 45, 0.08);
}


/* =====================================================
   CORE LAYOUT
===================================================== */

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--stark-white);
    color: var(--stark-text);
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    color: var(--stark-green);
    margin: 0;
}

.stark-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--stark-gold);
    margin-bottom: 15px;
}

.accent-serif {
    font-style: italic;
    color: #8A733E;
    /* Sophisticated Bronze/Gold */
}


/* =====================================================
   SECTION 1: HERO
===================================================== */

.stark-about-hero {
    padding: 40px 0 80px;
    background: var(--stark-white);
}

.hero-canvas {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.hero-text-block h1 {
    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-lead {
    font-size: 19px;
    color: var(--stark-text-muted);
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-visual-block {
    position: relative;
}

.image-frame {
    position: relative;
    z-index: 2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(20, 83, 45, 0.15);
}

.image-frame img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.image-frame:hover img {
    transform: scale(1.05);
}

.hero-floating-label {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 25px;
    border-radius: 12px;
    border-left: 4px solid var(--stark-gold);
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-main-gold {
    background: var(--stark-green);
    color: white;
    padding: 18px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.btn-main-gold:hover {
    background: var(--stark-gold);
    color: var(--stark-green);
    transform: translateY(-3px);
}


/* =====================================================
   SECTION 2: THE MARANG STORY (STARK UPGRADE)
===================================================== */

.stark-story-section {
    padding: 40px 0;
    background: var(--stark-white);
    position: relative;
    overflow: hidden;
}


/* Background Decoration */

.stark-story-section::before {
    content: "EST 2019";
    position: absolute;
    top: 50px;
    right: -20px;
    font-size: 14vw;
    font-weight: 900;
    color: rgba(20, 83, 45, 0.03);
    z-index: 0;
    pointer-events: none;
}

.stark-story-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 100px;
    align-items: center;
    position: relative;
    z-index: 1;
}


/* --- TEXT CONTENT --- */

.story-header h2 {
    font-size: clamp(34px, 4vw, 48px);
    margin-bottom: 35px;
    line-height: 1.1;
}

.lead-para {
    font-size: 20px;
    font-weight: 600;
    color: var(--stark-green);
    margin-bottom: 25px;
    line-height: 1.6;
}

.story-body p:not(.lead-para) {
    font-size: 17px;
    color: var(--stark-text-muted);
    margin-bottom: 20px;
}


/* --- THE QUOTE CARD --- */

.story-quote-card {
    margin-top: 50px;
    padding: 40px;
    background: var(--stark-gold-soft);
    border-radius: 24px;
    position: relative;
    border-left: 6px solid var(--stark-gold);
}

.story-quote-card p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 20px;
    color: var(--stark-green);
    line-height: 1.5;
    margin-bottom: 20px !important;
}

.founding-year {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--stark-green-light);
}

.founding-year::before {
    content: "";
    width: 30px;
    height: 1px;
    background: var(--stark-gold);
}


/* --- PILLAR GRID STYLING --- */

.visual-pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.pillar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}


/* --- IMAGE WRAPPER (Circular Gold Look) --- */

.image-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #F2D202;
    /* Brand Gold */
    padding: 5px;
    /* Creates a small gap between border and image */
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.pillar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    /* Prevents stretching */
    filter: sepia(20%);
    /* Adds a subtle warm, respectful tone */
}


/* --- TEXT STYLING --- */

.pillar-item strong {
    color: #35823F;
    /* Brand Green */
    font-size: 16px;
    font-weight: 700;
}


/* --- HOVER EFFECTS --- */

.pillar-item:hover .image-wrapper {
    transform: scale(1.1);
    border-color: #35823F;
}

.pillar-item:hover .pillar-img {
    filter: sepia(0%);
}


/* --- RESPONSIVE --- */

@media (max-width: 1024px) {
    .stark-story-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .story-text-container {
        text-align: center;
    }
    .founding-year {
        justify-content: center;
    }
    .story-quote-card {
        border-left: none;
        border-top: 6px solid var(--stark-gold);
    }
}

@media (max-width: 600px) {
    .visual-pillar-grid {
        grid-template-columns: 1fr;
    }
    .stark-story-section {
        padding: 80px 0;
    }
}


/* =====================================================
   SECTION 3: TIMELINE
===================================================== */

.story-timeline {
    padding: 40px 0;
    background: var(--stark-light);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--stark-gold), var(--stark-green));
    transform: translateX(-50%);
}

.timeline-item {
    width: 50%;
    padding: 20px 40px;
    position: relative;
}

.timeline-item.left {
    text-align: right;
    left: 0;
}

.timeline-item.right {
    text-align: left;
    left: 50%;
}

.timeline-item .content {
    background: var(--stark-white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--stark-shadow);
}

.timeline-item::after {
    content: "";
    position: absolute;
    top: 30px;
    width: 14px;
    height: 14px;
    background: var(--stark-gold);
    border: 3px solid var(--stark-green);
    border-radius: 50%;
    z-index: 2;
}

.timeline-item.left::after {
    right: -10px;
}

.timeline-item.right::after {
    left: -10px;
}


/* =====================================================
   SECTION 4: VALUES (STARK UPGRADE)
===================================================== */

.stark-values {
    padding: 40px 0;
    background-color: var(--stark-white);
    text-align: center;
}

.values-header {
    max-width: 800px;
    margin: 0 auto 80px;
}

.values-header h2 {
    font-size: clamp(34px, 5vw, 48px);
    margin-bottom: 25px;
}

.values-intro {
    font-size: 18px;
    color: var(--stark-text-muted);
    line-height: 1.8;
}


/* --- THE GRID --- */

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.value-card {
    background: #FFFFFF;
    padding: 60px 35px;
    border-radius: 28px;
    border: 1px solid var(--stark-border);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 1;
}

.value-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--stark-gold) 0%, var(--stark-green) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
}

.value-card:hover {
    transform: translateY(-12px);
    border-color: transparent;
    box-shadow: 0 30px 60px rgba(20, 83, 45, 0.1);
}


/* Icon Styling */

.value-icon {
    width: 85px;
    height: 85px;
    background: var(--stark-gold-soft);
    border-radius: 22px;
    /* Soft square for a more modern look */
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease;
}

.value-icon svg {
    width: 38px;
    height: 38px;
    color: var(--stark-green);
    transition: 0.4s ease;
}

.value-card:hover .value-icon {
    background: var(--stark-green);
    transform: rotate(10deg);
}

.value-card:hover .value-icon svg {
    color: var(--stark-gold);
}


/* Card Content */

.value-card h3 {
    font-size: 20px;
    margin-bottom: 18px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    /* Cleaner font for the value titles */
    font-weight: 700;
}

.value-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--stark-text-muted);
}


/* Responsive */

@media (max-width: 768px) {
    .stark-values {
        padding: 90px 0;
    }
    .values-header {
        margin-bottom: 50px;
    }
    .value-card {
        padding: 40px 25px;
    }
}


/* =====================================================
   SECTION 5: FAQ
===================================================== */

.faq {
    padding: 40px 0;
    background: var(--stark-light);
}

.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

details {
    background: var(--stark-white);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

summary {
    font-weight: 700;
    color: var(--stark-green);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::after {
    content: "+";
    color: var(--stark-gold);
    font-size: 20px;
}


/* ================= GALLERY CTA (STARK BRANDING) ================= */

.stark-gallery-cta {
    padding: 40px 0;
    background: var(--stark-white);
    /* Maintains clean separation */
}

.gallery-cta-card {
    background: var(--stark-green);
    padding: 80px 40px;
    border-radius: 32px;
    /* Matches the upscale rounded aesthetic */
    text-align: center;
    color: var(--stark-white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--stark-shadow);
}


/* Subtle background texture/decoration */

.gallery-cta-card::before {
    content: "MARANG";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    pointer-events: none;
}

.gallery-cta-card h2 {
    color: var(--stark-white);
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 25px;
    line-height: 1.2;
    z-index: 1;
    position: relative;
}

.gallery-cta-lead {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    z-index: 1;
    position: relative;
}


/* --- ACTIONS --- */

.gallery-cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    z-index: 1;
    position: relative;
}


/* Customizing the outline button for dark background */

.btn-outline-white {
    padding: 18px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--stark-white);
    transition: 0.3s ease;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--stark-white);
}


/* --- FOOTER ELEMENTS --- */

.gallery-cta-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    z-index: 1;
    position: relative;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(242, 210, 2, 0.15);
    /* Soft Gold Glow */
    color: var(--stark-gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--stark-gold);
    border-radius: 50%;
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(242, 210, 2, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(242, 210, 2, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(242, 210, 2, 0);
    }
}

.confidential-note {
    margin-top: 15px;
    font-size: 13px;
    opacity: 0.7;
    font-style: italic;
}


/* --- RESPONSIVE --- */

@media (max-width: 768px) {
    .gallery-cta-card {
        padding: 60px 25px;
    }
    .gallery-cta-actions {
        flex-direction: column;
    }
    .btn-outline-white {
        width: 100%;
    }
}


/* =====================================================
   UTILITIES & ANIMATIONS
===================================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* =====================================================
   RESPONSIVE DESIGN
===================================================== */

@media (max-width: 992px) {
    .hero-canvas,
    .stark-story-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        text-align: left !important;
        left: 0 !important;
    }
    .timeline-item::after {
        left: 13px !important;
    }
}