/* 
   Wix-Style Premium Aesthetics 
   Theme: Luxurious Facial Aesthetics Clinic
*/

:root {
    /* Premium Palette */
    --primary-color: #c9a764; /* Sophisticated muted gold/champagne */
    --primary-dark: #b08d4a;
    --primary-light: rgba(201, 167, 100, 0.1);
    
    --secondary-color: #1a1a1a; /* Elegant soft black for high contrast */
    --text-color: #4a4a4a; /* Deep grey for readability without being harsh */
    --text-light: #7a7a7a;
    
    --bg-white: #ffffff;
    --bg-light: #fdfbf7; /* Very soft, warm cream/alabaster */
    --bg-accent: #f5f0e6; /* Slightly deeper beige for sections */

    /* Premium Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    /* Spacing & Layout */
    --section-padding: 100px 20px;
    --container-width: 1200px;
    
    /* Shadows & Effects */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.08);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

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

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-weight: 600;
    line-height: 1.2;
}

p {
    margin-bottom: 1.2rem;
}

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

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

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

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

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
    font-size: 1.15rem;
    color: var(--text-light);
    font-weight: 300;
}

/* Elegant Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    border-radius: 4px; /* More sophisticated squared edges with slight rounding */
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

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

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-primary:hover {
    color: white;
    box-shadow: 0 10px 20px rgba(201, 167, 100, 0.3);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 10px 20px rgba(201, 167, 100, 0.2);
}

/* Glassmorphism Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05); /* Subtle bottom border */
    padding: 15px 0;
    transition: var(--transition-smooth);
}

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

.logo img {
    height: 45px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary-color);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Hero Section Refined */
.hero {
    height: 100vh;
    min-height: 600px;
    /* Beautiful subtle overlay to let text shine */
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%), url('../assets/hero_modern_interactive_face_1770921982241.png');
    background-size: cover;
    background-position: center 20%;
    background-attachment: scroll; /* Removing fixed for better mobile support occasionally, or keep it depending on UX preference. Let's make it fixed on desktop */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: white;
    margin-top: 0;
    padding-top: 80px; /* Offset for header */
}

@media (min-width: 1024px) {
    .hero {
        background-attachment: fixed;
    }
}

.hero .container {
    width: 100%;
}

.hero-content {
    max-width: 650px;
    animation: fadeInUp 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero h1 {
    font-size: 4rem;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 500px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

/* About Section */
.about {
    background-color: var(--bg-light);
    position: relative;
}

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

.about-img {
    position: relative;
    border-radius: 4px;
}

.about-img::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    z-index: 0;
    transition: var(--transition-smooth);
}

.about-img img {
    position: relative;
    z-index: 1;
    border-radius: 4px;
    box-shadow: var(--shadow-soft);
}

.about-img:hover::before {
    transform: translate(10px, 10px);
}

.about-text h2 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 25px;
    color: var(--text-color);
    font-size: 1.1rem;
}

.about-text strong {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    display: block;
    margin-bottom: 15px;
}

/* Differentials */
.differentials {
    background-color: var(--bg-white);
}

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

.diff-item {
    background: var(--bg-light);
    padding: 50px 30px;
    border-radius: 4px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border-bottom: 3px solid transparent;
}

.diff-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--primary-color);
}

.diff-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.diff-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.diff-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Procedures */
.procedures {
    background-color: var(--bg-accent);
}

.proc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.proc-card {
    background: var(--bg-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    top: 0;
}

.proc-card:hover {
    top: -10px;
    box-shadow: var(--shadow-hover);
}

.proc-img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    background-color: var(--bg-light);
    transition: transform 0.6s ease;
}

.proc-card:hover .proc-img {
    transform: scale(1.05);
}

.proc-img-wrapper {
    overflow: hidden;
}

.proc-content {
    padding: 35px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.proc-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.proc-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.proc-content ul {
    list-style: none;
    margin-bottom: 25px;
}

.proc-content ul li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: var(--text-color);
}

.proc-content ul li::before {
    content: '\f00c'; /* FontAwesome check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.8rem;
}

.proc-content .btn {
    align-self: flex-start;
    padding: 10px 25px;
    font-size: 0.75rem;
}

/* Testimonials */
.testimonials {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23c9a764" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.5;
}

.testimonials .section-title {
    color: white;
}

.testimonials .section-title::after {
    background-color: var(--primary-color);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 1;
}

.testimonial-slider i.fa-quote-left {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 20px;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-weight: 700;
}

/* Locations */
.locations {
    background-color: var(--bg-white);
}

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

.loc-item {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 4px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.loc-item i {
    text-shadow: 0 5px 15px rgba(201, 167, 100, 0.3);
}

.loc-item h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.loc-item p {
    color: var(--text-light);
    margin-bottom: 5px;
}

/* Footer */
footer {
    background-color: #111;
    color: #888;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col p {
    line-height: 1.8;
}

.footer-links li {
    list-style: none;
    margin-bottom: 15px;
}

.footer-links a {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    font-size: 1.2rem;
    color: white;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 30px;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Base utility for JS revealing elements */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .about-grid {
        gap: 40px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-padding {
        padding: 80px 20px;
    }
}

@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: white;
        padding: 30px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .navbar .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-img {
        order: -1;
    }

    .hero {
        justify-content: center;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.8rem;
    }
}