/* ==========================================================================
   Ultra Premium Laundry & Shoe Care Custom CSS (Dark Luxury Edition)
   ========================================================================== */

/* Variables */
:root {
    --primary-color: #050505; /* Deep Obsidian */
    --secondary-color: #111111; /* Charcoal Black */
    --accent-color: #d4af37; /* Metallic Gold */
    --accent-light: #f3e5ab; /* Light Gold */
    --accent-dark: #aa8c2c;
    --light-color: #ffffff; /* Pure White */
    --gray-light: #1a1a1a;
    --gray-medium: #333333;
    --gray-dark: #888888;
    --text-color: #cccccc; /* Light Gray for readability on dark */
    --text-heading: #ffffff;
    
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    --transition-fast: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.5);
    --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.15);
    
    --glass-bg: rgba(17, 17, 17, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.05);
    --glass-blur: blur(15px);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--primary-color); }
::-webkit-scrollbar-thumb { background: var(--gray-medium); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-color); }

body {
    font-family: var(--font-primary);
    color: #d0d0d0; /* Slightly brighter than before for better readability */
    background-color: var(--primary-color);
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 600;
    line-height: 1.3;
}

a { text-decoration: none; color: var(--accent-color); transition: var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 30px; }

/* Gold Gradient Text Utility */
.text-gold-gradient {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-color) 50%, var(--accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Typography */
.section-title { font-size: 3rem; text-align: center; margin-bottom: 1.5rem; position: relative; letter-spacing: 1px; color: var(--text-heading); }
.section-subtitle { text-align: center; color: var(--gray-dark); max-width: 700px; margin: 0 auto 4rem; font-size: 1.1rem; font-weight: 300; letter-spacing: 0.5px; }

/* Global Common Containers */
.page-header {
    background: linear-gradient(rgba(5, 5, 5, 0.8), rgba(5, 5, 5, 0.8)), url('https://images.unsplash.com/photo-1545173168-9f1947eebb7f?auto=format&fit=crop&q=80') center/cover;
    padding: 140px 0 80px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.page-header h1 { font-size: 3.5rem; color: var(--light-color); margin-bottom: 15px; }
.page-header p { font-size: 1.1rem; color: rgba(255,255,255,0.75); font-weight: 300; letter-spacing: 0.5px; }
.section-padding { padding: 100px 0; background-color: var(--primary-color); }
.section-padding-alt { padding: 100px 0; background-color: var(--secondary-color); border-top: 1px solid rgba(255,255,255,0.02); border-bottom: 1px solid rgba(255,255,255,0.02); }

/* Unified Premium Card Style */
.premium-card {
    background: var(--secondary-color);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: var(--transition-slow);
}
.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
    border-color: rgba(212, 175, 55, 0.3);
}

/* Form Styles */
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 500; color: var(--light-color); }
.form-control {
    width: 100%; padding: 15px;
    border: 1px solid rgba(255,255,255,0.1); border-radius: 4px;
    font-family: var(--font-primary); font-size: 1rem;
    transition: var(--transition-fast);
    background: rgba(255,255,255,0.02); color: var(--light-color);
}
.form-control:focus {
    border-color: var(--accent-color); outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    background: rgba(255,255,255,0.05);
}
select.form-control option { background: var(--secondary-color); }

/* Buttons */
.btn {
    display: inline-flex; justify-content: center; align-items: center;
    padding: 14px 32px; font-weight: 500; border-radius: 4px;
    cursor: pointer; transition: var(--transition-slow);
    border: none; text-transform: uppercase; letter-spacing: 2px;
    font-size: 0.8rem; position: relative; overflow: hidden; z-index: 1;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-color) 50%, var(--accent-dark) 100%);
    color: var(--primary-color); box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
    transform: translateY(-3px); box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3); color: var(--primary-color);
}
.btn-outline {
    background-color: transparent; border: 1px solid var(--accent-color); color: var(--accent-color);
}
.btn-outline:hover {
    background-color: var(--accent-color); color: var(--primary-color);
}

