/* Haros Parfüm - Modern Light/Dark Theme */

:root {
    /* Light Theme (Default) */
    --bg-primary: #fafafa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f5f5f5;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #e0e0e0;
    --accent-primary: #D4AF37;
    --accent-secondary: #C9A020;
    --accent-tertiary: #E8C547;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --gradient-primary: linear-gradient(135deg, #D4AF37 0%, #C9A020 100%);
    --gradient-secondary: linear-gradient(135deg, #E8C547 0%, #C9A020 100%);
    --gradient-hero: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(201, 160, 32, 0.1) 100%);
}

[data-theme="dark"] {
    /* Dark Theme */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --text-primary: #f5f5f5;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --border-color: #333333;
    --accent-primary: #E8C547;
    --accent-secondary: #D4AF37;
    --accent-tertiary: #F0D970;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --gradient-primary: linear-gradient(135deg, #E8C547 0%, #D4AF37 100%);
    --gradient-secondary: linear-gradient(135deg, #F0D970 0%, #D4AF37 100%);
    --gradient-hero: linear-gradient(135deg, rgba(232, 197, 71, 0.15) 0%, rgba(212, 175, 55, 0.15) 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    letter-spacing: 0.01em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

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

.page-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

/* Header & Navigation */
header.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px) saturate(180%);
    background: rgba(var(--bg-secondary-rgb, 255, 255, 255), 0.8);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

/* Auto-hide header on scroll */
header.site-header {
    transition: transform 0.3s ease-in-out;
}

header.site-header.header-hidden {
    transform: translateY(-100%);
}

/* Ensure smooth transition */
@media (max-width: 768px) {
    header.site-header {
        transition: transform 0.25s ease-in-out;
    }
}

[data-theme="dark"] header.site-header {
    background: rgba(26, 26, 26, 0.8);
}

.nav-bar {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.brand img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    object-fit: cover;
    transition: transform 0.2s ease;
}

.brand:hover img {
    transform: scale(1.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s ease;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.shop-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.shop-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.nav-links a.active {
    color: var(--accent-primary);
    background: var(--bg-tertiary);
    font-weight: 600;
}

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
    display: none;
    /* Hidden by default (desktop) */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger animation when menu is open */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    border: 2px solid var(--accent-primary);
    background: var(--bg-secondary);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 15px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--accent-primary);
    color: white;
}

.btn.primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.btn.primary:hover {
    opacity: 0.9;
}



.card-body {
    padding: 24px;
}

/* Grid */
.grid {
    display: grid;
    gap: 24px;
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    display: grid;
    gap: 40px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    border-radius: 24px;
    z-index: -1;
    opacity: 0.5;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 680px;
    line-height: 1.7;
}

.hero-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-visual:hover img {
    transform: scale(1.05);
}

/* Sections */
.section-heading {
    margin: 48px 0 24px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.section-block {
    margin-top: 60px;
}

.muted {
    color: var(--text-muted);
    font-size: 15px;
}

.stack {
    display: grid;
    gap: 16px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    align-items: start;
}

.panel {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    transition: all 0.3s ease;
}

.panel:hover {
    border-color: var(--accent-secondary);
    box-shadow: var(--shadow-md);
}

.panel h3 {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
    margin-top: 80px;
    padding: 60px 0 0;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 48px;
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.footer-section h4 {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.footer ul li {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer ul li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.footer ul li a:hover {
    color: var(--accent-primary);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 0.03em;
}

/* Input */
.input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.2s ease;
}

.input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.input::placeholder {
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .page-shell {
        padding: 32px 16px 60px;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-heading {
        font-size: 28px;
        margin: 36px 0 20px;
    }

    .nav-bar {
        padding: 12px 16px;
    }

    .brand {
        font-size: 16px;
    }

    .brand img {
        width: 36px;
        height: 36px;
    }

    .shop-link span {
        display: none;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .section-heading {
        font-size: 24px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Pill - Heading Style */
.pill {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 999px;
    background: var(--gradient-primary);
    color: #000000;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: var(--shadow-md);
    margin-bottom: 16px;
}

[data-theme="dark"] .pill {
    color: white;
}

.badge {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(201, 160, 32, 0.2));
    border: 1px solid var(--accent-secondary);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 500;
}

/* Enhanced Responsive Design */

/* Tablet (768px and below) */
@media (max-width: 768px) {

    /* Navbar */
    .nav-bar {
        padding: 12px 16px;
        position: relative;
    }

    /* Show hamburger menu on mobile */
    .mobile-menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .nav-links {
        position: fixed;
        top: 73px;
        /* Below header */
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        margin: 0;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        max-height: 500px;
        opacity: 1;
    }

    .nav-links a {
        width: 100%;
        text-align: left;
        padding: 14px 16px;
        border-bottom: 1px solid var(--border-color);
        margin: 0;
        /* Ensure all links have the same style */
        font-weight: 500;
        font-size: 14px;
        color: var(--text-secondary);
        background: transparent;
    }

    .nav-links a:hover {
        color: var(--text-primary);
        background: var(--bg-tertiary);
    }

    .nav-links a.active {
        color: var(--accent-primary);
        background: var(--bg-tertiary);
        font-weight: 600;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    /* Hero */
    .hero {
        padding: 40px 0 30px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .pill {
        font-size: 14px;
        padding: 8px 20px;
    }

    /* Sections */
    .section-heading {
        font-size: 28px;
        margin: 32px 0 16px;
    }

    .section-block {
        margin-top: 40px;
    }

    .page-shell {
        padding: 24px 16px 60px;
    }

    /* Cards */
    .card-body {
        padding: 20px;
    }

    .panel {
        padding: 20px;
    }

    /* Footer */
    .footer {
        margin-top: 60px;
    }

    .footer-inner {
        padding: 0 16px 32px;
        gap: 28px;
    }

    .footer-section h4 {
        font-size: 16px;
    }
}

/* Mobile (640px and below) */
@media (max-width: 640px) {

    /* Navbar - Stack vertically */
    .nav-bar {
        padding: 10px 12px;
    }

    .brand {
        font-size: 16px;
    }

    .brand img {
        width: 32px;
        height: 32px;
    }

    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .shop-link {
        padding: 8px 16px;
        font-size: 13px;
    }

    .nav-links a {
        font-size: 13px;
        padding: 8px 10px;
    }

    /* Hero */
    .hero {
        padding: 30px 0 20px;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 15px;
    }

    .pill {
        font-size: 13px;
        padding: 6px 16px;
    }

    .tag-row {
        gap: 8px;
    }

    .badge {
        font-size: 11px;
        padding: 5px 10px;
    }

    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }

    .cta-row {
        flex-direction: column;
        gap: 12px;
    }

    /* Sections */
    .section-heading {
        font-size: 24px;
    }

    .section-block {
        margin-top: 32px;
    }

    .page-shell {
        padding: 20px 12px 40px;
    }

    /* Grid */
    .grid {
        gap: 16px;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Cards */
    .card-body {
        padding: 16px;
    }

    .panel {
        padding: 16px;
    }

    .panel h3 {
        font-size: 18px;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 12px 24px;
    }

    .footer-section h4 {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .footer ul {
        gap: 10px;
    }

    .footer ul li {
        font-size: 13px;
    }

    .footer-bottom {
        padding: 16px;
        font-size: 12px;
    }

    /* Input */
    .input {
        padding: 12px 14px;
        font-size: 14px;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {

    /* Navbar - Ultra compact */
    .nav-bar {
        padding: 8px 10px;
    }

    .brand {
        font-size: 15px;
        gap: 8px;
    }

    .brand img {
        width: 28px;
        height: 28px;
    }

    .nav-actions {
        gap: 8px;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .shop-link {
        padding: 6px 12px;
        font-size: 12px;
    }

    .shop-link span {
        display: none;
    }

    .nav-links {
        gap: 4px;
        padding-top: 10px;
        margin-top: 10px;
    }

    .nav-links a {
        font-size: 12px;
        padding: 8px 8px;
    }

    /* Hero */
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .pill {
        font-size: 12px;
        padding: 5px 14px;
    }

    .badge {
        font-size: 10px;
        padding: 4px 8px;
    }

    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* Sections */
    .section-heading {
        font-size: 22px;
        margin: 24px 0 12px;
    }

    .page-shell {
        padding: 16px 10px 32px;
    }

    /* Cards */
    .card-body {
        padding: 14px;
    }

    .panel {
        padding: 14px;
    }

    .panel h3 {
        font-size: 16px;
    }

    .muted {
        font-size: 14px;
    }

    /* Footer */
    .footer-section h4 {
        font-size: 14px;
    }

    .footer ul li {
        font-size: 12px;
    }
}

/* Landscape Mobile */
@media (max-width: 896px) and (orientation: landscape) {
    .hero {
        padding: 20px 0;
    }

    .hero h1 {
        font-size: 30px;
    }

    .section-block {
        margin-top: 30px;
    }
}