/* 
   Theme: Antigravity - Deep Purple & Lavender
   Author: Antigravity Agent
*/

:root {
    --primary-color: #4A148C;
    /* Deep Purple */
    --secondary-color: #7B1FA2;
    /* Lighter Purple */
    --accent-color: #D4AF37;
    /* Gold */
    --bg-light: #F3E5F5;
    /* Very light lavender */
    --bg-white: #FFFFFF;
    --text-dark: #2E1A47;
    --text-light: #6A1B9A;
    --text-white: #FFFFFF;
    --shadow-soft: 0 10px 30px rgba(74, 20, 140, 0.1);
    --shadow-hover: 0 20px 40px rgba(74, 20, 140, 0.2);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --transition-speed: 0.4s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

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

ul {
    list-style: none;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    box-shadow: 0 5px 15px rgba(74, 20, 140, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 20, 140, 0.4);
}

.btn-block {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

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

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

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 400;
    color: var(--text-dark);
    font-size: 0.95rem;
}

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

.btn-nav {
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    color: var(--primary-color) !important;
}

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

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-image {
    position: relative;
}

.image-placeholder-hero img {
    border-radius: 20px;
    /* Soft corners */
    box-shadow: var(--shadow-soft);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* Antigravity Float Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Background Orbs */
.hero-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite reverse;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    bottom: 50px;
    left: -50px;
    opacity: 0.2;
    animation: float 10s ease-in-out infinite;
}

/* Sections General */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto 0;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

/* Treatments Section */
.treatments {
    background-color: var(--bg-light);
}

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

.treatment-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all var(--transition-speed);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.treatment-card:hover {
    transform: translateY(-15px);
    /* Lift effect */
    box-shadow: var(--shadow-hover);
}

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

.treatment-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.treatment-card p {
    color: #666;
    font-size: 0.95rem;
}

.treatment-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    transition: color var(--transition-speed);
}

.treatment-link:hover {
    color: var(--secondary-color);
}

.treatment-link i {
    margin-left: 5px;
    transition: transform var(--transition-speed);
}

.treatment-link:hover i {
    transform: translateX(5px);
}

/* Results Section (Slider) */
.slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.slider-track {
    overflow: hidden;
}

.slide {
    display: none;
    text-align: center;
}

.slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.before-after-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    position: relative;
}

.before-after-wrapper img {
    width: 48%;
    border-radius: 10px;
    object-fit: cover;
}

.ba-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.ba-label.right {
    left: auto;
    right: 10px;
}

.slide-caption {
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 10px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: 0.3s;
}

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

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

/* Reviews Section */
.reviews {
    background-color: #FAFAFA;
}

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

.review-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #eee;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.stars {
    color: #FFC107;
    /* Star yellow */
    font-size: 0.9rem;
}

.google-icon {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 0;
    right: 0;
}

.review-text {
    font-style: italic;
    color: #555;
    font-size: 0.95rem;
}

/* Social Section & Stories */
.stories-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.story-item {
    text-align: center;
    cursor: pointer;
}

.story-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    /* Instagram Gradient */
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.story-circle:hover {
    transform: scale(1.05);
}

.story-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
}

.story-item p {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.social-subtitle {
    text-align: center;
    color: var(--secondary-color);
    margin-top: -40px;
    margin-bottom: 40px;
    font-weight: 700;
}

.instagram-placeholder {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.insta-grid-mockup {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.insta-item {
    background: #eee;
    padding-bottom: 100%;
    /* Square */
    border-radius: 10px;
}

.widget-note {
    color: #999;
    font-size: 0.8rem;
    margin-top: 10px;
    font-style: italic;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
}

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

.contact-details {
    margin-top: 30px;
}

.contact-details li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #555;
}

.contact-details i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: var(--font-body);
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 20, 140, 0.1);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 5px;
}

.footer-logo p {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-links a {
    color: #ccc;
    margin: 0 15px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

.footer-social a {
    color: white;
    font-size: 1.5rem;
    margin-left: 20px;
}

.footer-social a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #666;
    font-size: 0.8rem;
}

/* Sticky Bot */
.sticky-bot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.bot-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(74, 20, 140, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bot-btn:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
}

.bot-tooltip {
    background: white;
    padding: 8px 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
    pointer-events: none;
}

.sticky-bot:hover .bot-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Animations Classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }

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

    .sticky-bot {
        bottom: 20px;
        right: 20px;
    }
}

/* Comparison Slider Styles */
.img-comp-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
    cursor: col-resize;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.img-comp-img {
    position: absolute;
    width: auto;
    height: 100%;
    overflow: hidden;
}

.img-comp-img img {
    display: block;
    height: 100%;
    width: auto; /* We will set width via JS or ensure it covers */
    max-width: none;
    object-fit: cover;
}

/* Overlay Image (Before) */
.img-comp-overlay {
    z-index: 2;
    width: 50%; /* Start at 50% */
}

.img-comp-slider {
    position: absolute;
    z-index: 9;
    cursor: ew-resize;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    top: 50%;
    left: 50%; /* Start at 50% */
    transform: translate(-50%, -50%);
}

.img-comp-slider::before {
    content: '\f337'; /* FontAwesome arrows-alt-h */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.comp-label {
    position: absolute;
    top: 20px;
    padding: 5px 15px;
    background: rgba(0,0,0,0.5);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    pointer-events: none;
    z-index: 10;
}

.comp-label.before {
    left: 20px;
    z-index: 3; /* Above overlay */
}

.comp-label.after {
    right: 20px;
    z-index: 1;
}
@media (max-width: 768px) {

    .hero-container,
    .about-container,
    .contact-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .nav-links {
        display: none;
        /* Mobile menu logic needed in JS if full implementation */
    }

    .hamburger {
        display: block;
    }
}