@font-face {
    font-family: 'Jora TYGRA';
    src: url('Jora TYGRA Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --color-bg: #f4f4f0;
    /* Off-white, paper-like */
    --color-text: #111111;
    --color-red: #d91c1c;
    /* A slightly more pleasant, aggressive red */
    --border-color: #111111;
    --border-width: 3px;
    --border-solid: var(--border-width) solid var(--border-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    padding: 0;
}

.font-display {
    font-family: 'Jora TYGRA', 'Bebas Neue', 'Impact', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* UTILITIES */
.text-red {
    color: var(--color-red);
}

.text-white {
    color: #fff;
}

.bg-dark {
    background-color: var(--color-text);
}

.red-bg {
    background-color: var(--color-red);
    color: white;
}

.black-bg {
    background-color: #000;
    color: white;
}

.d-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-lg {
    max-width: 800px;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-lg-soft {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
}

.p-lg {
    padding: 3rem;
}

.p-md {
    padding: 2rem;
}

.p-sm {
    padding: 1rem;
}

.mb-md {
    margin-bottom: 2rem;
}

.mb-sm {
    margin-bottom: 1rem;
}

.mt-sm {
    margin-top: 1rem;
}

.mt-md {
    margin-top: 2rem;
}

.mt-lg {
    margin-top: 4rem;
}

.pb-0 {
    padding-bottom: 0 !important;
}

/* ABOUT PAGE SPLIT LAYOUT (D&G Inspired) */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    border-bottom: var(--border-solid);
}

.split-section.order-reverse {
    grid-template-columns: 1fr 1fr;
}

.split-section.order-reverse .split-content {
    grid-column: 2;
    grid-row: 1;
}

.split-section.order-reverse .split-image {
    grid-column: 1;
    grid-row: 1;
}

.split-content {
    padding: 4rem;
}

.content-wrapper {
    max-width: 600px;
    width: 100%;
}

.split-image {
    position: relative;
    overflow: hidden;
    background-color: #111;
}

.split-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.border-right {
    border-right: var(--border-solid);
}

/* TYPOGRAPHY EXTRAS */
.neon-text-red {
    text-shadow: 0 0 10px rgba(217, 28, 28, 0.8), 0 0 20px rgba(217, 28, 28, 0.4);
}

.red-glow {
    color: var(--color-red);
    text-shadow: 0 0 15px var(--color-red), 0 0 30px var(--color-red);
}

.story-text {
    font-size: 1.15rem;
    line-height: 1.6;
}

.emotion-list {
    list-style: none;
    font-size: 1.25rem;
}

.emotion-list li {
    margin-bottom: 1rem;
    border-left: 2px solid var(--color-red);
    padding-left: 1rem;
}

.emotion-list li strong {
    color: var(--color-red);
    display: block;
    font-size: 1.5rem;
    font-family: 'Jora TYGRA', 'Bebas Neue', 'Impact', sans-serif;
    letter-spacing: 1px;
}

.feature-item h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 1.1rem;
    line-height: 1.5;
}

.why-try p {
    font-size: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1rem;
}

.crystal-btn {
    background: linear-gradient(135deg, #ff4d4d, var(--color-red), #990000);
    color: white;
    font-size: 2.5rem;
    padding: 1.5rem 3rem;
    border: 3px solid #ff9999;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(217, 28, 28, 0.5), inset 0 2px 5px rgba(255, 255, 255, 0.5);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.crystal-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 30px rgba(217, 28, 28, 0.7), inset 0 2px 5px rgba(255, 255, 255, 0.8);
    border-color: #ffffff;
}

.crystal-btn:active {
    transform: translateY(2px);
    box-shadow: 0 5px 10px rgba(217, 28, 28, 0.5);
}

/* WRAPPER */
.page-wrapper {
    width: 100%;
    margin: 0;
    background-color: var(--color-bg);
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: var(--border-solid);
    position: sticky;
    top: 0;
    background-color: var(--color-bg);
    z-index: 100;
}

.logo {
    font-size: 2.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-svg {
    height: 48px;
    width: 48px;
    color: var(--color-red);
    animation: rotateBurst 30s linear infinite;
    transition: transform 0.3s ease;
}

@keyframes rotateBurst {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.logo-svg:hover {
    transform: scale(1.1) rotate(15deg);
    filter: drop-shadow(0px 0px 10px rgba(217, 28, 28, 0.6));
}

.nav-center {
    display: flex;
    gap: 2rem;
    font-size: 1.4rem;
}

.nav-center a {
    color: var(--color-text);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}

.nav-center a:hover,
.nav-center a.active {
    color: var(--color-red);
}

.nav-center a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-red);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.4rem;
}

.nav-right a {
    color: var(--color-text);
    text-decoration: none;
}

.nav-right a:hover {
    color: var(--color-red);
}

.p-badge {
    padding: 0.2rem 1rem;
    border: 2px solid var(--color-text);
}

/* HERO SECTION */
.hero-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    border-bottom: var(--border-solid);
    background-image: linear-gradient(var(--border-color) 1px, transparent 1px), linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center;
    background-color: #e5e5e0;
    min-height: 80vh;
}

.hero-content {
    padding: 4rem 3rem;
    background-color: var(--color-bg);
    border-right: var(--border-solid);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.border-left {
    border-left: var(--border-solid);
}

.huge-title {
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 0.9;
    letter-spacing: -1px;
}

.manifesto {
    font-size: 1.25rem;
    font-weight: 500;
    max-width: 600px;
    line-height: 1.6;
}

.btn-primary {
    align-self: flex-start;
    background-color: var(--color-red);
    color: white;
    font-size: 2rem;
    padding: 1rem 2rem;
    border: var(--border-solid);
    cursor: pointer;
    box-shadow: 6px 6px 0px var(--color-text);
    transition: transform 0.1s, box-shadow 0.1s;
}

.btn-primary:hover {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0px var(--color-text);
}

.btn-primary:active {
    transform: translate(6px, 6px);
    box-shadow: 0px 0px 0px var(--color-text);
}

.hero-visual {
    background-color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.highlight-box {
    border: var(--border-solid);
    border-color: var(--color-red);
    padding: 2rem;
    background: transparent;
    transform: rotate(-2deg);
    position: relative;
    z-index: 2;
}

.highlight-text {
    font-size: 5rem;
    color: #fff;
    line-height: 0.9;
    text-shadow: 4px 4px 0px var(--color-red);
}

/* STOREFRONT */
.storefront {
    background-color: var(--color-bg);
}

.store-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: var(--border-solid);
    padding-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    line-height: 1;
}

.filters {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--color-text);
    font-size: 1.2rem;
    padding: 0.2rem 1rem;
    cursor: pointer;
}

.filter-btn:hover {
    background-color: #e0e0e0;
}

.filter-btn.active {
    background-color: var(--color-text);
    color: white;
}

/* PRODUCT GRID (Legacy) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* 3D CAROUSEL CONTAINER (Spatial Tunnel) */
.carousel-container {
    position: relative;
    width: 100%;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    /* Prevent card shadow/badge clipping */
    margin-top: 1rem;
    background: transparent;
    perspective: 1500px;
    /* crucial for the tunnel depth */
    transform-style: preserve-3d;
}

.carousel-container .product-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 350px;
    height: auto;
    background: var(--color-bg);
    border: 3px solid var(--color-text);
    overflow: visible;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s ease, filter 0.6s ease;
    cursor: pointer;
    margin: 0;
    will-change: transform, opacity, filter, z-index;
}

/* Active center card styling */
.carousel-container .product-card.active-card {
    border-color: var(--color-red);
    box-shadow: 20px 20px 0px rgba(0, 0, 0, 1);
    cursor: default;
}

.carousel-container .product-card.active-card:hover {
    transform: translate(-50%, -50%) scale(1.17) translateY(-4px) !important;
}

/* Hide descriptions and buttons on inactive cards for cleaner spatial Look */
.carousel-container .product-card:not(.active-card) .product-desc,
.carousel-container .product-card:not(.active-card) .btn-add,
.carousel-container .product-card:not(.active-card) .stock-status {
    display: none;
}

/* Re-layout product info inline for inactive cards */
.carousel-container .product-card:not(.active-card) .product-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
}

