/* ============================================
   YAHMAR CLOSET - Main Stylesheet
   Islamic & Modest Fashion Theme
   Blush & Rose Gold Color Scheme
   ============================================ */

/* === ROOT VARIABLES === */
:root {
    /* === YAHMAR CLOSET BRAND COLORS === */
    
    /* PRIMARY */
    --primary-color: #C5A599;      /* Blush */
    --secondary-color: #D8AFA0;    /* Rose Gold */
    
    /* TEXT */
    --dark-cocoa: #3E3535;
    --text-dark: #3E3535;
    --text-light: #8E7A80;
    
    /* BACKGROUNDS */
    --bg-cream: #FDFDFD;           /* Page Background */
    --blush-mist: #F8EEEA;         /* Sections */
    
    /* SUPPORTING */
    --taupe: #DCC8BD;              /* Light warm background */
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.08);
    
    /* MOTION */
    --transition: all 0.3s ease;
    
    /* LEGACY SUPPORT (backward compatibility) */
    --dark-green: var(--dark-cocoa);
    --light-green: var(--blush-mist);
    --dark-pink: var(--primary-color);
    --light-pink: var(--blush-mist);
}

/* === GLOBAL STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--dark-cocoa);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* === TOP BAR === */
.top-bar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar small {
    margin-right: 15px;
}

.top-bar i {
    margin-right: 5px;
    color: var(--taupe);
}

.social-link {
    color: var(--white);
    margin-left: 10px;
    font-size: 14px;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--taupe);
    transform: translateY(-2px);
}

/* === NAVBAR === */
.navbar {
    padding: 15px 0;
    background: var(--white) !important;
    border-bottom: 2px solid var(--blush-mist);
    box-shadow: 0 2px 10px var(--shadow);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.brand-text h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-cocoa);
    margin: 0;
    letter-spacing: 1px;
}

.brand-text .tagline {
    font-size: 11px;
    color: var(--primary-color);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 16px !important;
    margin: 0 5px;
    border-radius: 5px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
    background: var(--blush-mist);
}

.nav-link i {
    margin-right: 5px;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px var(--shadow);
    border-radius: 10px;
    padding: 10px;
    max-height: 400px;
    overflow-y: auto;
}

.dropdown-item {
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--blush-mist);
    color: var(--primary-color);
    padding-left: 20px;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #1ebe57;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* === HERO SECTION === */
.hero-section {
    background: linear-gradient(135deg, rgba(197, 165, 153, 0.95), rgba(216, 175, 160, 0.95)),
                url('https://images.unsplash.com/photo-1583391733981-5afd7fec2036?w=1200') center/cover;
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M50 0 L60 30 L90 30 L65 50 L75 80 L50 60 L25 80 L35 50 L10 30 L40 30 Z" fill="rgba(220,200,189,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section p {
    font-size: 20px;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.95);
}

.btn-primary-custom {
    background: var(--secondary-color);
    color: var(--dark-cocoa);
    padding: 15px 40px;
    border: 1px solid var(--dark-cocoa);
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(216, 175, 160, 0.3);
}

.btn-primary-custom:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(197, 165, 153, 0.4);
}

/* === SECTION TITLES === */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2 {
    font-size: 38px;
    color: var(--dark-cocoa);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
    font-size: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

/* === CATEGORY CARDS === */
.category-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
    margin-bottom: 30px;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card-body {
    padding: 20px;
    text-align: center;
}

.category-card-body h5 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-cocoa);
}

.category-card-body p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.btn-view-category {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    transition: var(--transition);
}

.btn-view-category:hover {
    background: var(--dark-cocoa);
    color: var(--white);
}

/* === PRODUCT CARDS === */
.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
    margin-bottom: 30px;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--dark-cocoa);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(197, 165, 153, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-view-product {
    background: var(--white);
    color: var(--primary-color);
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: 600;
    border: none;
    transition: var(--transition);
}

.btn-view-product:hover {
    background: var(--secondary-color);
    color: var(--dark-cocoa);
}

.product-info {
    padding: 20px;
}

.product-info h5 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-cocoa);
    min-height: 50px;
}

