/* 
 * Rukn Al Fakhama - Luxury Premium Stylesheet
 * Ultra-Modern Dark Luxury Theme with Rose Gold Accents
 * Features: Smooth Animations, Glassmorphism, Premium Typography
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@200;300;400;500;600;700&family=Amiri:wght@400;700&display=swap');

:root {
    /* LUXURY DARK PALETTE */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: rgba(20, 20, 20, 0.8);
    
    /* TEXT COLORS */
    --text-primary: #f8f6f3;
    --text-secondary: #a39e93;
    --text-muted: #6b6660;
    
    /* ACCENT - Rose Gold / Champagne */
    --accent: #c9a96e;
    --accent-light: #dfc795;
    --accent-dark: #a68b4b;
    --accent-glow: rgba(201, 169, 110, 0.3);
    
    /* BORDERS & SHADOWS */
    --border-subtle: rgba(201, 169, 110, 0.1);
    --border-accent: rgba(201, 169, 110, 0.3);
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(201, 169, 110, 0.15);
    
    /* GLASSMORPHISM */
    --glass-bg: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-blur: 20px;
    
    /* TYPOGRAPHY */
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-arabic: 'Amiri', serif;
    
    /* SPACING */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 10rem;
    
    /* BORDER RADIUS */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* TRANSITIONS */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Light Theme Override */
[data-theme="light"] {
    --bg-primary: #faf9f7;
    --bg-secondary: #f5f3f0;
    --bg-tertiary: #ebe8e4;
    --bg-card: rgba(255, 255, 255, 0.9);
    
    --text-primary: #1a1714;
    --text-secondary: #5c5650;
    --text-muted: #8a837a;
    
    --accent: #9c7a3c;
    --accent-light: #c9a96e;
    --accent-dark: #7a5f2e;
    --accent-glow: rgba(156, 122, 60, 0.2);
    
    --border-subtle: rgba(0, 0, 0, 0.05);
    --border-accent: rgba(156, 122, 60, 0.3);
    
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 60px rgba(156, 122, 60, 0.1);
    
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.05);
}

/* ========================================================================== */
/* ANIMATIONS                                                                  */
/* ========================================================================== */

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes borderGlow {
    0%, 100% { border-color: var(--border-accent); }
    50% { border-color: var(--accent); }
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ========================================================================== */
/* BASE STYLES                                                                 */
/* ========================================================================== */

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition-slow), color var(--transition-slow);
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: var(--radius-full);
}

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

::selection {
    background: var(--accent);
    color: var(--bg-primary);
}

/* ========================================================================== */
/* TYPOGRAPHY                                                                  */
/* ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

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

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

/* ========================================================================== */
/* RTL SUPPORT (Arabic) - Comprehensive                                        */
/* ========================================================================== */

[dir="rtl"] {
    font-family: var(--font-arabic);
    text-align: right;
    direction: rtl;
}

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 {
    font-family: var(--font-arabic);
}

[dir="rtl"] p {
    text-align: right;
}

