/* --- Variables & Theming --- */
:root {
    --color-soft-pink: #f8c8dc;
    --color-light-pink: #ffdfe8;
    --color-rose-pink: #f4a6c1;
    --color-white: #ffffff;
    --color-cream: #fff7f9;
    --color-dark: #33262a;
    --color-gray: #6d5b61;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    --shadow-soft: 0 10px 30px rgba(244, 166, 193, 0.15);
    --shadow-hover: 0 15px 40px rgba(244, 166, 193, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--color-cream);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--color-rose-pink);
    border-radius: 4px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-dark);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-rose-pink);
    border-radius: 2px;
}

.section-header p {
    color: var(--color-gray);
    margin-top: 20px;
    font-size: 1.1rem;
}

/* --- Glassmorphism Utilities --- */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

/* --- Buttons --- */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-rose-pink), var(--color-soft-pink));
    color: var(--color-white);
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(244, 166, 193, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(244, 166, 193, 0.6);
    color: var(--color-white);
}

.btn-small {
    background: var(--color-rose-pink);
    color: var(--color-white) !important;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
}

.btn-small:hover {
    background: var(--color-dark);
}

.btn-glowing {
    animation: glow 1.5s infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(244, 166, 193, 0.4);
    }

    to {
        box-shadow: 0 0 25px rgba(244, 166, 193, 0.9), 0 0 15px var(--color-rose-pink);
    }
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(244, 166, 193, 0.5);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--color-dark);
    font-size: 1rem;
}

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

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 800px;
    padding: 50px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    animation: fadeInDown 1.5s ease;
}

.tagline {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    color: var(--color-rose-pink);
    display: block;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--color-dark);
}

.hero p {
    font-size: 1.2rem;
    color: var(--color-gray);
    margin-bottom: 35px;
}

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

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    padding: 30px;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(248, 200, 220, 0.85);
    /* soft pink */
}

.experience-badge .number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

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

.feature-list {
    margin-top: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    color: var(--color-rose-pink);
}

/* --- Services Section --- */
.services {
    background: linear-gradient(to bottom, var(--color-cream), var(--color-white));
}

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

.service-card {
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(244, 166, 193, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card .icon {
    font-size: 2.5rem;
    color: var(--color-rose-pink);
    margin-bottom: 20px;
    display: inline-block;
    padding: 20px;
    background: rgba(255, 223, 232, 0.5);
    /* light pink */
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.service-card:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

/* --- Certification & Registration Section --- */
.credentials {
    background: linear-gradient(to bottom, var(--color-white), var(--color-cream));
}

.credentials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.credential-card {
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
}

.credential-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.credential-image.gallery-item {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4/3 !important;
    margin-bottom: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(244, 166, 193, 0.2);
}

.credential-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.credential-info p {
    color: var(--color-gray);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* --- Gallery Section --- */
.gallery-category {
    margin-bottom: 70px;
}

.gallery-category:last-of-type {
    margin-bottom: 0;
}

.gallery-category-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-dark);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.gallery-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--color-rose-pink);
    border-radius: 2px;
}

.gallery-slider-container {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.gallery-slider-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
    touch-action: pan-y;
}

.gallery-slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    touch-action: pan-y;
}

.gallery-slider-track .gallery-item {
    flex: 0 0 calc((100% - 40px) / 3);
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/5;
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
}

@media (hover: hover) {
    .gallery-slider-track .gallery-item:hover {
        transform: translateY(-5px) scale(1.02);
        box-shadow: var(--shadow-hover);
    }
}

.slider-btn {
    position: absolute;
    top: calc(50% - 20px);
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--color-rose-pink);
    color: white;
    box-shadow: 0 4px 15px rgba(244, 166, 193, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: -22px;
}

.slider-btn.next {
    right: -22px;
}

.slider-btn:disabled {
    opacity: 0;
    pointer-events: none;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-rose-pink);
    opacity: 0.3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    opacity: 1;
    width: 20px;
    border-radius: 4px;
}

@media (max-width: 992px) {
    .gallery-slider-track .gallery-item {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 576px) {
    .gallery-slider-track .gallery-item {
        flex: 0 0 100%;
    }
    .slider-btn.prev {
        left: -10px;
    }
    .slider-btn.next {
        right: -10px;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/5;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item::after {
    content: '\f002';
    /* search icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 200, 220, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    opacity: 0;
    transition: all 0.4s ease;
}

@media (hover: hover) {
    .gallery-item:hover img {
        transform: scale(1.05);
    }

    .gallery-item:hover::after {
        opacity: 1;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* --- Testimonials --- */
.testimonials {
    background: linear-gradient(to bottom, var(--color-white), var(--color-light-pink));
}

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

.testimonial-card {
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}

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

.testimonial-card p {
    font-style: italic;
    color: var(--color-gray);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-card h4 {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-rose-pink);
    margin-bottom: 0;
}

/* --- Appointment Section --- */
.appointment {
    padding-bottom: 120px;
}

.appointment-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 25px;
    overflow: hidden;
    padding: 0;
}

.appointment-text {
    padding: 60px;
    background: rgba(248, 200, 220, 0.3);
    /* very soft pink */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.appointment-text h2 {
    font-size: 2.2rem;
}

.appointment-text p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: var(--color-gray);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    width: fit-content;
}

.btn-whatsapp:hover {
    background: #1ebc59;
    color: white;
}

.appointment-form {
    padding: 60px;
    background: white;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fafafa;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-rose-pink);
    background: white;
    box-shadow: 0 0 0 3px rgba(244, 166, 193, 0.2);
}

.form-submit {
    width: 100%;
}

/* --- Footer --- */
.footer {
    background: var(--color-dark);
    color: var(--color-cream);
    padding: 80px 0 20px;
    position: relative;
    z-index: 10;
}

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

.footer-brand h2 {
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-brand p {
    color: #ccc;
    margin-bottom: 25px;
    max-width: 300px;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
}

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

.footer h3 {
    color: var(--color-white);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
}

.footer-links a:hover {
    color: var(--color-rose-pink);
    padding-left: 5px;
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--color-rose-pink);
}

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

/* --- Floating WhatsApp --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: white;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

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

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

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .logo {
        font-size: 1.3rem;
    }

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

    .about-grid,
    .appointment-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .experience-badge {
        bottom: 20px;
        right: 20px;
    }

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

@media (max-width: 768px) {
    .logo {
        font-size: 1.1rem;
    }

    .brand-logo {
        width: 45px;
        height: 45px;
    }

    .gallery-category {
        margin-bottom: 40px;
    }

    .gallery-category-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: none;
    }

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

    .hero-content {
        padding: 30px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Mobile Spacing Fixes */
    section {
        padding: 60px 0;
    }

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

    /* Contact Section Fixes */
    .appointment-container {
        padding: 20px !important;
    }

    .appointment-text {
        padding: 10px !important;
    }

    .appointment-text h2 {
        font-size: 1.8rem;
    }

    .appointment-text .btn-glowing {
        width: 100%;
        justify-content: center;
    }
}

/* --- Petal Animation System --- */
#petal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    /* Below content but visible */
    overflow: hidden;
}

.petal {
    position: absolute;
    background-image: url('../assets/pink_petal.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    mix-blend-mode: multiply;
    /* Removes white background if image has one */
    opacity: 0.8;
    filter: drop-shadow(0px 5px 5px rgba(244, 166, 193, 0.4));
    will-change: transform;
}

@media (max-width: 480px) {
    .logo {
        font-size: 0.9rem;
    }
    .brand-logo {
        width: 35px;
        height: 35px;
    }
}