@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Inter:wght@200;300;400;500;600&display=swap');

:root {
    --text-color: #f7f7f7;
    --bg-color: #0d0d0d;
    --accent: #c2185b;
    --pomegranate: #c2185b;
    --saffron: #d4a017;
    --lapis: #1a3a6b;
    --turquoise: #1a8f7f;
    --malachite: #2e7d52;
    --indigo: #283593;
    --hover: #bdbdbd;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.preloader-logo {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    letter-spacing: 0.3em;
    color: #fff;
    animation: preloaderPulse 1.2s ease-in-out infinite;
}
.preloader-stripe {
    width: 60px;
    height: 3px;
    margin-top: 1.5rem;
    background: repeating-linear-gradient(
        90deg,
        #fff 0px, #fff 4px,
        #000 4px, #000 8px
    );
    animation: preloaderStripe 1s ease-in-out infinite alternate;
}
@keyframes preloaderPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}
@keyframes preloaderStripe {
    0% { width: 30px; }
    100% { width: 80px; }
}

/* Base */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    opacity: 0;
    transition: opacity 0.5s ease;
}
body.loaded {
    opacity: 1;
}

::selection {
    background: #ffffff;
    color: #000000;
}

* {
    box-sizing: border-box;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #000;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

a:hover {
    color: var(--hover);
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: transparent;
    transition: var(--transition);
}

#navbar.scrolled {
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-left, .nav-right {
    display: flex;
    gap: 2rem;
    flex: 1;
}

.nav-right {
    justify-content: flex-end;
}

.nav-center {
    flex: 0 0 auto;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #fff;
}
.logo:hover {
    color: #fff;
    opacity: 0.8;
}

.nav-left a.active,
.nav-right a.active {
    color: #fff;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 201;
}

.mobile-menu-btn span {
    width: 30px;
    height: 1px;
    background: #fff;
    transition: var(--transition);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-overlay a {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    color: #fff;
    transition: var(--transition);
}

.mobile-nav-overlay a:hover {
    color: var(--saffron);
}

.mobile-nav-stripe {
    width: 40px;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        #fff 0px, #fff 3px,
        transparent 3px, transparent 6px
    );
}

/* Hero Sections */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 20%;
    filter: brightness(0.7);
    z-index: -1;
    transform: scale(1.05);
    transition: transform 1s ease-out;
}

.hero:hover .hero-bg {
    transform: scale(1);
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-wrapper video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.65);
}

.video-wrapper.zoomed-video video {
    transform: translate(-50%, -50%) scale(1.2);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content h2 {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.btn-primary {
    display: inline-block;
    padding: 0.75rem 2.5rem;
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    backdrop-filter: blur(2px);
    transition: var(--transition);
}

.btn-primary:hover {
    background: #fff;
    color: #000;
}

/* Split Section */
.split-section {
    display: flex;
    width: 100%;
    height: 100vh;
}

.split-half {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1.5s ease-out, filter 0.8s ease;
    filter: brightness(0.85);
}

.split-half:hover .image-wrapper {
    transform: scale(1.02);
    filter: brightness(1);
}

.split-text {
    position: absolute;
    bottom: 3rem;
    text-align: center;
    width: 100%;
}

.split-text h3 {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.link-underline {
    position: relative;
    display: inline-block;
}

.link-underline::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease, left 0.3s ease;
}

.link-underline:hover::after {
    width: 100%;
    left: 0;
}

.split-text-centered {
    padding: 3rem;
    text-align: center;
    max-width: 600px;
}

.split-text-centered h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
}

.split-text-centered p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #999;
    font-weight: 300;
    margin-bottom: 2rem;
}

.signature {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    letter-spacing: 0.1em;
    color: #fff;
    opacity: 0.7;
}

/* Zebra Stripe Divider */
.zebra-divider {
    width: 100%;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        #fff 0px, #fff 8px,
        #000 8px, #000 16px
    );
    opacity: 0.15;
}

/* Page Header (shared across sub-pages) */
.page-header {
    padding-top: 15vh;
    padding-bottom: 5vh;
    text-align: center;
}
.page-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    letter-spacing: 0.2em;
    font-weight: 500;
    color: #fff;
}
.page-header .subtitle {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: #888;
    margin-top: 1rem;
}