/* RTL Navigation */
[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-links li a::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .nav-actions {
    flex-direction: row-reverse;
}

/* RTL Mobile Menu */
@media (max-width: 968px) {
    [dir="rtl"] .nav-links {
        right: auto;
        left: -100%;
        flex-direction: column;
    }
    
    [dir="rtl"] .nav-links.active {
        left: 0;
        right: auto;
    }
    
    [dir="rtl"] .nav-actions {
        flex-direction: row;
    }
    
    [dir="rtl"] .menu-toggle {
        order: -1;
        margin-left: 0;
        margin-right: auto;
    }
    
    [dir="rtl"] header nav {
        flex-direction: row-reverse;
    }
    
    [dir="rtl"] .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    [dir="rtl"] .nav-links li a {
        text-align: center;
        display: block;
    }
    
    [dir="rtl"] .logo {
        order: 0;
    }
}

/* Additional RTL Mobile Fixes */
@media (max-width: 768px) {
    [dir="rtl"] .hero-content {
        text-align: center;
    }
    
    [dir="rtl"] .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    [dir="rtl"] .section-header {
        text-align: center;
    }
    
    [dir="rtl"] .footer-grid {
        text-align: center;
    }
    
    [dir="rtl"] .footer-column {
        text-align: center;
    }
    
    [dir="rtl"] .footer-social {
        justify-content: center;
    }
    
    [dir="rtl"] .footer-brand {
        text-align: center;
    }
    
    [dir="rtl"] .footer-brand p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

/* RTL Hero & Section Headers - Centered */
[dir="rtl"] .hero-content,
[dir="rtl"] .section-header,
[dir="rtl"] .text-center {
    text-align: center;
}

[dir="rtl"] .section-header p {
    text-align: center;
}

/* RTL Buttons */
[dir="rtl"] .btn {
    flex-direction: row-reverse;
}

[dir="rtl"] .btn svg {
    transform: scaleX(-1);
    margin-left: 0 !important;
    margin-right: 8px;
}

/* RTL Breadcrumb */
[dir="rtl"] .breadcrumb {
    flex-direction: row-reverse;
    justify-content: center;
}

/* RTL Footer */
[dir="rtl"] .footer-grid {
    direction: rtl;
}

[dir="rtl"] .footer-column {
    text-align: right;
}

[dir="rtl"] .footer-column h4 {
    text-align: right;
}

[dir="rtl"] .footer-column ul {
    text-align: right;
}

[dir="rtl"] .footer-column ul li a:hover {
    padding-left: 0;
    padding-right: 5px;
}

[dir="rtl"] .footer-social {
    justify-content: flex-end;
}

[dir="rtl"] .footer-brand {
    text-align: right;
}

[dir="rtl"] .footer-brand p {
    text-align: right;
}

/* RTL About Page */
[dir="rtl"] .about-grid {
    direction: rtl;
}

[dir="rtl"] .about-content {
    text-align: right;
}

[dir="rtl"] .about-content h2 {
    text-align: right;
}

[dir="rtl"] .about-content p {
    text-align: right;
}

[dir="rtl"] blockquote {
    border-left: none;
    border-right: 3px solid var(--accent);
    padding-left: 0;
    padding-right: var(--space-md);
    text-align: right;
}

[dir="rtl"] .about-stats {
    flex-direction: row-reverse;
}

/* ========================================================================== */
/* RTL CONTACT PAGE - Complete                                                 */
/* ========================================================================== */

/* Contact Grid Layout - Form Left, Info Right in RTL */
[dir="rtl"] .contact-grid {
    direction: rtl;
}

/* Contact Info - Float Right */
[dir="rtl"] .contact-info {
    text-align: right;
    float: right;
}

[dir="rtl"] .contact-info .section-badge {
    text-align: right;
    display: block;
}

[dir="rtl"] .contact-info h3 {
    text-align: right;
}

[dir="rtl"] .contact-info > p {
    text-align: right;
}

/* Contact Details Container */
[dir="rtl"] .contact-details {
    direction: rtl;
}

/* Contact Items - Icon on Right, Text on Left */
[dir="rtl"] .contact-item {
    display: flex;
    flex-direction: row-reverse;
    text-align: right;
    justify-content: flex-start;
}

[dir="rtl"] .contact-item-icon {
    margin-left: var(--space-md);
    margin-right: 0;
}

[dir="rtl"] .contact-item-content {
    text-align: right;
    flex: 1;
}

[dir="rtl"] .contact-item-content h4 {
    text-align: right;
}

[dir="rtl"] .contact-item-content p {
    text-align: right;
    direction: rtl;
}

/* Keep email/phone links LTR for readability */
[dir="rtl"] .contact-item-content a {
    direction: ltr;
    display: inline-block;
    unicode-bidi: embed;
}

/* Social Links in Contact */
[dir="rtl"] .contact-info .footer-social {
    justify-content: flex-end;
}

[dir="rtl"] .contact-info h4[style*="margin-bottom"] {
    text-align: right;
}

/* Contact Form */
[dir="rtl"] .contact-form-wrapper {
    direction: rtl;
}

[dir="rtl"] .contact-form-wrapper h3 {
    text-align: center;
}

/* Form Elements */
[dir="rtl"] .form-group {
    text-align: right;
}

[dir="rtl"] .form-group label {
    text-align: right;
    display: block;
}

[dir="rtl"] .form-group input,
[dir="rtl"] .form-group textarea,
[dir="rtl"] .form-group select {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .form-group input::placeholder,
[dir="rtl"] .form-group textarea::placeholder {
    text-align: right;
}

/* Verification Code Input - Keep Centered */
[dir="rtl"] .form-group input[style*="letter-spacing"] {
    text-align: center;
    direction: ltr;
}

/* Form Steps */
[dir="rtl"] #step-1,
[dir="rtl"] #step-2 {
    direction: rtl;
}

[dir="rtl"] #step-2 .text-center {
    direction: rtl;
}

[dir="rtl"] #step-2 .text-center p {
    text-align: center;
}

