/* 
  SS Beauty Academy & Saloon - Premium Design System
  Inspired by Velvera (Warm, Luxury, Minimalist)
*/

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

:root {
    /* Color Palette */
    --bg-cream: #f7f4f2;
    --primary-orange: #ff6b00;
    --orange-hover: #e66000;
    --text-dark: #1a1a1a;
    --text-muted: #555555;
    --white: #ffffff;
    --accent-gold: #c7a17a;
    --border-color: #e5e1de;
    
    /* Spacing */
    --section-padding: 100px 5%;
    --container-max-width: 1200px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

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

/* Typography Utilities */
.text-serif { font-family: 'Playfair Display', serif; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; letter-spacing: 0.1em; }
.text-center { text-align: center; }

h1, h2, h3, h4 { line-height: 1.2; margin-bottom: 0.5em; }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2rem); }

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

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
    max-width: 700px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 16px 32px;
    background-color: var(--primary-orange);
    color: var(--white);
    font-weight: 500;
    border-radius: 100px;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn:hover {
    background-color: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background-color: var(--text-dark);
    color: var(--white);
}

/* Sticky Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

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

header nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-orange);
    transition: var(--transition-smooth);
}

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

.nav-links a:hover::after {
    width: 100%;
}

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

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

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at 10% 10%, #fff9f5 0%, var(--bg-cream) 60%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-visual {
    flex: 1.2;
    position: relative;
    perspective: 1000px;
}

.hero-image-wrapper {
    position: relative;
    transform: rotateY(-10deg) rotateX(5deg);
    box-shadow: 30px 40px 100px rgba(0,0,0,0.08);
    border-radius: 40px;
    overflow: hidden;
}

.hero-image-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
}

.hero-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

/* Trust / Stats */
.trust-section {
    padding: 80px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h2 {
    font-size: 3.5rem;
    color: var(--primary-orange);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Services */
.services-section {
    padding: var(--section-padding);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background-color: var(--white);
    border-radius: 30px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.05);
}

.service-img-wrapper {
    height: 350px;
    overflow: hidden;
}

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

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

.service-details {
    padding: 40px;
    flex-grow: 1;
}

.service-details h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.service-details p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Academy Section */
.academy-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.academy-visual { flex: 1; }
.academy-visual img { 
    border-radius: 40px; 
    box-shadow: 0 40px 80px rgba(0,0,0,0.08);
}

.academy-content { flex: 1.2; }

.academy-features {
    margin-top: 20px;
}

.academy-features li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

/* About Section */
.about-section {
    padding: var(--section-padding);
    background-color: var(--bg-cream);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-content { flex: 1.2; }
.about-image { flex: 1; position: relative; text-align: right; }

.founder-img {
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.1);
    max-width: 90%;
}

/* Testimonials */
.testimonials-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

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

.testimonial-card {
    padding: 40px;
    background-color: var(--bg-cream);
    border-radius: 30px;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    background-color: var(--white);
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

.stars {
    color: #ffb800;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-dark);
}

/* Gallery - Masonry Style */
.gallery-section {
    padding: var(--section-padding);
}

.masonry-gallery {
    column-count: 3;
    column-gap: 20px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

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

.gallery-item:hover img {
    filter: brightness(0.9);
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}

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

.contact-visual iframe {
    width: 100%;
    height: 500px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.contact-info .info-item h4 {
    color: var(--primary-orange);
    margin-bottom: 10px;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.contact-info .info-item p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.footer-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.7;
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--primary-orange);
}

/* Footer */
footer {
    padding: 50px 5%;
    background-color: var(--bg-cream);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 100px;
    margin-bottom: 80px;
}

.footer-info { flex: 1.5; }
.footer-cta { flex: 1; text-align: right; }

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    opacity: 0.6;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(37, 211, 102, 0.6);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

/* Mobile Adjustments Overhaul */
@media (max-width: 1200px) {
    .container { padding: 0 40px; }
    .hero-content h1 { font-size: 3.8rem; }
    .nav-links { gap: 20px; }
}

@media (max-width: 991px) {
    header { padding: 10px 0; background-color: var(--white); }
    header nav.container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .nav-links { 
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-cream);
        padding: 40px;
        border-bottom: 1px solid var(--border-color);
        gap: 30px;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle { display: flex; order: 2; margin-left: auto; }
    .nav-btn { display: none; }
    .logo { order: 1; flex-shrink: 1; }
    
    .hero { padding-top: 120px; }
    .hero-container { flex-direction: column; text-align: center; gap: 40px; }
    .hero-visual { width: 100%; max-width: 600px; order: 1; }
    .hero-content { order: 2; width: 100%; }
    .hero-content h1 { font-size: 3.2rem; }
    .hero-img { height: 450px; }
    
    .academy-container, .about-container, .contact-container { 
        grid-template-columns: 1fr !important;
        flex-direction: column; 
        gap: 50px; 
        text-align: center; 
    }
    
    .academy-visual, .about-image { width: 100%; max-width: 500px; margin: 0 auto; }
    .about-image { text-align: center; }
    .founder-img { max-width: 100%; margin: 0 auto; }
    
    .masonry-gallery { column-count: 2; }
    
    .contact-container { display: flex; }
    .footer-nav ul { justify-content: center; }
}

@media (max-width: 767px) {
    :root { --section-padding: 70px 5%; }
    .hero-content h1 { font-size: 2.6rem; }
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.8rem; }
    
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .stat-item h2 { font-size: 2.2rem; }
    
    .masonry-gallery { column-count: 1; }
    
    .academy-container, .about-container, .contact-container {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .logo { font-size: 1.1rem; }
    .hero-content h1 { font-size: 2.22rem; }
    h2 { font-size: 1.8rem; }
    .hero-btns { display: flex; flex-direction: column; gap: 15px; }
    .hero-btns .btn { width: 100%; margin: 0 !important; }
    
    .container { padding: 0 20px; }
    .stat-item h2 { font-size: 2rem; }
}