/* About Page */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    line-height: 1.8;
    color: #ddd;
    font-weight: 300;
    text-align: center;
}
.about-image {
    width: 100%;
    height: 60vh;
    background-size: cover;
    background-position: center;
    margin: 3rem 0;
    filter: grayscale(100%) contrast(1.1);
}
.about-quote {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin: 4rem 0;
    color: #fff;
    letter-spacing: 0.05em;
    position: relative;
    padding: 2rem 0;
}
.about-quote::before,
.about-quote::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    margin: 0 auto 1.5rem;
    background: repeating-linear-gradient(
        90deg,
        #fff 0px, #fff 3px,
        transparent 3px, transparent 6px
    );
    opacity: 0.4;
}
.about-quote::after {
    margin: 1.5rem auto 0;
}

/* About Film Section */
.about-film {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}
.about-film-header {
    margin-bottom: 2.5rem;
}
.about-film-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    letter-spacing: 0.25em;
    font-weight: 500;
    color: #fff;
    margin: 0 0 0.75rem;
}
.about-film-header .subtitle {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: #888;
}
.about-film-video {
    position: relative;
    width: 100%;
    border: 1px solid #222;
}
.about-film-video video {
    width: 100%;
    display: block;
    background: #000;
}

/* Lookbook Page */
.lookbook-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.lookbook-item {
    position: relative;
    height: 80vh;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border: 1px solid #222;
    transition: filter 0.6s ease;
}
.lookbook-item.large {
    grid-column: span 2;
    height: 90vh;
}
.lookbook-item:hover {
    filter: brightness(1.1);
}

/* Store Page */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background-color: #1a1a1a;
    padding: 2px;
    margin: 0 auto;
    max-width: 1400px;
}
.product-card {
    background-color: #0d0d0d;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
}
.product-image {
    width: 100%;
    height: 65vh;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.8s ease;
    filter: brightness(0.9);
}
.product-card:hover .product-image {
    transform: scale(1.03);
    filter: brightness(1) contrast(1.1);
}
.product-info {
    padding: 2rem 1rem;
    text-align: center;
    background: #0d0d0d;
    border-top: 1px solid #222;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.product-info::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        var(--saffron) 0px, var(--saffron) 4px,
        transparent 4px, transparent 8px
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}
.product-card:hover .product-info::after {
    opacity: 1;
}
.product-title {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    color: #fff;
    transition: color 0.3s ease;
}
.product-price {
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 0.1em;
    font-weight: 300;
}
.product-card:hover .product-title {
    color: var(--saffron);
}

/* Footer */
.footer {
    background-color: #000;
    padding: 6rem 3rem 2rem;
    border-top: 1px solid #111;
}

.footer-zebra {
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        #333 0px, #333 6px,
        transparent 6px, transparent 12px
    );
    margin-bottom: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 5rem;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-col a {
    display: block;
    margin-bottom: 0.75rem;
    color: #888;
}

.footer-col a:hover {
    color: #fff;
}

.footer-col p {
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.newsletter form {
    display: flex;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
}

.newsletter input {
    background: transparent;
    border: none;
    color: #fff;
    flex: 1;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    outline: none;
}

.newsletter input::placeholder {
    color: #555;
}

.newsletter button {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 0.5rem;
    transition: var(--transition);
}

.newsletter button:hover {
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #111;
    padding-top: 2rem;
}

.socials {
    display: flex;
    gap: 1.5rem;
}

.copyright {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: #555;
}

/* Minimal footer for sub-pages */
.footer-minimal {
    background-color: #000;
    padding: 4rem 3rem 2rem;
}
.footer-minimal .footer-bottom {
    border-top: none;
    justify-content: center;
}

/* Animations */
.slideup {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.slideup.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 1024px) {
    .nav-left, .nav-right { display: none; }
    .mobile-menu-btn { display: flex; }
    #navbar { justify-content: center; }
    .split-section { flex-direction: column; height: auto; }
    .split-half { height: 50vh; }
    .split-text-centered { padding: 4rem 2rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .page-header h1 { font-size: 2rem; }
}

@media (max-width: 768px) {
    .lookbook-grid { grid-template-columns: 1fr; }
    .lookbook-item.large { grid-column: span 1; height: 60vh; }
    .lookbook-item { height: 60vh; }
}

@media (max-width: 600px) {
    .product-grid { grid-template-columns: 1fr; }
    .product-image { height: 60vh; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
    .about-quote { font-size: 1.2rem; }
    .page-header h1 { font-size: 1.5rem; }
}