[dir="rtl"] #form-errors,
[dir="rtl"] #form-success {
    direction: rtl;
    text-align: center;
}

/* Map Section */
[dir="rtl"] .text-center h3 {
    text-align: center;
}

[dir="rtl"] .text-muted {
    direction: rtl;
}

/* FAQ Section */
[dir="rtl"] .card .card-body {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .card .card-body h4 {
    text-align: right;
}

[dir="rtl"] .card .card-body > div[style*="flex"] {
    flex-direction: row-reverse;
}

[dir="rtl"] .faq-answer {
    text-align: right;
    direction: rtl;
}

/* ========================================================================== */
/* RTL Other Elements                                                          */
/* ========================================================================== */

/* Page Hero */
[dir="rtl"] .page-hero-content {
    text-align: center;
}

[dir="rtl"] .page-hero-content h1,
[dir="rtl"] .page-hero-content p {
    text-align: center;
}

/* Stats */
[dir="rtl"] .stat-number,
[dir="rtl"] .stat-label {
    text-align: center;
}

[dir="rtl"] .stat-item {
    text-align: center;
}

/* Hero CTA */
[dir="rtl"] .hero-cta {
    flex-direction: row-reverse;
}

/* Feature Cards - Centered */
[dir="rtl"] .feature-card {
    text-align: center;
}

[dir="rtl"] .feature-card h4,
[dir="rtl"] .feature-card p {
    text-align: center;
}

/* Category Cards */
[dir="rtl"] .category-card-content {
    text-align: right;
}

[dir="rtl"] .category-card-link svg {
    transform: scaleX(-1);
}

/* Product Cards */
[dir="rtl"] .product-info {
    text-align: center;
}

/* Cards General */
[dir="rtl"] .card-body {
    text-align: right;
}

[dir="rtl"] .card-body.text-center,
[dir="rtl"] .card-body .text-center {
    text-align: center;
}

/* Section Badge */
[dir="rtl"] .section-badge {
    display: inline-block;
}

/* Admin */
[dir="rtl"] .admin-tabs {
    flex-direction: row-reverse;
}

[dir="rtl"] .data-table {
    direction: rtl;
}

[dir="rtl"] .data-table th,
[dir="rtl"] .data-table td {
    text-align: right;
}

[dir="rtl"] .table-actions {
    flex-direction: row-reverse;
}

[dir="rtl"] .form-row {
    direction: rtl;
}

/* Alerts */
[dir="rtl"] .alert {
    flex-direction: row-reverse;
    text-align: right;
}

/* Keep scroll indicator LTR */
[dir="rtl"] .scroll-indicator {
    direction: ltr;
}

/* Preloader */
[dir="rtl"] .preloader-text {
    font-family: var(--font-arabic);
    letter-spacing: 0;
}

/* RTL Mobile Adjustments */
@media (max-width: 968px) {
    [dir="rtl"] .contact-grid {
        display: flex;
        flex-direction: column;
    }
    
    [dir="rtl"] .contact-info {
        order: 1;
        float: none;
    }
    
    [dir="rtl"] .contact-form-wrapper {
        order: 2;
    }
    
    [dir="rtl"] .about-grid {
        display: flex;
        flex-direction: column;
    }
    
    [dir="rtl"] .footer-social {
        justify-content: center;
    }
    
    [dir="rtl"] .contact-info .footer-social {
        justify-content: flex-start;
    }
}

/* ========================================================================== */
/* LAYOUT                                                                      */
/* ========================================================================== */

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-xl) 0;
}

.section-lg {
    padding: var(--space-2xl) 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-md);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (max-width: 1024px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ========================================================================== */
/* HEADER & NAVIGATION                                                         */
/* ========================================================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
}

header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    transition: all var(--transition-base);
    z-index: -1;
}

header.scrolled {
    padding: var(--space-sm) 0;
}

header.scrolled::before {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    position: relative;
    z-index: 10;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 115px;
    width: auto;
    transition: transform var(--transition-base), filter var(--transition-base);
    filter: drop-shadow(0 0 8px rgba(201, 169, 110, 0.3));
}

.logo:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 15px rgba(201, 169, 110, 0.5));
}

header.scrolled .logo img {
    height: 115px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: var(--space-lg);
    margin: 0;
    padding: 0;
}

.nav-links li a {
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transition: width var(--transition-base);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Theme Toggle */
#theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-accent);
    background: transparent;
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition-base);
}

