/*
  STUDIO11 Family Salon - Design System
  Inspired by Glamify.framer.website
  Theme: Premium Luxury, High-Contrast, Minimalist
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    /* Colors */
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-gold: #c5a059;
    --accent-gold-light: #e2c08d;
    --accent-pink: #d4a5a5;
    --border-color: rgba(255, 255, 255, 0.1);
    
    /* Spacing */
    --section-padding: 100px 5%;
    --section-padding-mobile: 60px 20px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.serif {
    font-family: 'Playfair Display', serif;
    text-transform: none;
    font-style: italic;
    font-weight: 400;
}

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

ul {
    list-style: none;
}

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

/* Layout Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.section {
    padding: var(--section-padding);
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

header.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent-gold);
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

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

.book-btn {
    background: transparent;
    border: 1px solid var(--text-primary);
    padding: 12px 24px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-smooth);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

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

.hero-content h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
    line-height: 0.9;
    margin-bottom: 30px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

/* Trust Bar / Ticker */
.ticker {
    background: var(--accent-gold);
    color: var(--bg-dark);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
}

.ticker-track {
    display: flex;
    animation: ticker 20s linear infinite;
}

.ticker-item {
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-right: 50px;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Section Headlines */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Services Grid */
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    height: 450px;
    overflow: hidden;
    cursor: pointer;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* About Section */
.about {
    background: var(--bg-darker);
}

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

.about-img {
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: 5px;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

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

/* Testimonials */
.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: var(--bg-darker);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.stars {
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.testimonial-author {
    font-weight: 700;
    text-transform: uppercase;
}

/* Gallery - 3x2 Square Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

/* Offers Section */
.offers-section {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.offer-card {
    background: #111;
    border-left: 4px solid var(--accent-gold);
    padding: 30px;
    transition: var(--transition-smooth);
}

.offer-card:hover {
    transform: translateY(-5px);
    background: #1a1a1a;
}

.offer-tag {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.offer-price {
    font-size: 2rem;
    font-weight: 800;
    margin: 15px 0;
}

.offer-price span {
    font-size: 1rem;
    text-decoration: line-through;
    opacity: 0.5;
    margin-left: 10px;
}

/* Contact Details Section */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.contact-info-panel {
    padding: 100px 10%;
    background: var(--bg-dark);
}

.contact-info-panel h2 {
    font-size: 3rem;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    fill: black;
}

.contact-text h4 {
    margin-bottom: 5px;
    color: var(--accent-gold);
}

.map-panel {
    height: 100%;
    min-height: 500px;
}

.map-panel iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(1) invert(1) contrast(1.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-content { gap: 50px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-section { grid-template-columns: 1fr; }
    .map-panel { height: 400px; order: -1; }
}

/* Contact / Footer */
footer {
    padding: 100px 5% 50px;
    background: #000;
    border-top: 1px solid var(--border-color);
}

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

.footer-info h3 { margin-bottom: 30px; }
.footer-info p { color: var(--text-secondary); margin-bottom: 20px; }

.footer-links h4 { margin-bottom: 25px; color: var(--accent-gold); }
.footer-links ul li { margin-bottom: 12px; font-size: 0.9rem; opacity: 0.7; cursor: pointer; }
.footer-links ul li:hover { opacity: 1; color: var(--accent-gold); }

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: translateY(-5px);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-content { gap: 50px; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-section { grid-template-columns: 1fr; }
    .map-panel { height: 400px; order: -1; }
}

@media (max-width: 768px) {
    .nav-links, .header-cta { display: none; }
    .menu-toggle { display: flex; }
    
    .section { padding: var(--section-padding-mobile); }
    
    .about-content { grid-template-columns: 1fr; gap: 40px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    
    .hero-content h1 { font-size: 3.5rem; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 1002;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav a {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 1.5rem;
    cursor: pointer;
}
