/* ==========================================================================
   KOÇER KOZMETİK — ARCHITECTURAL & EDITORIAL DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-white: #ffffff;
    --bg-light: #fafafa;
    --bg-dark: #0d0d0d;
    --bg-card: #ffffff;
    --text-primary: #111111;
    --text-muted: #555555;
    --text-label: #777777;
    --border-color: #eaeaea;
    --border-dark: #222222;
    --whatsapp-green: #25D366;

    /* Typography */
    --font-main: 'Plus Jakarta Sans', Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Layout & Spacing */
    --header-height: 64px;
    --container-padding-mobile: 20px;
    --container-padding-desktop: 64px;
    --max-width: 1280px;

    /* Radius & Transitions */
    --radius-sm: 6px;
    --radius-md: 8px;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-white);
    color: var(--text-primary);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Global Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: var(--container-padding-mobile);
    padding-right: var(--container-padding-mobile);
}

@media (min-width: 1024px) {
    .container {
        padding-left: var(--container-padding-desktop);
        padding-right: var(--container-padding-desktop);
    }
}

/* Typography Scale */
.label-uppercase {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-label);
    display: block;
    margin-bottom: 12px;
}

.label-uppercase-dark {
    color: #888888;
}

h1, h2, h3, h4 {
    color: var(--text-primary);
    word-break: normal;
    overflow-wrap: anywhere;
}

h1 {
    font-size: clamp(30px, 6vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 600;
    line-height: 1.3;
}

p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Header & Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-logo .part-kocer {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.brand-logo .part-kozmetik {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--text-label);
    margin-top: 2px;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1002;
}

.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Off-Canvas Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    background: var(--bg-white);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px var(--container-padding-mobile);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: var(--transition);
}

.mobile-drawer.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-link {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 24px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    width: 100%;
}

@media (min-width: 640px) {
    .btn { width: auto; }
}

.btn-dark {
    background: #111111;
    color: #ffffff;
}

.btn-dark:hover {
    background: #333333;
}

.btn-outline {
    background: transparent;
    border-color: #111111;
    color: #111111;
}

.btn-outline:hover {
    background: #111111;
    color: #ffffff;
}

.btn-white {
    background: #ffffff;
    color: #111111;
}

.btn-white:hover {
    background: #eaeaea;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    padding-top: var(--header-height);
    padding-bottom: 60px;
    background: var(--bg-dark);
    color: #ffffff;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.45;
    filter: grayscale(100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero-title {
    color: #ffffff;
    margin-bottom: 16px;
}

.hero-desc {
    color: #cccccc;
    font-size: 16px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 640px) {
    .hero-actions { flex-direction: row; }
}

/* Sections & Cards */
.section-white {
    background: var(--bg-white);
    padding: 64px 0;
}

.section-dark {
    background: var(--bg-dark);
    color: #ffffff;
    padding: 64px 0;
}

.section-dark h2, .section-dark p {
    color: #ffffff;
}

.grid-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
}

@media (min-width: 768px) {
    .grid-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid-cards { grid-template-columns: repeat(3, 1fr); }
}

.card-minimal {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
}

.card-minimal:hover {
    border-color: #111111;
    transform: translateY(-2px);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-textarea {
    height: auto;
    min-height: 120px;
    padding: 14px 16px;
    resize: vertical;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: #111111;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #111111;
}

.error-message {
    color: #dc2626;
    font-size: 12px;
    margin-top: 6px;
    display: none;
}

.success-box {
    display: none;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: var(--radius-md);
    text-align: center;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
    background: var(--whatsapp-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 990;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.05);
}

.whatsapp-float svg {
    width: 26px;
    height: 26px;
    fill: #ffffff;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Desktop Navigation Breakpoint */
@media (min-width: 1024px) {
    .nav-desktop { display: flex; }
    .hamburger-btn { display: none; }
}
