/* --- Variables & Setup --- */
:root {
    /* Updated Color Palette: Rich Gold, Cream, and Deep Charcoal */
    --midnight-blue: #1A1A1A;
    /* Darker charcoal instead of blue */
    --rose-gold: #D4AF37;
    /* Replaced with Rich Gold */
    --rani-pink: #F3E5AB;
    /* Replaced with Vanilla/Cream */
    --warm-gold: #FCE883;
    /* Lighter Yellow/Gold */
    --text-light: #FDFBF7;
    /* Off-white */
    --text-muted: #D3D3D3;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide default cursor */
body {
    background-color: var(--midnight-blue);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
    cursor: none;
    /* Custom cursor */
}

/* Typography Helpers */
.playfair {
    font-family: var(--font-heading);
}

.outfit {
    font-family: var(--font-body);
}

.rose-gold {
    color: var(--rose-gold);
}

.rani-pink {
    color: var(--rani-pink);
}

.text-center {
    text-align: center;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mt-8 {
    margin-top: 2rem;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

button {
    font-family: var(--font-body);
    cursor: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

/* --- Custom Cursor --- */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background-color: var(--rose-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    mix-blend-mode: difference;
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--rose-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: 0.1s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-family: var(--font-body);
    color: var(--midnight-blue);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.6;
}

/* Hover States for Cursor */
.cursor-hover .cursor {
    width: 60px;
    height: 60px;
    background-color: var(--text-light);
    mix-blend-mode: difference;
}

.cursor-hover .cursor-follower {
    border-color: transparent;
    opacity: 0;
}

.cursor-book .cursor {
    width: 80px;
    height: 80px;
    background-color: var(--rani-pink);
    mix-blend-mode: normal;
}

.cursor-book .cursor-follower {
    width: 80px;
    height: 80px;
    border: none;
    background: transparent;
    opacity: 1;
    color: var(--midnight-blue);
    content: attr(data-text);
}


/* --- Sticky Festive Banner --- */
.festive-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #D4AF37, #F3E5AB, #FCE883, #D4AF37);
    background-size: 300% 100%;
    color: var(--midnight-blue);
    /* dark text for contrast on yellow */
    text-align: center;
    padding: 10px 0;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 1000;
    animation: gradientShift 6s ease infinite;
    box-shadow: 0 2px 15px rgba(212, 175, 55, 0.4);
}

.glowing-text {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 44px;
    /* below banner */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    z-index: 999;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--rose-gold);
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links li a {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 5px;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--rani-pink);
    transition: 0.3s;
}

.nav-links li a:hover::after {
    width: 100%;
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--rose-gold);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 44px;
    width: 100vw;
    background-color: var(--midnight-blue);
    overflow: hidden;
}

.particles-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--text-light);
    box-shadow: 0 0 10px var(--rose-gold), 0 0 15px var(--warm-gold);
    animation: floatParticle linear infinite;
    opacity: 0;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) scale(0.5);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) scale(1.5);
        opacity: 0;
    }
}

/* Mesmerizing Animated Glowing Orbs Background */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: floatOrb 10s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.orb-1 {
    width: 350px;
    height: 350px;
    background: var(--rani-pink);
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--rose-gold);
    bottom: -50px;
    left: -50px;
    animation-delay: -3s;
    animation-duration: 12s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: var(--warm-gold);
    top: 30%;
    right: 20%;
    animation-delay: -6s;
    animation-duration: 15s;
}

.glow-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 19, 43, 0.4);
    backdrop-filter: blur(30px);
    z-index: 1;
    pointer-events: none;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(40px, 40px) scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: 6rem;
    line-height: 1.1;
    margin: 0;
    opacity: 0;
    transform: translateY(50px);
}

.accent-text {
    color: transparent;
    -webkit-text-stroke: 1px var(--rose-gold);
    text-shadow: 0 0 20px rgba(183, 110, 121, 0.4);
    font-style: italic;
}

.hero-sub {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
}