#theme-toggle:hover {
    background: var(--accent);
    color: var(--bg-primary);
    transform: rotate(180deg);
}

/* Language Switch */
.lang-switch {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.lang-switch:hover {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

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

@media (max-width: 968px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        width: 100%;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile browsers */
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-lg);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1), left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        padding: var(--space-xl);
    }
    
    .nav-links.active {
        right: 0;
        left: auto;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links li a {
        font-size: 1.5rem;
        display: block;
        padding: var(--space-sm) var(--space-md);
    }
    
    nav {
        position: relative;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .lang-switch {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* ========================================================================== */
/* 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,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.9) 0%,
        rgba(10, 10, 10, 0.6) 50%,
        rgba(10, 10, 10, 0.8) 100%
    );
    z-index: 1;
}

[data-theme="light"] .hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(250, 249, 247, 0.9) 0%,
        rgba(250, 249, 247, 0.5) 50%,
        rgba(250, 249, 247, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: var(--space-lg);
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    padding: var(--space-xs) var(--space-md);
    border: 1px solid var(--accent);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    animation: fadeInDown 1s ease-out 0.2s backwards;
}

.hero h1 {
    margin-bottom: var(--space-md);
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    animation: fadeInUp 1s ease-out 0.5s backwards;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.7s backwards;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: fadeIn 1s ease-out 1s backwards;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: pulse 2s ease-in-out infinite;
}

/* ========================================================================== */
/* BUTTONS                                                                     */
/* ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover::before {
    transform: translateX(100%);
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-accent);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.btn-ghost {
    background: transparent;
    color: var(--accent);
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
}

.btn-ghost:hover {
    border-bottom-color: var(--accent);
}

.btn-icon {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* ========================================================================== */
/* CARDS                                                                       */
/* ========================================================================== */

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

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, var(--accent), transparent, var(--accent));
    -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;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card:hover::before {
    opacity: 1;
}

.card-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

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

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

.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-primary), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.card:hover .card-image-overlay {
    opacity: 1;
}

.card-body {
    padding: var(--space-md);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.card-subtitle {
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Category Cards */
.category-card {
    position: relative;
    height: 450px;
    cursor: pointer;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

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

.category-card:hover img {
    transform: scale(1.1);
}

.category-card-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-lg);
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent 70%);
    transition: all var(--transition-base);
}

.category-card:hover .category-card-content {
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.3) 70%);
}

.category-card-content h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: var(--space-xs);
    transform: translateY(20px);
    transition: transform var(--transition-base);
}

.category-card:hover .category-card-content h3 {
    transform: translateY(0);
}

.category-card-content p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-base);
}

.category-card:hover .category-card-content p {
    transform: translateY(0);
    opacity: 1;
}

.category-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: var(--space-sm);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

.category-card:hover .category-card-link {
    opacity: 1;
    transform: translateY(0);
}

.category-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.category-card-link:hover svg {
    transform: translateX(5px);
}

/* ========================================================================== */
/* SECTION HEADERS                                                             */
/* ========================================================================== */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

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

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header p {
    font-size: 1.1rem;
}

.section-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: var(--space-md) auto;
}

/* ========================================================================== */
/* FEATURES / ABOUT SECTION                                                    */
/* ========================================================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: var(--radius-lg);
    color: var(--bg-primary);
}

.feature-card h4 {
    margin-bottom: var(--space-xs);
    font-family: var(--font-display);
    font-size: 1.3rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

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

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--accent);
    border-radius: var(--radius-lg);
    transform: translate(20px, 20px);
    z-index: -1;
    opacity: 0.5;
}

.about-content h2 {
    margin-bottom: var(--space-md);
}

.about-content h2 span {
    color: var(--accent);
    font-style: italic;
}

.about-content p {
    margin-bottom: var(--space-md);
}

.about-stats {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-subtle);
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ========================================================================== */
/* CTA / BANNER SECTION                                                        */
/* ========================================================================== */

.cta-section {
    position: relative;
    padding: var(--space-2xl) 0;
    text-align: center;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    z-index: 0;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: var(--space-md);
}

