/* ============================================
   Lamyaa Aissi - Makeup Artist
   Elegant & Luxurious Design
   ============================================ */

:root {
    --primary: #1a1a1a;
    --secondary: #b8860b;
    --accent: #d4a574;
    --rose: #e8d4c4;
    --cream: #faf8f5;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-muted: #999999;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, sans-serif;

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: 0.02em;
}

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

h3 {
    font-size: 1.5rem;
}

.section-subtitle {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 12px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
}

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

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

.btn-full {
    width: 100%;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.navbar.scrolled .logo-text {
    color: var(--primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-menu a {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.navbar.scrolled .nav-menu a {
    color: var(--text-dark);
}

.nav-menu a:hover {
    color: var(--secondary);
}

.btn-nav {
    padding: 12px 24px;
    border: 1px solid var(--white);
}

.navbar.scrolled .btn-nav {
    border-color: var(--primary);
}

.btn-nav:hover {
    background: var(--white);
    color: var(--primary) !important;
}

.navbar.scrolled .btn-nav:hover {
    background: var(--primary);
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 1px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--primary);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)),
                linear-gradient(135deg, #d4a574 0%, #e8d4c4 50%, #b8860b 100%);
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 24px;
}

.hero-content {
    max-width: 800px;
}

.hero-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0.9;
}

.hero h1 {
    margin-bottom: 16px;
    color: var(--white);
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 8px;
    opacity: 0.9;
}

.hero-location {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
    opacity: 0.8;
}

.hero .btn-primary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.hero .btn-primary:hover {
    background: transparent;
    color: var(--white);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--rose) 0%, var(--cream) 100%);
    border: 1px solid var(--rose);
}

.image-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 1px solid var(--secondary);
    z-index: -1;
}

.about-text h2 {
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--rose);
}

.about-stats .stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--secondary);
    line-height: 1;
}

.about-stats .stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 8px;
    display: block;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 120px 0;
    background: var(--cream);
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--white);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
    color: var(--secondary);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

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

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-price {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--secondary);
    letter-spacing: 0.05em;
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio {
    padding: 120px 0;
    background: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-item {
    aspect-ratio: 1;
    overflow: hidden;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--rose) 0%, var(--cream) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.portfolio-placeholder span {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-muted);
}

.portfolio-item:hover .portfolio-placeholder {
    transform: scale(1.05);
}

.portfolio-cta {
    text-align: center;
    margin-top: 48px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 120px 0;
    background: var(--primary);
    color: var(--white);
}

.testimonials .section-subtitle {
    color: var(--accent);
}

.testimonials h2 {
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.1);
}

.testimonial-card p {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.9);
}

.author-name {
    display: block;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.author-title {
    font-size: 0.8rem;
    color: var(--accent);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 120px 0;
    background: var(--cream);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--secondary);
}

.contact-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--secondary);
}

.contact-form {
    background: var(--white);
    padding: 48px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 0;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    border: none;
    border-bottom: 1px solid var(--rose);
    background: transparent;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.form-group textarea {
    resize: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 60px 0 40px;
    background: var(--primary);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-logo .logo-text {
    color: var(--white);
    font-size: 1.5rem;
}

.footer-logo p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

.footer-links h4 {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    margin-bottom: 10px;
    transition: var(--transition);
}

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

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    color: var(--text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        position: relative;
    }

    .navbar .logo-text {
        font-size: 1.2rem;
    }

    .mobile-controls {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
        order: 2;
    }

    .nav-toggle.active span {
        background: var(--white);
    }

    .nav-toggle.active span:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:last-child {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transform: translateX(100%);
        transition: var(--transition);
        z-index: 1000;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu a {
        color: var(--white);
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-logo {
        grid-column: 1 / -1;
    }

    .footer-social {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-switcher {
    display: flex;
    gap: 8px;
    margin-right: 20px;
}

.lang-switcher a {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--white);
    text-decoration: none;
    padding: 4px 8px;
    border: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled .lang-switcher a {
    color: var(--text-dark);
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--secondary);
    border-color: var(--secondary);
}

.lang-btn-mobile {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--white);
}

.navbar.scrolled .lang-btn-mobile {
    color: var(--primary);
}

@media (max-width: 768px) {
    .lang-switcher {
        display: none;
    }

    .lang-btn-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
        order: 1;
    }

    .lang-switcher.show {
        display: flex;
        position: fixed;
        top: 70px;
        right: 16px;
        background: var(--white);
        flex-direction: column;
        padding: 12px;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        z-index: 1002;
        gap: 4px;
    }

    .lang-switcher.show {
        display: flex;
    }

    .lang-switcher a {
        color: var(--text-dark);
        padding: 8px 16px;
        border-radius: 4px;
    }

    .lang-switcher a:hover,
    .lang-switcher a.active {
        background: var(--cream);
        color: var(--secondary);
        border-color: transparent;
    }
}

/* ============================================
   RTL SUPPORT (Arabic/Darija)
   ============================================ */
[dir="rtl"] {
    text-align: right;
}

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

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

[dir="rtl"] .about-content {
    direction: rtl;
}

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

[dir="rtl"] .services-grid {
    direction: rtl;
}

[dir="rtl"] .contact-wrapper {
    direction: rtl;
}

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

[dir="rtl"] .contact-item svg {
    margin-left: 16px;
    margin-right: 0;
}

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

[dir="rtl"] .lang-switcher {
    margin-right: 0;
    margin-left: 20px;
}

@media (max-width: 768px) {
    [dir="rtl"] .lang-switcher {
        right: auto;
        left: 60px;
    }
}
