/* style.css - Sonpet Kimya Premium Dark Theme */

:root {
    --bg-main: #0a0a0c;
    --bg-card: #131418;
    --bg-input: #1b1d22;
    --neon-red: #ff2a2a;
    --neon-red-glow: rgba(255, 42, 42, 0.35);
    --neon-red-heavy: rgba(255, 42, 42, 0.6);
    --text-main: #f5f5f7;
    --text-muted: #a1a1aa;
    --border-color: #27272a;
    --font-main: 'Outfit', sans-serif;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

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

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.text-neon {
    color: var(--neon-red);
    text-shadow: 0 0 15px var(--neon-red-glow);
}

.highlight {
    color: #fff;
    font-weight: 600;
}

.center {
    text-align: center;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.neon-badge {
    background: rgba(255, 42, 42, 0.1);
    color: var(--neon-red);
    border: 1px solid var(--neon-red-glow);
    box-shadow: 0 0 10px rgba(255, 42, 42, 0.15);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--neon-red);
    color: white;
    box-shadow: 0 4px 15px var(--neon-red-glow);
}

.btn-primary:hover {
    background-color: #ff4040;
    box-shadow: 0 6px 25px var(--neon-red-heavy);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-card);
    border-color: var(--text-muted);
}

.btn-large {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition);
    padding: 1.5rem 0;
}

nav.scrolled {
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.2));
    border-radius: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn-primary) {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn-primary):hover {
    color: white;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--neon-red);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: rgba(19, 20, 24, 0.98);
    backdrop-filter: blur(15px);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: var(--transition);
    border-left: 1px solid var(--border-color);
}

.mobile-menu.active {
    right: 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at center, rgba(10, 10, 12, 0.7) 0%, rgba(10, 10, 12, 1) 100%),
        url('foto/hero.jpeg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--neon-red-glow) 0%, transparent 60%);
    opacity: 0.4;
    z-index: 2;
    pointer-events: none;
    filter: blur(80px);
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 3;
    position: relative;
}

.hero-actions {
    margin-top: 2.5rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Features/About Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 42, 42, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 42, 42, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--neon-red);
}

.highlight-card {
    border-color: var(--neon-red-glow);
    background: linear-gradient(145deg, var(--bg-card), rgba(255, 42, 42, 0.05));
}

/* Products Section */
.products {
    background-color: var(--bg-main);
}

.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.carousel-controls {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover:not(:disabled) {
    border-color: var(--neon-red);
    color: var(--neon-red);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.product-carousel {
    display: grid;
    grid-template-rows: auto;
    /* Single Row */
    grid-auto-flow: column;
    grid-auto-columns: 280px;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0 3rem 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
}

.product-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome */
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 42, 42, 0.1);
    border-color: rgba(255, 42, 42, 0.4);
}

.product-image-container {
    width: 100%;
    height: 220px;
    position: relative;
    background-color: #fff;
    /* To contrast the product items better if they are transparent or light, but they are photos, so white is standard */
    overflow: hidden;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    z-index: 2;
    position: relative;
}

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

/* Subtle glow behind image for premium feel inside the dark theme */
.product-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, var(--neon-red-glow) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
    filter: blur(20px);
}

.product-card:hover .product-glow {
    opacity: 1;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
}

.category {
    font-size: 0.9rem;
    color: var(--neon-red);
    margin-bottom: 1rem;
    font-weight: 500;
}

.size-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.size-tag {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--bg-card);
    padding: 4rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.contact-list {
    margin-top: 2rem;
}

.contact-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.contact-list li strong {
    color: var(--text-muted);
}

.contact-form-placeholder {
    background: var(--bg-main);
    padding: 2.5rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}

.contact-form-placeholder form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.contact-form-placeholder input,
.contact-form-placeholder textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form-placeholder input:focus,
.contact-form-placeholder textarea:focus {
    outline: none;
    border-color: var(--neon-red);
    box-shadow: 0 0 0 2px rgba(255, 42, 42, 0.2);
}

.mb-1 {
    margin-bottom: 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    background: var(--bg-main);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Variables */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    .contact-box {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }

    .product-carousel {
        grid-auto-columns: 240px;
        /* Slightly narrower on tablet */
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-bg-glow {
        width: 90vw;
        height: 90vw;
    }

    /* On mobile, sometimes single row is better for swiping */
    .product-carousel {
        grid-template-rows: auto;
        grid-auto-columns: 260px;
    }

    .carousel-controls {
        display: none;
        /* Hide buttons on mobile, emphasize swipe */
    }

    .hero {
        padding-top: 120px;
        min-height: 80vh;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section {
        padding: 4rem 0;
    }
}