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

:root {
    --primary: #1a1a1a;
    --accent: #d4af37;
    --light: #ffffff;
    --dark: #333;
    --gray: #666;
    --bg-light: #f8f8f8;
    --transition: all 0.3s ease;
}

body { font-family: 'Inter', sans-serif; line-height: 1.6; color: var(--dark); }

/* Header */
.header { position: fixed; top: 0; width: 100%; background: rgba(26,26,26,0.95); backdrop-filter: blur(20px); z-index: 1000; }
.nav-container { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 2rem; height: 80px; }
.logo { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--light); text-decoration: none; display: flex; align-items: center; }
.logo-img { height: 50px; width: auto; margin-right: 15px; border-radius: 8px; }
.nav-menu { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-link { color: var(--light); text-decoration: none; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition); }
.nav-link:hover { color: var(--accent); }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; background: rgba(26,26,26,0.98); border-radius: 8px; padding: 1rem 0; min-width: 200px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: var(--transition); list-style: none; }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { padding: 0.5rem 1rem; }
.dropdown-menu a { color: var(--light); text-decoration: none; }
.book-btn { background: linear-gradient(135deg, var(--accent), #f4e7c1); color: var(--dark); padding: 12px 25px; border: none; border-radius: 25px; cursor: pointer; font-weight: 600; transition: var(--transition); }
.book-btn:hover { transform: translateY(-2px); }

        /* Hero */
        .hero { height: calc(100vh + 300px); background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('salonimgs/salonradiantpic1.jpg'); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--light); }
.hero-content h1 { font-family: 'Playfair Display', serif; font-size: 4.5rem; margin-bottom: 1rem; font-weight: 900; }
.hero-subtitle { font-size: 1.5rem; margin-bottom: 2rem; opacity: 0.9; }
.hero-logo { 
    width: 280px; 
    height: auto; 
    margin: 0 auto 2rem; 
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}
        .hero-logo-bg {
            background: rgba(255,255,255,0.112);
            backdrop-filter: blur(14px);
            border-radius: 20px;
            padding: 28px 28px 5px 28px;
            display: inline-block;
            margin-bottom: 2rem;
            margin-top: 270px;
        }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; }
