/* Reset and Variables */
:root {
    --primary-color: #ce2b9c;
    /* Magenta/Pink from logo */
    --primary-light: #fdf2fa;
    --accent-color: #ffb6c1;
    /* Soft Pink */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-color: #fcfcfc;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.navbar.scrolled {
    top: 1rem;
    padding: 0.5rem 3rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 35px rgba(206, 43, 156, 0.15);
    border-color: rgba(206, 43, 156, 0.2);
}

.logo-container .logo {
    height: 90px;
    /* Increased based on request */
    object-fit: contain;
    transition: transform 0.3s;
}

.logo-container .logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    animation: zoomOut 20s infinite alternate linear;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
    pointer-events: none;
    /* Allow clicks to pass through to images */
}

.hero-content {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 3rem 4rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow);
    color: var(--text-light);
    max-width: 800px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

/* Services Section */
.services-section {
    padding: 6rem 5%;
    background-color: var(--primary-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    height: 550px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: flex-end;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(206, 43, 156, 0.25);
}

/* Background Slider Container */
.service-card-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.service-card-bg-slider .bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.service-card-bg-slider .bg-slide.active {
    opacity: 1;
    transform: scale(1);
}

.service-card-bg-slider .fallback-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff85b3 100%);
}

/* Glassmorphic/Overlay Content */
.service-card-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
        background: linear-gradient(to top, rgb(0 0 0 / 36%) 0%, rgb(0 0 0 / 42%) 55%, rgb(0 0 0 / 23%) 100%);
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    color: #ffffff;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card-content {
    background: linear-gradient(to top, rgba(206, 43, 156, 0.92) 0%, rgba(0, 0, 0, 0.6) 100%);
    backdrop-filter: blur(4px);
}

.title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    margin-bottom: 0.8rem;
}

.icon-container {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #ffffff;
    transition: all 0.5s ease;
    flex-shrink: 0;
}

.service-card:hover .icon-container {
    background-color: #ffffff;
    color: var(--primary-color);
    transform: scale(1.1) rotate(5deg);
    border-color: #ffffff;
}

.service-card h3 {
    font-size: 1.45rem;
    font-weight: 600;
    margin-bottom: 0;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: all 0.4s ease;
}

/* Expandable Content on Hover */
.service-hover-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    width: 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-hover-content {
    max-height: 180px;
    opacity: 1;
    margin-top: 1rem;
}

.service-hover-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Dots inside the card */
.service-gallery-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.service-gallery-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-gallery-dots .dot.active {
    background-color: #ffffff;
    width: 14px;
    border-radius: 3px;
}

/* Social Section */
.social-section {
    padding: 8rem 5%;
    background: url('../images/hero-banner.png') center/cover fixed;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.social-glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    border-left: 1px solid rgba(255, 255, 255, 0.6);
    text-align: center;
    position: relative;
    z-index: 1;
    color: var(--text-light);
    max-width: 700px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.social-glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3), inset 0 0 30px rgba(255, 255, 255, 0.2);
}

.social-glass .glass-logo {
    height: 90px;
        width: 290px;
    object-fit: contain;
    margin-bottom: -12px;
    transition: transform 0.3s;
    filter: drop-shadow(0 4px 10px rgba(255, 255, 255, 0.3));
}

.social-glass .glass-logo:hover {
    transform: scale(1.05);
}

.social-glass h2 {
    font-size: 41px;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-glass p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #fcfcfc;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 26px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    transform: translateY(-5px) rotate(10deg);
}

.social-icon.instagram:hover {
    background: #E1306C;
    border-color: #E1306C;
}

.social-icon.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.social-icon.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

.social-icon.google:hover {
    background: #DB4437;
    border-color: #DB4437;
}

.marquee-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-marquee 40s linear infinite;
    height: 100%;
    will-change: transform;
}

.gallery-item {
    position: relative;
    display: block;
    height: 100%;
}

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    text-decoration: none;
    color: #ffffff;
    font-size: 4rem;
    z-index: 2;
    /* Still overlay on image */
}

.gallery-item:hover .insta-overlay {
    opacity: 1;
}

.insta-overlay i {
    transition: all 0.3s ease;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.insta-overlay:hover i {
    transform: scale(1.2);
    color: #E1306C;
    /* Instagram Pink */
}

.marquee-track img {
    height: 100vh;
    /* Fill hero section height */
    width: auto;
    object-fit: cover;
    margin: 0;
    padding: 0;
    display: block;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color), #ff5e98);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    position: relative;
    box-shadow: 0 -5px 20px rgba(206, 43, 156, 0.4);
    z-index: 10;
}

.footer p {
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.developer-credit {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

.developer-credit a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dotted #ffffff;
    transition: all 0.3s ease;
}

.developer-credit a:hover {
    color: #ffd700;
    border-bottom-color: #ffd700;
}

/* Animations */
@keyframes zoomOut {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        width: 90%;
        padding: 0.2rem 1rem;
        top: 1rem;
    }

    .navbar.scrolled {
        width: 90%;
        padding: 0.2rem 1rem;
        top: 0.5rem;
    }

    .logo-container .logo {
        height: 50px;
        /* Even smaller logo for a sleeker mobile header */
    }

    .hero-title {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
        /* In a real app, add a hamburger menu */
    }

    .hero-content {
        padding: 2rem;
        margin: 0 1rem;
    }

    .social-glass {
        padding: 2rem 1.5rem;
        margin: 0 auto;
        width: 90%;
    }

    .social-glass .glass-logo {
        height: 60px;
        /* margin-bottom: 1rem; */
    }

    .social-glass h2 {
        font-size: 2rem;
    }

    .social-glass p {
        font-size: 1rem;
    }

    .social-icons {
        gap: 1rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .footer {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 1.5rem 1rem;
        font-size: 13px;
    }

    .developer-credit {
        font-size: 13px;
        opacity: 0.9;
        margin: 0;
    }
}

/* Gallery Modal Styles */
.gallery-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.gallery-modal-content {
    position: relative;
    max-width: 900px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 100001;
}

.modal-slider-track {
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    background: #000;
}

.modal-slide-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(0.98);
}

.modal-slide-img.active {
    opacity: 1;
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 100002;
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ffffff;
    font-size: 4rem;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 100002;
    padding: 20px;
    user-select: none;
}

.modal-nav:hover {
    color: var(--primary-color);
}

.modal-nav.prev {
    left: 40px;
}

.modal-nav.next {
    right: 40px;
}

.modal-dots {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.modal-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-dots .dot.active {
    background-color: var(--primary-color);
    width: 20px;
    border-radius: 4px;
}

/* Adjust layout on small screens */
@media (max-width: 768px) {
    .modal-close {
        top: 20px;
        right: 25px;
        font-size: 2.5rem;
    }
    
    .modal-nav {
        font-size: 3rem;
        padding: 10px;
    }
    
    .modal-nav.prev {
        left: 10px;
    }
    
    .modal-nav.next {
        right: 10px;
    }
    
    .modal-slider-track {
        height: 50vh;
    }
}