/* Preloader */
#preloader { position: fixed; inset: 0; background: var(--primary-color); z-index: 9999; display: flex; justify-content: center; align-items: center; transition: opacity 0.8s ease; }
.loader { width: 60px; height: 60px; border: 1px solid rgba(212, 175, 55, 0.2); border-top: 1px solid var(--accent-color); border-radius: 50%; animation: spin 1.5s cubic-bezier(0.5, 0, 0.5, 1) infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Animations */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Navbar - Glassmorphism */
.navbar-wrapper { background: transparent; position: fixed; top: 0; width: 100%; z-index: 1000; transition: var(--transition-slow); padding: 20px 0; }
.navbar-wrapper.scrolled { background: var(--glass-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border-bottom: var(--glass-border); padding: 10px 0; }
.navbar { display: flex; justify-content: space-between; align-items: center; }
.navbar-brand .brand-text { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--light-color); letter-spacing: 2px; }
.navbar-menu { display: flex; align-items: center; }
.navbar-nav { display: flex; margin-right: 40px; }
.navbar-nav li { margin-left: 35px; }
.navbar-nav a { color: var(--light-color); font-weight: 400; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; position: relative; padding-bottom: 5px; }
.navbar-nav a::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 1px; background: var(--accent-color); transition: var(--transition-slow); }
.navbar-nav a:hover::after, .navbar-nav a.active::after { width: 100%; }
.navbar-nav a:hover, .navbar-nav a.active { color: var(--accent-color); }
.navbar-toggler { display: none; background: none; border: none; font-size: 1.5rem; color: var(--light-color); cursor: pointer; }

/* Hero Section */
.hero { height: 100vh; position: relative; display: flex; align-items: center; color: var(--light-color); padding-top: 80px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(5,5,5,0.9) 0%, rgba(5,5,5,0.4) 100%); z-index: 1; }
.hero-bg { position: absolute; inset: 0; height: 120%; z-index: 0; will-change: transform; background-size: cover; background-position: center; }
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 700px; }
.hero-content h1 { font-size: 4.5rem; color: var(--light-color); margin-bottom: 25px; line-height: 1.1; }
.hero-content p { font-size: 1.1rem; font-weight: 300; margin-bottom: 40px; color: var(--text-color); letter-spacing: 0.5px; }
.hero-actions .btn { margin-right: 20px; }

/* Stats Section */
.stats-section { padding: 80px 0; background: var(--secondary-color); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item h3 { font-size: 3rem; background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-color) 50%, var(--accent-dark) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 10px; font-weight: 400; }
.stat-item p { font-size: 0.8rem; font-weight: 400; color: var(--gray-dark); text-transform: uppercase; letter-spacing: 2px; }

/* Features Section (Why Choose Us) */
.features-section { padding: 120px 0; background: var(--primary-color); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.feature-card { text-align: center; padding: 50px 40px; background: var(--secondary-color); border-radius: 8px; border: 1px solid rgba(255,255,255,0.02); transition: var(--transition-slow); }
.feature-card:hover { transform: translateY(-10px); background: var(--glass-bg); border-color: rgba(212, 175, 55, 0.3); box-shadow: var(--shadow-gold); }
.feature-icon { width: 90px; height: 90px; background: rgba(212, 175, 55, 0.05); border: 1px solid rgba(212, 175, 55, 0.2); border-radius: 50%; display: flex; justify-content: center; align-items: center; margin: 0 auto 30px; font-size: 2rem; color: var(--accent-color); transition: var(--transition-slow); }
.feature-card:hover .feature-icon { background: var(--accent-color); color: var(--primary-color); transform: scale(1.1); }
.feature-card h3 { margin-bottom: 20px; font-size: 1.5rem; letter-spacing: 1px; color: var(--light-color); }
.feature-card p { color: var(--gray-dark); font-weight: 300; }

/* Services Layout */
.service-img { height: 260px; object-fit: cover; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.05); }
.service-body { padding: 30px; }
.service-price { color: var(--accent-color); font-weight: 700; font-size: 1.25rem; margin-bottom: 10px; font-family: var(--font-heading); }
.service-title { margin-bottom: 15px; color: var(--light-color); font-size: 1.4rem; }

/* Gallery Layout */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 8px; box-shadow: var(--shadow-soft); cursor: pointer; aspect-ratio: 1; border: 1px solid rgba(255,255,255,0.05); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(5,5,5,0.85); display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.4s ease; color: var(--light-color); text-align: center; padding: 20px; backdrop-filter: blur(2px); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h3 { color: var(--accent-color); margin-bottom: 10px; font-size: 1.4rem; font-family: var(--font-heading); }
.gallery-overlay p { font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gray-dark); }

