:root {
    --primary: #000000;
    --accent: #D4AF37;
    /* Gold */
    --bg-light: #FAFAFA;
    --bg-card: #FFFFFF;
    --text-main: #222222;
    --text-muted: #666666;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
    --radius: 12px;
}

[data-theme="dark"] {
    --primary: #FFFFFF;
    --bg-light: #121212;
    --bg-card: #1E1E1E;
    --text-main: #E0E0E0;
    --text-muted: #A0A0A0;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.5);
}

body {
    margin: 0;
    font-family: "Tajawal", sans-serif;
    background: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

/* Dark Mode Specific Overrides */
[data-theme="dark"] .header {
    background: rgba(30, 30, 30, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .feature-card,
[data-theme="dark"] .about-card,
[data-theme="dark"] .product-card,
[data-theme="dark"] .service-box,
[data-theme="dark"] .mission-card,
[data-theme="dark"] .why-card,
[data-theme="dark"] .step-card,
[data-theme="dark"] .contact-item,
[data-theme="dark"] .note-box,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .newsletter-section {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .newsletter-section {
    background: var(--bg-card);
}

[data-theme="dark"] .form-grid input,
[data-theme="dark"] .form-grid textarea,
[data-theme="dark"] .newsletter-form input {
    background: #2C2C2C;
    border-color: #444;
    color: #fff;
}

[data-theme="dark"] .btn-primary,
[data-theme="dark"] .cta-button {
    background: var(--accent);
    color: #000;
}

[data-theme="dark"] .btn-secondary {
    border-color: var(--accent);
    color: var(--accent);
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--accent);
    color: #000;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header nav a {
    margin-left: 25px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.header nav a:hover {
    color: var(--accent);
}

.header nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    right: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.header nav a:hover::after {
    width: 100%;
}

.logo {
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.5px;
}

/* Modern Hero */
.hero,
.shop-hero,
.contact-hero,
.fabric-hero,
.faq-hero,
.sizing-hero,
.press-hero,
.wholesale-hero {
    text-align: center;
    padding: 140px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.cta-button {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary,
.cta-button {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover,
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: #222;
}

.btn-secondary {
    background: transparent;
    border: 2px solid #fff;
    /* Adjusted for dark hero backgrounds */
    color: #fff;
    margin-right: 15px;
}

.btn-secondary:hover {
    background: #fff;
    color: #000;
}

/* Cards & Grid */
.features,
.sections,
.future,
.wholesale-about,
.wholesale-products,
.brand-story,
.mission,
.why,
.shop-grid,
.contact-grid,
.sizing-steps,
.fabric-grid,
.press-coverage {
    padding: 80px 20px;
}

.feature-grid,
.about-grid,
.products-grid,
.brand-grid,
.mission-grid,
.why-grid,
.steps-grid,
.contact-grid {
    display: grid;
    gap: 30px;
}

.feature-grid,
.about-grid,
.products-grid,
.steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-card,
.about-card,
.product-card,
.service-box,
.mission-card,
.why-card,
.step-card,
.contact-item,
.note-box {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    border: none;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.feature-card:hover,
.about-card:hover,
.product-card:hover,
.service-box:hover,
.mission-card:hover,
.why-card:hover,
.step-card:hover,
.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.tag {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.success {
    background: #000;
    color: #fff;
}

.warning {
    background: var(--accent);
    color: #fff;
}

.service-box {
    border-right: none;
    border-left: 4px solid var(--primary);
}

.service-box.coming {
    border-left: 4px solid var(--accent);
}

/* Footer */
.footer {
    background: #050505;
    color: #888;
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid #111;
}

.footer a {
    color: #fff;
    transition: color 0.2s;
}

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

/* Specific Components */
.filters-row {
    justify-content: center;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 24px;
    border: 1px solid #eee;
    border-radius: 50px;
    background: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.faq-item {
    background: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    font-weight: 700;
    color: var(--primary);
}

/* Inputs */
.form-grid input,
.form-grid textarea,
.newsletter-form input {
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fcfcfc;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-grid input:focus,
.form-grid textarea:focus,
.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
}

/* WhatsApp Widget */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 20px;
    background: #fff;
    text-align: center;
    position: relative;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
}

.newsletter-content h3 {
    font-size: 28px;
    font-weight: 800;
}

.newsletter-form button {
    border-radius: 8px;
    /* Match input radius for this form */
}