.carousel-container .product-card:not(.active-card) .price-row {
    margin: 0;
}

.carousel-container .product-card:not(.active-card) .product-title {
    font-size: 1.6rem;
    margin: 0;
}

.product-card {
    border: var(--border-solid);
    background: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s;
}

.product-grid .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 1);
}

.badge {
    position: absolute;
    top: 10px;
    left: -10px;
    font-size: 1.2rem;
    padding: 0.2rem 0.8rem;
    border: 2px solid var(--color-text);
    z-index: 10;
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 1);
}

.product-image {
    height: 250px;
    background-color: #222;
    border-bottom: var(--border-solid);
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.placeholder-dark {
    background: repeating-linear-gradient(45deg, #111, #111 10px, #222 10px, #222 20px);
}

.neon-text-cyan {
    color: #4df;
    text-shadow: 0 0 10px rgba(68, 221, 255, 0.5), 0 0 20px rgba(68, 221, 255, 0.3), 0 0 30px rgba(68, 221, 255, 0.2);
}

.placeholder-noise {
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>') #333;
}

.placeholder-blur {
    background: radial-gradient(circle at center, #555, #000);
}

.placeholder-minimal {
    background-color: #eaeaea;
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 0.95rem;
    color: #444;
    flex-grow: 1;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 2px dashed #ccc;
    padding-top: 1rem;
}

.price {
    font-size: 2.5rem;
    line-height: 1;
}

.stock-status {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-add {
    background-color: var(--color-bg);
    border: none;
    border-top: var(--border-solid);
    font-size: 1.5rem;
    padding: 1rem;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    width: 100%;
}

.btn-add:hover {
    background-color: var(--color-text);
    color: white;
}

.red-add {
    background-color: var(--color-red);
    color: white;
}

.red-add:hover {
    background-color: #a30000;
}

/* FOOTER */
.footer {
    border-top: var(--border-solid);
    background-color: var(--color-text);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.text-lg {
    font-size: 4rem;
    line-height: 1;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    font-size: 1.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--color-red);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 2rem;
    text-align: center;
    font-size: 1.2rem;
    color: #888;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-section {
        grid-template-columns: 1fr;
    }

    .hero-content {
        border-right: none;
        border-bottom: var(--border-solid);
    }

    .hero-visual {
        min-height: 300px;
    }

    .store-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .split-section.reverse-mobile {
        display: flex;
        flex-direction: column;
    }

    .split-section.order-reverse .split-content,
    .split-section.order-reverse .split-image {
        grid-column: auto;
        grid-row: auto;
    }

    .split-image {
        min-height: 400px;
        border-left: none !important;
        border-right: none !important;
        border-top: var(--border-solid);
    }

    .huge-title {
        font-size: 3rem;
    }

    .split-content {
        padding: 2rem;
    }

    .crystal-btn {
        font-size: 1.5rem;
        padding: 1rem 1.5rem;
        width: 100%;
    }
}

/* BOUTIQUE 111 GRID LAYOUT */
.boutique-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 1rem;
    padding: 1rem;
    background-color: #050505;
}

.b-item {
    position: relative;
    overflow: hidden;
    background-color: #111;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.b-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.4s ease, transform 4s ease;
}

.b-item:hover img {
    opacity: 0.8;
    transform: scale(1.05);
}

.b-overlay {
    position: relative;
    z-index: 2;
    padding: 3rem;
    color: white;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
}

.b-overlay-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    text-align: center;
    background: none;
    padding: 0;
}

/* Span classes for the grid */
.b-span-12 {
    grid-column: span 12;
}

.b-span-8 {
    grid-column: span 8;
}

.b-span-6 {
    grid-column: span 6;
}

.b-span-4 {
    grid-column: span 4;
}

.b-span-3 {
    grid-column: span 3;
}

/* Text variations for boutique layout */
.b-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1;
    text-transform: uppercase;
}

.b-subtitle {
    font-size: 1.5rem;
    color: var(--color-red);
    margin-bottom: 0.5rem;
}

.b-text {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    opacity: 0.9;
}

.b-text-center {
    margin-left: auto;
    margin-right: auto;
}

/* Specific heights */
.h-lg {
    min-height: 70vh;
}

.h-md {
    min-height: 50vh;
}

.h-sm {
    min-height: 40vh;
}

@media (max-width: 900px) {

    .b-span-8,
    .b-span-6,
    .b-span-4,
    .b-span-3 {
        grid-column: span 12;
    }

    .b-title {
        font-size: 2.5rem;
    }

    .b-item {
        min-height: 350px;
    }

    .h-lg,
    .h-md {
        min-height: 50vh;
    }
}