.cta-content p {
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: var(--space-sm);
    max-width: 450px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-base);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.newsletter-form button {
    white-space: nowrap;
}

@media (max-width: 640px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* ========================================================================== */
/* FORMS                                                                       */
/* ========================================================================== */

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
    letter-spacing: 0.05em;
}

input, textarea, select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-base);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: var(--bg-primary);
}

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

textarea {
    resize: vertical;
    min-height: 150px;
}

/* ========================================================================== */
/* FOOTER                                                                      */
/* ========================================================================== */

footer {
    position: relative;
    background: var(--bg-secondary);
    padding: var(--space-xl) 0 var(--space-lg);
    overflow: hidden;
}

/* Animated gradient border top */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--border-subtle) 15%,
        var(--accent) 50%,
        var(--border-subtle) 85%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: footerBorderGlint 4s ease-in-out infinite;
}

@keyframes footerBorderGlint {
    0%, 100% {
        background-position: 200% 0;
    }
    50% {
        background-position: -200% 0;
    }
}

/* Subtle glint sweep across footer */
footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(212, 175, 55, 0.03) 50%,
        transparent 100%
    );
    animation: footerGlintSweep 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes footerGlintSweep {
    0%, 100% {
        left: -100%;
    }
    50% {
        left: 150%;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer brand with logo glow */
.footer-brand {
    position: relative;
}

.footer-brand .logo {
    position: relative;
    display: inline-block;
}

.footer-brand .logo::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.footer-brand:hover .logo::after {
    opacity: 1;
}

.footer-brand p {
    margin-top: var(--space-md);
    font-size: 0.95rem;
    max-width: 300px;
}

/* Social icons with glow effect */
.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.footer-social a {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    transition: all var(--transition-base);
    overflow: hidden;
}

/* Glint animation on social icons */
.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(212, 175, 55, 0.3) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
}

.footer-social a:hover::before {
    left: 100%;
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* Staggered animation for social icons */
.footer-social a:nth-child(1) { animation: socialPulse 3s ease-in-out infinite; animation-delay: 0s; }
.footer-social a:nth-child(2) { animation: socialPulse 3s ease-in-out infinite; animation-delay: 0.5s; }
.footer-social a:nth-child(3) { animation: socialPulse 3s ease-in-out infinite; animation-delay: 1s; }
.footer-social a:nth-child(4) { animation: socialPulse 3s ease-in-out infinite; animation-delay: 1.5s; }

@keyframes socialPulse {
    0%, 100% {
        border-color: var(--border-subtle);
    }
    50% {
        border-color: rgba(212, 175, 55, 0.5);
    }
}

/* Footer column headings with underline animation */
.footer-column h4 {
    position: relative;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    display: inline-block;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transition: width 0.3s ease;
}

.footer-column:hover h4::after {
    width: 100%;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: var(--space-sm);
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.footer-column ul li:hover {
    transform: translateX(5px);
}

.footer-column ul li a {
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    display: inline-block;
}

/* Glint underline on link hover */
.footer-column ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), rgba(212, 175, 55, 0.3));
    transition: width 0.3s ease;
}

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

.footer-column ul li a:hover::after {
    width: 100%;
}

/* Footer bottom with animated border */
.footer-bottom {
    position: relative;
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    z-index: 1;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: footerBottomLine 3s ease-out forwards;
}

@keyframes footerBottomLine {
    to {
        width: 100%;
    }
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Copyright year highlight */
.footer-bottom p span {
    background: linear-gradient(90deg, var(--accent), #f5e6a3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-md);
}

.footer-bottom-links a {
    position: relative;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.footer-bottom-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.footer-bottom-links a:hover::before {
    width: 100%;
}

/* Design Credit Styling */
.footer-bottom-links .design-credit {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.footer-bottom-links .design-credit span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom-links .design-credit strong {
    font-size: 0.85rem;
    background: linear-gradient(90deg, var(--accent), #f5e6a3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.footer-bottom-links .design-credit:hover {
    background: linear-gradient(135deg, var(--accent), rgba(212, 175, 55, 0.8));
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.footer-bottom-links .design-credit:hover span,
.footer-bottom-links .design-credit:hover strong {
    -webkit-text-fill-color: var(--bg-primary);
    color: var(--bg-primary);
}

.footer-bottom-links .design-credit::before {
    display: none;
}

/* ========================================================================== */
/* PAGE HERO                                                                   */
/* ========================================================================== */

.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-secondary);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    z-index: 0;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow), transparent 60%);
    transform: translate(-50%, -50%);
    z-index: 0;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    padding: var(--space-lg);
}

.page-hero h1 {
    margin-bottom: var(--space-sm);
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-muted);
}

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

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

/* ========================================================================== */
/* PRODUCTS PAGE                                                               */
/* ========================================================================== */

.products-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-xs) var(--space-md);
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

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

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-accent);
}

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

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

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

