/* style.css */

/* Reset & Basic Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

:root {
    --primary-color: #6a1b9a; /* Deep Purple */
    --secondary-color: #9c27b0; /* Light Purple */
    --accent-color: #ce93d8; /* Soft Lavender */
    --text-dark: #333;
    --text-light: #fff;
    --bg-light: #f3e5f5; /* Very light purple background */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(106, 27, 154, 0.15);
}

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

body.loading {
    overflow: hidden !important;
}

/* Cinematic Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fdfbfb;
    overflow: hidden;
}

.loader-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #f5fcf9 0%, #fdfbfb 100%);
    z-index: 1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    z-index: 2;
}

.blob-1 {
    width: 40vw;
    height: 40vw;
    background: #a8e6cf; /* Mint green glow */
    top: -10%;
    right: -10%;
    animation: blobAnim 10s infinite alternate ease-in-out;
}

.blob-2 {
    width: 30vw;
    height: 30vw;
    background: #ce93d8; /* Soft lavender glow */
    bottom: -10%;
    left: -10%;
    animation: blobAnim 8s infinite alternate-reverse ease-in-out;
}

@keyframes blobAnim {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-20px, 20px) scale(1.2); }
}

.shimmer-cursor {
    position: fixed;
    width: 15px;
    height: 15px;
    background: #a8e6cf;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: screen;
    box-shadow: 0 0 20px 10px rgba(168, 230, 207, 0.6);
    transform: translate(-50%, -50%);
    opacity: 0; /* visible only on mouse move */
    transition: opacity 0.3s;
}

.loader-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    width: 300px;
    height: 100px;
    overflow: visible;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    fill: transparent;
    stroke: var(--primary-color);
    stroke-width: 1px;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

.loader-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #444;
    letter-spacing: 2px;
    margin-top: 20px;
    font-style: italic;
    font-weight: 400;
}

.loader-text span {
    opacity: 0;
    display: inline-block;
    transform: translateY(10px);
}

/* Hero Image Initial State for Animation */
.hero-image-animate img {
    filter: blur(10px);
    transform: scale(1.1);
    transition: filter 1.5s ease-out, transform 1.5s ease-out;
}

body {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-attachment: fixed;
}

/* Background Animated Shapes for 3D depth */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: float 20s infinite ease-in-out alternate;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: rgba(156, 39, 176, 0.3);
}

.shape-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: rgba(106, 27, 154, 0.2);
    animation-delay: -5s;
}

.shape-3 {
    top: 40%;
    left: 30%;
    width: 30vw;
    height: 30vw;
    background: rgba(206, 147, 216, 0.4);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5%, 5%) scale(1.1); }
    100% { transform: translate(-5%, -5%) scale(0.9); }
}

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

.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(106, 27, 154, 0.2);
    border: 2px solid rgba(255,255,255,0.8);
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* 3D Float Animations */
.3d-float {
    animation: floatY 6s ease-in-out infinite;
}

.3d-float-delayed {
    animation: floatY 6s ease-in-out infinite 3s;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

/* Typography & General Classes */
h1, h2, h3, h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.section-padding {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-inline: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(106, 27, 154, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(106, 27, 154, 0.6);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.full-width {
    width: 100%;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(106, 27, 154, 0.1);
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    border-radius: 50px;
    padding: 0.8rem 3%;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.logo h2 {
    margin: 0;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
    font-weight: 300;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

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

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 5% 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 2;
    padding: 2rem;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.5);
    margin-right: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    background: linear-gradient(to right, var(--primary-color), #ff4081);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #444;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.trust-text {
    font-size: 0.9rem !important;
    color: #666 !important;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    z-index: 2;
}

.hero-image-wrapper img {
    height: 70vh;
    border-radius: 30px;
}

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

.about-content h2 {
    font-size: 2.2rem;
}

.highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.highlight-item .icon {
    color: var(--secondary-color);
    background: rgba(156, 39, 176, 0.1);
    border-radius: 50%;
    padding: 5px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    perspective: 1000px; /* For 3D child elements */
}

.service-card {
    text-align: center;
    transform-style: preserve-3d;
}

.service-card .card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
    transform: translateZ(30px);
}

.service-card .card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transform: translateZ(30px);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    transform: translateZ(20px);
}

.service-card p {
    font-size: 0.95rem;
    transform: translateZ(10px);
}

/* Academy Section */
.academy-content {
    display: flex;
    gap: 2rem;
}

.course-cards {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.course-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.6), rgba(255,255,255,0.2));
}

.academy-features {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.academy-features h3 {
    color: white;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
}

.feature-list li::before {
    content: "✦";
    margin-right: 10px;
    color: #ffca28;
}

/* Gallery Section */
.gallery-categories {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    margin-bottom: 3rem;
}

.filter-btn {
    background: none;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(106, 27, 154, 0.3);
}

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

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--glass-shadow);
}

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

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

/* Testimonials */
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    padding: 3rem 2rem;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.stars {
    color: #ffc107;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.reviewer-name {
    font-weight: 700;
}

.slider-controls {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.control-btn {
    background: rgba(106, 27, 154, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Instagram */
.ig-card {
    max-width: 600px;
    margin: 0 auto;
}

.ig-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item h4 {
    margin-bottom: 0.2rem;
    color: var(--secondary-color);
}

.map-placeholder {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #666;
    margin-top: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(106, 27, 154, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.1);
}

/* Footer */
.glass-footer {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 2rem 2rem;
    margin-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-links ul, .footer-socials ul {
    list-style: none;
}

.footer-links li, .footer-socials li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover, .footer-socials a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

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

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
}

.whatsapp-text {
    position: absolute;
    right: 70px;
    background: white;
    color: #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: var(--glass-shadow);
}

.floating-whatsapp:hover .whatsapp-text {
    opacity: 1;
    visibility: visible;
}

/* Animations for JS Intersection Observer */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 8rem;
    }
    
    .hero-content {
        margin-right: 0;
        margin-top: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .academy-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }
    
    .navbar.scrolled {
        width: 100%;
        top: 0;
        left: 0;
        transform: none;
        border-radius: 0;
        padding: 1rem 5%;
        border-left: none;
        border-right: none;
        border-top: none;
    }
    
    .navbar.menu-open {
        transform: none !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100vw;
        width: 100vw;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: -1;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 3.5rem 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }

    .highlights {
        grid-template-columns: 1fr;
    }
    
    .owner-profile {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .floating-whatsapp svg {
        width: 20px;
        height: 20px;
    }
}

/* Owner Profile */
.owner-profile {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.owner-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(106, 27, 154, 0.2);
}

.owner-details h3 {
    margin-bottom: 0.2rem;
    font-size: 1.4rem;
}

.owner-title {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.2rem;
}

.owner-cert {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.8rem;
}

.owner-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.95rem;
}

.owner-stats strong {
    color: var(--text-dark);
}
