/* 
 * Naya Çiçekçilik - Main Design System
 * Faz 1 & Faz 2: Core Typography, Layout & Themes
 */

:root {
    /* Color Palette - Premium 2026 */
    --bg-dark: #0A0A0A;
    --bg-light: #F9F7F2;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --accent: #D4AF37; /* Muted Gold */
    --surface: rgba(255, 255, 255, 0.03);
    --glass: rgba(255, 255, 255, 0.05);
    --transition-smooth: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
    line-height: 1.6;
}

body.loading {
    overflow: hidden;
}

/* --- Grain & Gradient Backgrounds --- */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.04;
    pointer-events: none;
    z-index: 999;
}

.gradient-sphere {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(10, 10, 10, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

/* --- Navigation --- */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 60px;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1800px;
    margin: 0 auto;
}

.brand-logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 300;
    letter-spacing: -0.5px;
}

.brand-logo span {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-top: -5px;
    opacity: 0.6;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-container {
    width: 100%;
    max-width: 1800px;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 100px;
}

.hero-visual-wrapper {
    position: relative;
    height: 85vh;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, black 85%, transparent);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 8vw, 10rem);
    font-weight: 300;
    line-height: 0.9;
    margin-bottom: 30px;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .word {
    display: inline-block;
    transform: translateY(110%);
}

.hero-title .italic {
    font-style: italic;
    font-weight: 400;
}

.hero-subline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 450px;
    margin-bottom: 50px;
}

/* --- Info Section --- */
.info-section {
    padding: 200px 0;
    background: var(--bg-dark);
}

.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 60px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.display-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 5vw, 6rem);
    font-weight: 300;
    line-height: 1.1;
}

.section-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--accent);
    margin-bottom: 20px;
}

.floating-img-container {
    height: 600px;
    overflow: hidden;
    clip-path: inset(0 0 0 0);
}

.floating-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
}

/* --- Horizontal Gallery --- */
.gallery-horizontal-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.horizontal-scroll-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
}

.horizontal-inner {
    display: flex;
    padding: 0 10vw;
    gap: 15vw;
}

.horizontal-item {
    flex-shrink: 0;
    width: 60vw;
    height: 70vh;
    position: relative;
}

.gallery-slide {
    width: 500px;
    height: 700px;
}

.slide-img-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-num {
    font-family: var(--font-serif);
    font-size: 5rem;
    opacity: 0.1;
    display: block;
    margin-bottom: -20px;
}

.slide-title {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 8vw, 10rem);
    font-weight: 300;
    line-height: 0.9;
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5000;
}

.preloader-text {
    font-family: var(--font-serif);
    font-size: 2rem;
    letter-spacing: 10px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.preloader-bar-container {
    width: 200px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.preloader-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--text-primary);
}

/* --- Custom Cursor --- */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.cursor-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--text-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.cursor-circle {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border 0.3s;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .nav-container { padding: 20px 30px; }
    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 15vh;
    }
    .hero-visual-wrapper { height: 50vh; order: 2; }
    .hero-content { order: 1; }
    .info-grid { grid-template-columns: 1fr; }
    .horizontal-item { width: 80vw; }
}