.product-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    padding: 4px 12px;
    background: var(--accent);
    color: var(--bg-primary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.product-actions {
    position: absolute;
    bottom: var(--space-sm);
    right: var(--space-sm);
    display: flex;
    gap: var(--space-xs);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.product-action-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: none;
    border-radius: var(--radius-full);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.product-action-btn:hover {
    background: var(--accent);
    color: var(--bg-primary);
}

.product-info {
    padding: var(--space-md);
    text-align: center;
}

.product-category {
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.product-price {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.product-price .old-price {
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: var(--space-xs);
    font-weight: 400;
}

/* ========================================================================== */
/* CONTACT PAGE                                                                */
/* ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
    align-items: start;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    padding: var(--space-lg);
}

.contact-info h3 {
    margin-bottom: var(--space-md);
}

.contact-info p {
    margin-bottom: var(--space-lg);
}

.contact-details {
    margin-top: var(--space-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--accent);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-item-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.contact-form-wrapper h3 {
    margin-bottom: var(--space-lg);
    text-align: center;
}

/* ========================================================================== */
/* ADMIN STYLES                                                                */
/* ========================================================================== */

.admin-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.admin-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.admin-card-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.admin-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.admin-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.admin-card-link {
    display: inline-block;
    margin-top: var(--space-md);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ========================================================================== */
/* UTILITIES                                                                   */
/* ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

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

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.py-sm { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-md { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-lg { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-xl { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }

.hidden { display: none; }
.visible { display: block; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Divider */
.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
    margin: var(--space-xl) 0;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-subtle);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: rotate 1s linear infinite;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ============================================= */
/* SKELETON LOADING WITH SHIMMER EFFECT         */
/* ============================================= */

/* Skeleton Card */
.skeleton-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.skeleton-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--border-subtle) 20%,
        var(--accent) 50%,
        var(--border-subtle) 80%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: borderGlint 2s ease-in-out infinite;
    -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;
    opacity: 0.8;
}

@keyframes borderGlint {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-image {
    aspect-ratio: 1;
    background: linear-gradient(
        110deg,
        var(--bg-secondary) 8%,
        var(--bg-tertiary) 18%,
        var(--bg-secondary) 33%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
}

.skeleton-content {
    padding: var(--space-md);
}

.skeleton-line {
    height: 12px;
    border-radius: var(--radius-sm);
    background: linear-gradient(
        110deg,
        var(--bg-secondary) 8%,
        var(--bg-tertiary) 18%,
        var(--bg-secondary) 33%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
    margin-bottom: var(--space-sm);
}

.skeleton-line:last-child {
    margin-bottom: 0;
}

.skeleton-line.short {
    width: 40%;
}

.skeleton-line.medium {
    width: 70%;
}

.skeleton-line.price {
    width: 30%;
    height: 16px;
    margin-top: var(--space-sm);
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Product card entrance animation */
.product-card {
    animation: cardFadeIn 0.5s ease-out forwards;
    opacity: 0;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }
.product-card:nth-child(8) { animation-delay: 0.4s; }
.product-card:nth-child(9) { animation-delay: 0.45s; }
.product-card:nth-child(10) { animation-delay: 0.5s; }
.product-card:nth-child(11) { animation-delay: 0.55s; }
.product-card:nth-child(12) { animation-delay: 0.6s; }
.product-card:nth-child(n+13) { animation-delay: 0.65s; }

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Glint effect on product card hover */
.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(
        135deg,
        transparent 40%,
        rgba(212, 175, 55, 0.1) 50%,
        transparent 60%
    );
    pointer-events: none;
}

.product-card:hover::after {
    opacity: 1;
    animation: glintSweep 0.6s ease-out;
}

@keyframes glintSweep {
    0% {
        background-position: -100% -100%;
    }
    100% {
        background-position: 200% 200%;
    }
}