.btn { padding: 15px 30px; border: none; border-radius: 50px; font-weight: 600; cursor: pointer; transition: var(--transition); text-decoration: none; display: inline-block; }
.btn-primary { background: linear-gradient(135deg, var(--accent), #f4e7c1); color: var(--dark); }
.btn-secondary { background: rgba(255,255,255,0.1); color: var(--light); border: 2px solid rgba(255,255,255,0.8); }
.btn:hover { transform: translateY(-3px); }

/* Sections */
.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.section-title { text-align: center; margin-bottom: 4rem; }
.section-title h2 { font-family: 'Playfair Display', serif; font-size: 3rem; margin-bottom: 1rem; }
.section-title p { font-size: 1.1rem; color: var(--gray); max-width: 600px; margin: 0 auto; }

.services { padding: 30px 0 100px 0; background: var(--bg-light); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card { background: white; padding: 2rem; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); text-align: center; transition: var(--transition); overflow: hidden; }
.service-card:hover { transform: translateY(-10px); }
.service-image { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; margin-bottom: 1rem; }
.service-icon { font-size: 3rem; color: var(--accent); margin-bottom: 1rem; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.service-card p { color: var(--gray); margin-bottom: 1rem; }
.price { font-size: 2rem; font-weight: 700; color: var(--accent); margin-bottom: 1rem; }

.gallery { padding: 100px 0; background: white; }

/* Top gallery specific styling */
#gallery-top { padding: 20px 0 20px 0; }
    .gallery-carousel {
        margin: 30px 0 60px 0;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 20px;
        padding: 2px 0;
        box-shadow: 0 5px 20px rgba(26, 54, 93, 0.1);
    }

.carousel-container {
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: calc(300px * 16); /* 16 slides total with padding included */
}

.carousel-slide {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.carousel-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.carousel-image:hover {
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 8)); /* Move by 8 slides to create seamless loop */
    }
}

.about { padding: 100px 0; background: var(--bg-light); }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text h2 { font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-bottom: 1.5rem; }
.about-text p { font-size: 1.1rem; color: var(--gray); margin-bottom: 1rem; }
.stats { display: flex; gap: 2rem; margin-top: 2rem; }
.stat { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.9rem; color: var(--gray); text-transform: uppercase; }

.testimonials { padding: 100px 0; background: white; }
.testimonial { text-align: center; max-width: 800px; margin: 0 auto; }
.testimonial-text { font-size: 1.3rem; font-style: italic; color: var(--gray); margin-bottom: 2rem; }
.testimonial-author { font-weight: 600; }
.testimonial-rating { color: var(--accent); font-size: 1.2rem; margin-bottom: 1rem; }

.blog { padding: 100px 0; background: var(--bg-light); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.blog-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: var(--transition); }
.blog-card:hover { transform: translateY(-10px); }
.blog-image { height: 200px; background: linear-gradient(135deg, var(--accent), #f4e7c1); display: flex; align-items: center; justify-content: center; color: white; }
.blog-content { padding: 1.5rem; }
.blog-date { color: var(--accent); font-size: 0.9rem; text-transform: uppercase; margin-bottom: 0.5rem; }
.blog-title { font-size: 1.3rem; margin-bottom: 1rem; font-weight: 600; }
.blog-excerpt { color: var(--gray); margin-bottom: 1rem; }
.read-more { color: var(--accent); text-decoration: none; font-weight: 600; }

.contact { padding: 100px 0; background: white; }
.contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h3 { font-size: 1.8rem; margin-bottom: 1.5rem; }
.contact-item { display: flex; align-items: center; margin-bottom: 1rem; }
.contact-item i { font-size: 1.2rem; color: var(--accent); margin-right: 1rem; width: 20px; }
.contact-form { background: var(--bg-light); padding: 2rem; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.8rem; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }

.footer { background: var(--primary); color: var(--light); padding: 60px 0 30px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-section h3 { margin-bottom: 1rem; color: var(--accent); }
.footer-section p, .footer-section li { margin-bottom: 0.5rem; opacity: 0.8; }
.footer-section ul { list-style: none; }
.footer-section a { color: var(--light); text-decoration: none; }
.footer-section a:hover { color: var(--accent); }
.social-links { display: flex; gap: 1rem; margin-top: 1rem; }
.social-links a { width: 40px; height: 40px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.social-links a:hover { transform: translateY(-3px); }
.footer-bottom { text-align: center; padding-top: 1rem; border-top: 1px solid #444; opacity: 0.7; }

/* Modal */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.8); }
.modal-content { background-color: white; margin: 5% auto; padding: 2rem; border-radius: 15px; width: 90%; max-width: 600px; max-height: 80vh; overflow-y: auto; position: relative; }
.close { position: absolute; right: 1rem; top: 1rem; color: #aaa; font-size: 2rem; font-weight: bold; cursor: pointer; }
.close:hover { color: var(--dark); }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Responsive Design */
@media (max-width: 1024px) {
    .nav-container { padding: 0 1rem; }
    .container { padding: 0 1rem; }
    .hero-content h1 { font-size: 3.5rem; }
    .section-title h2 { font-size: 2.5rem; }
    .about-content, .contact-content { gap: 3rem; }
}

@media (max-width: 768px) {
    /* Header & Navigation */
    .nav-container { height: 70px; padding: 0 1rem; }
    .logo { font-size: 1.5rem; }
    .logo-img { height: 40px; margin-right: 10px; }
    .logo span { display: none; }
    .mobile-menu-toggle { display: flex; }
    .nav-menu { 
        display: none; 
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(26,26,26,0.98);
        flex-direction: column;
        padding: 2rem 0;
        gap: 1rem;
        z-index: 999;
    }
    .nav-menu.active { display: flex; }
    .nav-link { padding: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; background: rgba(255,255,255,0.05); }
    
    /* Hero Section */
    .hero { height: calc(80vh + 150px); }
    .hero-logo { width: 180px; }
    .hero-logo-bg { padding: 8px 8px -16px 8px !important; margin-bottom: 1.5rem; }
    .hero-content h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
    .hero-subtitle { font-size: 1.2rem; margin-bottom: 1.5rem; }
    .cta-buttons { 
        flex-direction: column; 
        align-items: center; 
        gap: 1rem;
        width: 100%;
    }
    .btn { 
        width: 100%; 
        max-width: 280px; 
        padding: 12px 20px; 
        font-size: 0.9rem; 
    }
    
    /* Sections */
    .services, .gallery, .about, .testimonials, .blog, .contact { 
        padding: 60px 0; 
    }
    .section-title { margin-bottom: 3rem; }
    .section-title h2 { font-size: 2rem; margin-bottom: 0.5rem; }
    .section-title p { font-size: 1rem; }
    
    /* Services */
    .services-grid { 
        grid-template-columns: 1fr; 
        gap: 1.5rem; 
    }
    .service-card { 
        padding: 1.5rem; 
        margin-bottom: 1rem; 
    }
    .service-image { height: 180px; }
    .service-card h3 { font-size: 1.3rem; }
    .price { font-size: 1.5rem; }
    
    /* Gallery */
    .gallery-carousel { height: 300px; }
    .gallery-slide { min-width: 250px; height: 250px; margin-right: 15px; }
    .gallery-slide img { width: 250px; height: 250px; }
    .gallery-nav { width: 40px; height: 40px; padding: 10px; }
    .gallery-nav.prev { left: 10px; }
    .gallery-nav.next { right: 10px; }
    
    /* About */
    .about-content { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
    }
    .about-text h2 { font-size: 2rem; }
    .about-text p { font-size: 1rem; }
    .stats { 
        flex-direction: column; 
        gap: 1.5rem; 
        align-items: center; 
    }
    .stat { margin-bottom: 1rem; }
    .stat-number { font-size: 2rem; }
    
    /* Testimonials */
    .testimonial-text { font-size: 1.1rem; }
    
    /* Blog */
    .blog-grid { 
        grid-template-columns: 1fr; 
        gap: 1.5rem; 
    }
    .blog-card { margin-bottom: 1rem; }
    .blog-title { font-size: 1.2rem; }
    
    /* Contact */
    .contact-content { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
    }
    .contact-info h3 { font-size: 1.5rem; }
    .contact-form { padding: 1.5rem; }
    .form-group input, .form-group textarea, .form-group select { 
        padding: 0.7rem; 
        font-size: 0.9rem; 
    }
    
    /* Footer */
    .footer { padding: 40px 0 20px; }
    .footer-content { 
        grid-template-columns: 1fr; 
        gap: 1.5rem; 
        text-align: center; 
    }
    .social-links { justify-content: center; }
    
    /* Modal */
    .modal-content { 
        width: 95%; 
        margin: 10% auto; 
        padding: 1.5rem; 
    }
    .close { right: 0.5rem; top: 0.5rem; }
}

@media (max-width: 480px) {
    /* Extra Small Devices */
    .hero-content h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .btn { padding: 10px 16px; font-size: 0.85rem; }
    
    .section-title h2 { font-size: 1.8rem; }
    .service-card { padding: 1rem; }
    .service-image { height: 150px; }
    
    .about-text h2 { font-size: 1.8rem; }
    .contact-info h3 { font-size: 1.3rem; }
    .contact-form { padding: 1rem; }
    
    .nav-container { padding: 0 0.5rem; }
    .container { padding: 0 0.5rem; }
    
    .hero-logo { width: 144px; }
    .hero-logo-bg { padding: 8px 8px -16px 8px !important; margin-bottom: 1rem; }
    
    /* Mobile layout for social media section */
    .social-media-section { 
        flex-direction: column !important; 
        align-items: center !important; 
        gap: 20px !important; 
        padding-right: 15px !important;
    }
    .social-icons {
        gap: 20px !important;
    }
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    .nav-link, .btn, .service-card, .gallery-item, .blog-card { 
        min-height: 44px; 
    }
    .btn { 
        padding: 15px 20px; 
        font-size: 1rem; 
    }
    .dropdown-menu { 
        position: static; 
        opacity: 1; 
        visibility: visible; 
        transform: none; 
    }
}