.product-price {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.product-colors {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--blush-mist);
    cursor: pointer;
    transition: var(--transition);
}

.color-dot:hover {
    transform: scale(1.2);
    border-color: var(--primary-color);
}

/* === FOOTER === */
.footer {
    background: linear-gradient(135deg, var(--dark-cocoa), var(--primary-color));
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.5;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-text {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--secondary-color);
    color: var(--dark-cocoa);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: start;
    margin-bottom: 15px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

.footer-contact i {
    color: var(--secondary-color);
    margin-right: 12px;
    margin-top: 3px;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    margin-top: 40px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

/* === WHATSAPP FLOATING BUTTON === */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #1ebe57;
    color: var(--white);
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 5px 30px rgba(37, 211, 102, 0.7);
    }
}

/* === UTILITY CLASSES === */
.section-spacing {
    padding: 80px 0;
}

.mb-50 {
    margin-bottom: 50px;
}

.text-primary-custom {
    color: var(--primary-color);
}

.bg-light-custom {
    background: var(--blush-mist);
}

/* === ABOUT PAGE ENHANCEMENTS === */
.about-section {
    background: var(--blush-mist);
    padding: 60px 0;
}

.values-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
}

.values-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.values-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* === CONTACT PAGE === */
.contact-info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    margin-bottom: 30px;
}

.contact-info-card i {
    color: var(--primary-color);
    font-size: 30px;
    margin-bottom: 15px;
}

/* ============================================
   Additional Styles for Homepage
   Blush & Rose Gold Theme
   ============================================ */

/* Feature Boxes */
.feature-box {
    padding: 30px 20px;
    transition: var(--transition);
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
    box-shadow: 0 5px 15px rgba(197, 165, 153, 0.3);
    transition: var(--transition);
}

.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 8px 20px rgba(197, 165, 153, 0.4);
}

.feature-box h5 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-cocoa);
    font-weight: 600;
}

.feature-box p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Why Choose Us Section */
.why-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow);
    transition: var(--transition);
}

.why-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.why-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(197, 165, 153, 0.3);
}

.why-item h5 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark-cocoa);
    font-weight: 600;
}

.why-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, rgba(197, 165, 153, 0.95), rgba(216, 175, 160, 0.95)),
                url('https://images.unsplash.com/photo-1583391733981-5afd7fec2036?w=1200') center/cover;
    padding: 80px 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    margin-bottom: 30px;
}

.btn-light {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-light:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.4);
}

/* Testimonials Section (if you have it) */
.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    margin-bottom: 30px;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: var(--blush-mist);
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.author-info h6 {
    color: var(--dark-cocoa);
    margin: 0;
    font-size: 16px;
}

.author-info small {
    color: var(--text-light);
    font-size: 12px;
}

/* Stats Section */
.stats-section {
    background: var(--blush-mist);
    padding: 60px 0;
    margin: 60px 0;
}

.stat-box {
    text-align: center;
    padding: 20px;
}

.stat-box h3 {
    font-size: 48px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-box p {
    color: var(--text-light);
    font-size: 16px;
    margin: 0;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    margin: 60px 0;
}

.newsletter-section h3 {
    color: var(--dark-cocoa);
    margin-bottom: 15px;
}

.newsletter-section p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--blush-mist);
    border-radius: 50px;
    font-size: 14px;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .feature-box h5 {
        font-size: 16px;
    }
    
    .why-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin-right: 15px;
    }
    
    .why-item h5 {
        font-size: 16px;
    }
    
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
    
    .cta-section p {
        font-size: 16px;
    }
    
    .btn-light {
        padding: 12px 30px;
        font-size: 14px;
        width: 100%;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .stat-box h3 {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .why-item {
        padding: 15px;
    }
    
    .feature-box {
        padding: 20px 15px;
    }
    
    .cta-section h2 {
        font-size: 24px;
    }
    
    .stat-box h3 {
        font-size: 28px;
    }
}

