:root {
    /* Light Mode Variables */
    --bg-color: #FFFFFF;
    --text-color: #000000;
    --text-secondary: #333333;
    --accent-color: #CC9966;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --card-bg: #F5F5F5;
    --border-color: #E0E0E0;

    /* Spacing & Layout */
    --container-padding: 2rem;
    --max-width: 1200px;
    --header-height: 80px;
}

[data-theme="dark"] {
    /* Dark Mode Variables */
    --bg-color: #121212;
    --text-color: #FFFFFF;
    --text-secondary: #E0E0E0;
    --nav-bg: rgba(18, 18, 18, 0.95);
    --card-bg: #1A1A1A;
    --border-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 300;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

h2.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

h2.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #b3804d;
}

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

section {
    padding: 6rem 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--nav-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: #fff;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Intro Text */
.intro-text p {
    font-size: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
    color: var(--text-secondary);
}

/* Portfolio */
.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    aspect-ratio: 4/3;
    background-color: var(--card-bg);
    overflow: hidden;
    position: relative;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* Collections */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.product-card {
    background-color: var(--card-bg);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Enhanced Placeholders / Image Containers */
.product-image,
.about-image,
.portfolio-item {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.product-image::after,
.about-image::after,
.portfolio-item::after {
    display: none;
}

/* Contact Info Removal Adjustment */
.contact-wrapper {
    display: flex;
    justify-content: center;
    /* Center form since info is gone */
}

.contact-form {
    max-width: 600px;
    /* Limit width for better readability */
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Footer Accent */
footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    margin-top: 4rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    background-color: var(--card-bg);
    /* Slight contrast */
}

/* Responsive */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
}

/* CHANGED: Breakpoint increased to 1024px for earlier tablet switch */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        /* Add JS to toggle */
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--nav-bg);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    h1 {
        font-size: 2.5rem;
    }


    .about-container,
    .contact-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2.section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .navbar {
        padding: 0 1rem;
    }

    .legal-content {
        padding-top: 100px;
    }
}


/* Checkbox Specific Styles */
.checkbox-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    cursor: pointer;
}

.checkbox-group label {
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-color);
}

.checkbox-group label a {
    color: var(--accent-color);
    text-decoration: none;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}