.primary-btn {
    background: transparent;
    border: 1px solid var(--rose-gold);
    color: var(--rose-gold);
    padding: 15px 35px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 30px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.primary-btn:hover {
    background: var(--rose-gold);
    color: var(--midnight-blue);
    box-shadow: 0 0 20px rgba(183, 110, 121, 0.5);
}

/* --- About Section --- */
.about {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.petal-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(224, 26, 79, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    z-index: 1;
}

.section-header h2 {
    font-size: 3.5rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-top: 10px;
    letter-spacing: 2px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 4rem;
}

.about-img-box {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.img-left {
    transform: translateY(50px);
    opacity: 0;
}

.img-right {
    transform: translateY(-50px);
    opacity: 0;
}

.about-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.about-img-box:hover img {
    transform: scale(1.05);
}

.about-text-box {
    text-align: center;
    padding: 0 2rem;
}

.lead-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--rose-gold);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.about-text-box p:not(.lead-text) {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.secondary-btn {
    background: var(--rani-pink);
    color: #fff;
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.secondary-btn:hover {
    background: #c21542;
    box-shadow: 0 0 20px rgba(224, 26, 79, 0.5);
}


/* --- Services (Interactive Cards) --- */
.services {
    padding: 120px 0;
    background: #080D1D;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.card-container {
    perspective: 1000px;
    height: 350px;
}

.card-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

.card-container:hover .card-3d {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(183, 110, 121, 0.2);
}

.card-front {
    background: var(--midnight-blue);
    color: var(--rose-gold);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--rani-pink);
}

.card-front h3 {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.card-back {
    background: linear-gradient(135deg, var(--midnight-blue), #162245);
    transform: rotateY(180deg);
    color: #fff;
    border-color: var(--rani-pink);
}

.card-back h3 {
    color: var(--rose-gold);
    margin-bottom: 1rem;
}

.card-back p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.glow-btn {
    background: transparent;
    border: 1px solid var(--rani-pink);
    color: var(--rani-pink);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(224, 26, 79, 0.2);
}

.card-container:hover .glow-btn {
    background: var(--rani-pink);
    color: #fff;
    box-shadow: 0 0 20px rgba(224, 26, 79, 0.6);
}


/* --- Contact Section --- */
.contact {
    padding: 120px 0;
    position: relative;
}

.contact-wrapper {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(183, 110, 121, 0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.contact-info {
    flex: 1;
    padding: 4rem;
    background: url('https://images.unsplash.com/photo-1576158114254-3ba81558b87d?q=80&w=1000') center/cover;
    position: relative;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 19, 43, 0.85);
}

.contact-info h2,
.contact-info p,
.info-item {
    position: relative;
    z-index: 2;
}

.contact-info h2 {
    font-size: 3rem;
    color: var(--rose-gold);
    margin-bottom: 0.5rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.info-item i {
    color: var(--rani-pink);
    font-size: 1.3rem;
}

.contact-form-container {
    flex: 1.2;
    padding: 4rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.input-group {
    position: relative;
}

.input-group input,
.input-group select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 0;
    color: #fff;
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s;
}

.input-group select {
    appearance: none;
}

.input-group select option {
    background: var(--midnight-blue);
    color: #fff;
}

.input-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--text-muted);
    font-size: 1rem;
    transition: 0.3s;
    pointer-events: none;
}

.input-group input:focus,
.input-group select:focus {
    border-bottom-color: var(--rani-pink);
}

.input-group input:focus~label,
.input-group input:valid~label,
.input-group select:focus~label,
.input-group select:valid~label {
    top: -20px;
    font-size: 0.8rem;
    color: var(--rose-gold);
}

.submit-btn {
    background: transparent;
    border: 2px solid var(--rani-pink);
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: var(--rani-pink);
    box-shadow: 0 0 30px rgba(224, 26, 79, 0.7);
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px;
    background: #080D1D;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Gallery Section --- */
.gallery {
    padding: 120px 0;
    background: var(--midnight-blue);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: 0.4s ease;
}

.gallery-overlay span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--rose-gold);
    transform: translateY(20px);
    transition: 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 4rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        flex-direction: column;
    }

    .hero-split {
        height: 50vh;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form-container {
        padding: 2rem;
    }

    /* Hide custom cursor on mobile */
    .cursor,
    .cursor-follower {
        display: none;
    }

    body,
    a,
    button {
        cursor: auto;
    }
}