/* How It Works Layout */
.step-container { display: flex; justify-content: space-between; position: relative; margin-top: 50px; }
.step-container::before { content: ''; position: absolute; top: 40px; left: 10%; right: 10%; height: 2px; background: rgba(255,255,255,0.1); z-index: 1; }
.step-item { text-align: center; width: 22%; position: relative; z-index: 2; }
.step-number { width: 80px; height: 80px; background: var(--secondary-color); color: var(--accent-color); font-size: 2rem; font-family: var(--font-heading); font-weight: 700; border-radius: 50%; display: flex; justify-content: center; align-items: center; margin: 0 auto 20px; box-shadow: 0 0 0 10px var(--primary-color); border: 1px solid rgba(212,175,55,0.3); }
.step-item h3 { color: var(--light-color); margin-bottom: 12px; }

/* Call To Action */
.cta-section { padding: 120px 0; background: linear-gradient(rgba(5,5,5,0.85), rgba(5,5,5,0.85)), url('https://images.unsplash.com/photo-1600185365483-26d7a4cc7519?auto=format&fit=crop&q=80') center/cover; background-attachment: fixed; text-align: center; border-top: 1px solid rgba(212, 175, 55, 0.2); border-bottom: 1px solid rgba(212, 175, 55, 0.2); }
.cta-section h2 { color: var(--light-color); font-size: 3rem; margin-bottom: 20px; }
.cta-section p { color: var(--text-color); font-weight: 300; font-size: 1.2rem; margin-bottom: 30px; }

/* Footer */
.footer { background: #000000; color: var(--text-color); padding: 100px 0 30px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 80px; }
.footer-about p { color: var(--gray-dark); margin-bottom: 30px; font-weight: 300; }
.social-links a { display: inline-flex; width: 45px; height: 45px; background: rgba(255,255,255,0.05); color: var(--light-color); border-radius: 50%; justify-content: center; align-items: center; margin-right: 15px; transition: var(--transition-fast); border: 1px solid rgba(255,255,255,0.1); }
.social-links a:hover { background: var(--accent-color); border-color: var(--accent-color); color: var(--primary-color); transform: translateY(-5px); }
.footer h4 { color: var(--light-color); font-size: 1.1rem; margin-bottom: 30px; letter-spacing: 2px; text-transform: uppercase; }
.footer-links ul li, .footer-contact ul li { margin-bottom: 15px; }
.footer-links a, .footer-contact li { color: var(--gray-dark); font-weight: 300; transition: all 0.3s ease; }
.footer-links a:hover { color: var(--accent-color); padding-left: 8px; }
.footer-contact i { color: var(--accent-color); margin-right: 15px; }
.newsletter-form { display: flex; margin-top: 20px; }
.newsletter-form input { flex: 1; padding: 15px 20px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.02); color: var(--light-color); border-radius: 4px 0 0 4px; outline: none; font-family: var(--font-primary); }
.newsletter-form button { border-radius: 0 4px 4px 0; padding: 15px 25px; }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); color: var(--gray-dark); font-size: 0.85rem; letter-spacing: 1px; }

/* Back to Top */
.back-to-top { position: fixed; bottom: 40px; right: 40px; width: 50px; height: 50px; background: var(--glass-bg); backdrop-filter: var(--glass-blur); border: 1px solid rgba(212, 175, 55, 0.3); color: var(--accent-color); border-radius: 50%; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: var(--transition-slow); z-index: 999; }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent-color); color: var(--primary-color); transform: translateY(-8px); }

/* Responsive adjustments */
@media (max-width: 991px) {
    .navbar-wrapper { padding: 15px 0; background: var(--primary-color); }
    .navbar-toggler { display: block; }
    .navbar-menu { position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px); background: var(--primary-color); flex-direction: column; justify-content: center; transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
    .navbar-menu.active { left: 0; }
    .navbar-nav { flex-direction: column; margin-right: 0; margin-bottom: 40px; text-align: center; }
    .navbar-nav li { margin: 20px 0; }
    .hero-content h1 { font-size: 3.5rem; }
    .stats-grid, .features-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .hero-content h1 { font-size: 2.5rem; }
    .features-grid, .footer-grid, .gallery-grid { grid-template-columns: 1fr; gap: 40px;}
    .step-container { flex-direction: column; }
    .step-container::before { display: none; }
    .step-item { width: 100%; margin-bottom: 40px; }
    
    .footer { text-align: center; }
    .footer-about, .footer-links, .footer-contact, .footer-newsletter { display: flex; flex-direction: column; align-items: center; }
    .footer-contact ul li { justify-content: center; text-align: center; }
    .footer-links a:hover { padding-left: 0; color: var(--accent-color); }
}
