/* =============================================
   LUXURY PERFUME WEBSITE — DESIGN SYSTEM
   Color Palette:
     Primary BG:  #0B0B0C
     Secondary:   #1A1A1D
     Accent Gold: #D4AF37
     Text White:  #F5F5F5
     Text Gray:   #BFBFBF
   ============================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
    --bg-primary: #0B0B0C;
    --bg-secondary: #1A1A1D;
    --bg-card: rgba(26, 26, 29, 0.6);
    --accent: #D4AF37;
    --accent-light: #E8C84A;
    --accent-dark: #B8962E;
    --text-white: #F5F5F5;
    --text-gray: #BFBFBF;
    --text-muted: #7A7A7A;
    --gold-glow: 0 0 20px rgba(212, 175, 55, 0.3);
    --gold-glow-strong: 0 0 40px rgba(212, 175, 55, 0.5);
    --glass-bg: rgba(26, 26, 29, 0.4);
    --glass-border: rgba(212, 175, 55, 0.1);
    --glass-blur: blur(20px);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition-fast: 0.2s ease;
    --transition-base: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

/* ---------- Utility ---------- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 8rem 0;
}

.text-gold { color: var(--accent); }
.text-gray { color: var(--text-gray); }

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(11, 11, 12, 0.9);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

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

.navbar-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-white);
}

.navbar-logo span {
    color: var(--accent);
}

.navbar-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.navbar-links a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-gray);
    position: relative;
    padding-bottom: 4px;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--transition-base);
}

.navbar-links a:hover {
    color: var(--accent);
}

.navbar-links a:hover::after {
    width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition-fast);
}

/* ---------- HERO SECTION ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35);
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0%   { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(11, 11, 12, 0.3) 0%,
        rgba(11, 11, 12, 0.6) 50%,
        rgba(11, 11, 12, 0.95) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease 0.3s both;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.5s both;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-gray);
    font-weight: 300;
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 1s ease 0.7s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--bg-primary);
    box-shadow: var(--gold-glow);
}

.btn-primary:hover {
    box-shadow: var(--gold-glow-strong);
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent);
    box-shadow: var(--gold-glow);
}

.hero .btn {
    animation: fadeInUp 1s ease 0.9s both;
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1rem;
    max-width: 550px;
    margin: 0 auto;
    font-weight: 300;
}

/* ---------- PRODUCTS SECTION ---------- */
.products-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0) 50%, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: background var(--transition-base);
    pointer-events: none;
}

.product-card:hover::before {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.1) 50%, rgba(212, 175, 55, 0.3));
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), var(--gold-glow);
}

.product-image {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-info .description {
    color: var(--text-gray);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-info .price {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent);
}

.product-info .price::before {
    content: '₺';
    font-size: 0.9rem;
    vertical-align: top;
    margin-right: 2px;
}

/* ---------- ABOUT SECTION ---------- */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.2);
}

.about-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(11, 11, 12, 0.85) 0%,
        rgba(11, 11, 12, 0.7) 100%
    );
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-weight: 300;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-top: 0.25rem;
}

.about-visual {
    position: relative;
}

.about-visual .image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.about-visual .image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-visual:hover .image-wrapper img {
    transform: scale(1.03);
}

.about-visual .image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

/* ---------- SHOWCASE SECTION ---------- */
.showcase-section {
    padding: 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.showcase-image {
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.showcase-image:hover img {
    transform: scale(1.05);
}

.showcase-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    background: var(--bg-secondary);
}

.showcase-text .label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.showcase-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.showcase-text p {
    color: var(--text-gray);
    font-weight: 300;
    line-height: 1.8;
    max-width: 450px;
}

.showcase-row-reverse {
    direction: rtl;
}
.showcase-row-reverse > * {
    direction: ltr;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    text-align: center;
    background: linear-gradient(
        180deg,
        var(--bg-primary) 0%,
        var(--bg-secondary) 40%,
        var(--bg-secondary) 60%,
        var(--bg-primary) 100%
    );
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

/* ---------- FOOTER ---------- */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.footer-logo span {
    color: var(--accent);
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--text-gray);
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: var(--gold-glow);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    .showcase-text {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.2rem;
    }
    .section-padding {
        padding: 5rem 0;
    }
    .navbar-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(11, 11, 12, 0.95);
        backdrop-filter: var(--glass-blur);
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--glass-border);
    }
    .navbar-links.active {
        display: flex;
    }
    .menu-toggle {
        display: flex;
    }
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .product-image {
        height: 250px;
    }
    .about-stats {
        gap: 2rem;
    }
    .showcase-image {
        min-height: 300px;
    }
    .showcase-row-reverse {
        direction: ltr;
    }
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .btn {
        padding: 0.85rem 2rem;
        font-size: 0.8rem;
    }
    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}
