/* ULTRA MINIMAL STYLE START */
:root {
    --bg-color: #ffffff;
    --text-color: #111111;
    --text-muted: #666666;
    --accent-color: #000000;
    /* Black accent for high contrast style */
    --card-bg: #f5f5f7;
    /* Very light grey for cards */
    --font-primary: 'Inter', -apple-system, sans-serif;
    --container-width: 1400px;
}

*,
*::before,
*::after {
    box_sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 12px;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Minimal Header */
header {
    padding: 2rem 0;
    background: #fff;
    /* Solid white */
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

header.scrolled {
    border-color: #eee;
}

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

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #000;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

nav a:hover {
    color: #000;
}

/* Modern Premium Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    padding: 0;
    background-color: #000;
    /* Fallback */
}

.hero-bg {
    display: block;
    /* Restore */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/img/hero_new.png');
    /* Use the high-tech abstract one */
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.6;
    animation: heroZoom 20s infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding-left: 2rem;
}

.hero h1 {
    font-size: clamp(3.5rem, 7vw, 6rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -2px;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin-bottom: 3rem;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.scroll-indicator {
    display: none;
}

/* Grid System - The Core Design */
.directions-grid,
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    /* Consistent gap */
    padding-bottom: 4rem;
}

/* Cards - Unified Style */
.direction-card,
.feature-item {
    background-color: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    /* transition: transform 0.3s ease; */
    border: none;
    box-shadow: none;
}

/* Directions Grid - Polished Cards with Images */
.direction-card {
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #000;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-item {
    padding: 2.5rem;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Hover Effect - Minimal Scale */
.direction-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-item:hover {
    transform: scale(0.99);
    /* Slight press effect instead of lift */
    cursor: pointer;
}

/* Card Content */
.card-bg {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    filter: brightness(0.8);
}

.direction-card:hover .card-bg {
    transform: scale(1.1);
    filter: brightness(0.6);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #fff;
    transform: translateY(0);
}

.card-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.card-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.card-arrow {
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: background 0.3s;
}

.direction-card:hover .card-arrow {
    background: #fff;
    color: #000;
}

/* Inner Page Headers - Restore Backgrounds */
.page-header {
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    background-color: #000;
    margin-bottom: 0;
    color: #fff;
    text-align: left;
}

.page-header::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: #fff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
}

/* Feature Items */
.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000;
}

.feature-item p {
    font-size: 1rem;
    color: #666;
}

/* Specific Page styles/* CupCorn Specific - Clean */
.cupcorn-hero {
    position: relative;
    height: 90vh;
    /* Restore height */
    display: flex;
    align-items: center;
    background: #000;
    color: #fff;
    padding: 0;
}

.cupcorn-hero h1 {
    background: linear-gradient(to right, #ffffff, #a8e063);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
    margin-bottom: 2rem;
}

.cupcorn-hero p {
    color: #fff;
    opacity: 0.9;
}

.cupcorn-hero-bg {
    display: block;
    /* Restore */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/img/cupcorn_product_hero.png');
    background-size: cover;
    background-position: center;
    opacity: 0.6;
}

/* Stats - Clean Grid */
.stats-section {
    background: #fff;
    padding: 0 0 4rem;
}

.stats-grid {
    gap: 2rem;
}

.stat-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    text-align: left;
}

.stat-item h3 {
    font-size: 3rem;
    color: #000;
    margin-bottom: 0;
}

.stat-item p {
    font-size: 0.9rem;
    font-weight: 600;
    color: #888;
    margin-top: 0.5rem;
}

/* Premium Split Section */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    background: #fff;
}

.split-image {
    min-height: 500px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.split-content {
    background: transparent;
    padding: 2rem;
}

.split-section:hover .split-image {
    transform: scale(1.02);
}

@media (max-width: 900px) {
    .split-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .split-image {
        min-height: 300px;
        order: -1;
        /* Image first on mobile */
    }
}

/* Product Showcases / Lists */
.content-wrapper ul li::before {
    color: #000;
}

/* Buttons */
.btn-primary,
.cta-section {
    background-color: #000;
    color: #fff;
    border-radius: 12px;
}

.cta-section {
    margin-bottom: 4rem;
}

/* Mobile */
@media (max-width: 768px) {

    .hero h1,
    .page-header h1 {
        font-size: 3rem;
    }

    .split-section {
        grid-template-columns: 1fr;
    }

    .split-image {
        min-height: 300px;
    }
}