/* 
  RALSS LUXE - Luxury Salon Style Sheet
  Design System: Modern, Dark Mode, High-End Minimalist
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
    /* Color Palette */
    --primary-bg: #0B121E;
    --secondary-bg: #0E1621;
    --card-bg: #1A2433;
    --accent-color: #00CEE1;
    --accent-hover: #00B5C6;
    --text-primary: #FFFFFF;
    --text-muted: #A0AEC0;
    --text-dark: #0B121E;
    --border-color: rgba(160, 174, 192, 0.2);
    --gold-star: #F6AD55;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Sizing */
    --section-padding: 120px;
    --container-width: 1200px;
    --border-radius: 12px;
    --transition-speed: 0.4s;
    --header-height: 90px;
}

/* 1. Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-muted);
    font-family: var(--font-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* 2. Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 206, 225, 0.2);
}

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

.btn-outline:hover {
    background-color: var(--text-primary);
    color: var(--text-dark);
}

/* 3. Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 1000;
    transition: background var(--transition-speed) ease, height var(--transition-speed) ease;
}

.header.scrolled {
    background: rgba(11, 18, 30, 0.95);
    height: 70px;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

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

/* 4. Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11, 18, 30, 0.9) 20%, rgba(11, 18, 30, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding-left: 10%;
}

.hero-label {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* 5. Section Layouts */
section {
    padding: var(--section-padding) 5%;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.accent-line {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 0 auto;
}

/* 6. About Section (Asymmetric) */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-images {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-img-tall {
    margin-top: -40px;
}

.about-img-short {
    margin-top: 40px;
}

/* 7. Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform var(--transition-speed) ease, background var(--transition-speed) ease;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    background: #1e2a3d;
    border-bottom: 3px solid var(--accent-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 24px;
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

/* 8. Portfolio Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:nth-child(2) { grid-column: span 2; }
.gallery-item:nth-child(5) { grid-row: span 2; }

.gallery-item:hover img {
    transform: scale(1.1);
}

/* 9. Testimonials */
.testimonial-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
}

.stars {
    color: var(--gold-star);
    margin-bottom: 20px;
    font-size: 0.8rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 24px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #333;
}

/* 10. Forms */
.booking-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 60px;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

input, select, textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    color: var(--text-primary);
    border-radius: 4px;
    font-family: inherit;
    transition: border-color var(--transition-speed) ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* 11. Footer */
.footer {
    background: var(--secondary-bg);
    padding: 80px 5% 40px;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-about p {
    margin-top: 20px;
    font-size: 0.9rem;
}

.footer-links h4 {
    margin-bottom: 24px;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    padding-left: 5px;
    color: var(--accent-color);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

/* 12. Utilities */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.accent-text { color: var(--accent-color); }

/* 13. Responsive Media Queries */

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links, .header .btn {
        display: none; /* Hide for mobile burger menu implementation */
    }
    
    .hero {
        text-align: center;
    }
    
    .hero-content {
        padding: 0 5%;
        margin: 0 auto;
    }
    
    .hero-btns {
        justify-content: center;
        flex-direction: column;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .booking-form {
        padding: 30px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* 14. Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
    animation: fadeIn 1s ease forwards;
}

.hero-content h1 { animation-delay: 0.2s; }
.hero-content p { animation-delay: 0.4s; }
.hero-content .hero-btns { animation-delay: 0.6s; }