/* Global Styles */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #ffd93d;
    --text-color: #2d3436;
    --background-color: #ffffff;
    --section-bg: #f8f9fa;
    --header-height: 60px;
}

[data-theme="dark"] {
    --primary-color: #ff4757;
    --secondary-color: #2ed3ff;
    --accent-color: #ffa502;
    --text-color: #f1f2f6;
    --background-color: #2f3542;
    --section-bg: #1e272e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    transition: background-color 0.3s ease;
    overflow-x: hidden;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--background-color);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.mobile-menu-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    display: none;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--background-color);
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    display: block;
    padding: 1rem 0;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    display: none;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.1s ease;
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    padding-top: var(--header-height);
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    padding: 0 1rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 30px;
    background: white;
    color: var(--primary-color);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
    padding: 5rem 1rem;
    background-color: var(--section-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    padding: 2rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Celebrate Section */
.celebrate {
    padding: 5rem 1rem;
}

.celebration-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.celebration-btn {
    padding: 1.5rem;
    border: none;
    border-radius: 10px;
    background: white;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

/* Gallery Section */
.gallery {
    padding: 5rem 1rem;
    background-color: var(--section-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

/* Countdown Section */
.countdown {
    padding: 5rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
    position: relative;
    overflow: hidden;
}

.countdown h2 {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.countdown h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.countdown-timer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    max-width: 600px;
    margin: 2rem auto;
}

.timer-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
    background-clip: padding-box;
    background-image: linear-gradient(white, white), 
                      linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-origin: border-box;
    background-clip: content-box, border-box;
}

.timer-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.timer-item span:first-child {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
    animation: pulse 1s ease-in-out infinite;
}

.timer-item span:last-child {
    font-size: 1rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section */
.contact {
    padding: 5rem 1rem;
    background-color: var(--section-bg);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    background: white;
    color: var(--text-color);
    font-size: 1rem;
}

.submit-btn {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
}

/* Footer */
.footer {
    padding: 2rem;
    background: var(--section-bg);
    text-align: center;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

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

.signature {
    font-size: 1.2rem;
    color: var(--text-color);
}

.heart {
    color: var(--primary-color);
    animation: heartbeat 1.5s ease-in-out infinite;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

/* Music Player */
.music-player {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    max-width: 60px;
    overflow: hidden;
}

.music-player.active {
    max-width: 350px;
}

.music-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.music-toggle:hover {
    transform: scale(1.1);
}

.music-toggle.playing {
    background: var(--secondary-color);
}

.music-info {
    margin-left: 1rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.music-player.active .music-info {
    opacity: 1;
}

#song-title {
    display: block;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.music-controls {
    display: flex;
    gap: 0.5rem;
}

.music-controls button {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.music-controls button:hover {
    color: var(--primary-color);
}

/* Dark theme adjustments */
[data-theme="dark"] .music-player {
    background: rgba(47, 53, 66, 0.9);
}

[data-theme="dark"] #song-title {
    color: var(--text-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .music-player {
        bottom: 1rem;
        left: 1rem;
    }
    
    .theme-toggle {
        bottom: 1rem;
        right: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

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

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

    .countdown-timer {
        flex-wrap: wrap;
    }

    .timer-item {
        min-width: 80px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    .celebration-options {
        grid-template-columns: 1fr;
    }
}

/* Update the Holi color box styles */

.holi-color-box {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    overflow: hidden;
    position: relative;
    border: 5px solid white;
}

.holi-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.2) 5%, transparent 10%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.2) 5%, transparent 10%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 8%, transparent 16%),
        radial-gradient(circle at 15% 85%, rgba(255, 255, 255, 0.2) 3%, transparent 6%),
        radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.2) 3%, transparent 6%);
    background-size: 50px 50px, 60px 60px, 100px 100px, 30px 30px, 40px 40px;
    opacity: 0.7;
    mix-blend-mode: overlay;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 50px 50px, 60px 60px, 100px 100px, 30px 30px, 40px 40px;
    }
}

.holi-color-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: shimmer 5s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        transform: rotate(30deg) translateX(-100%);
    }
    100% {
        transform: rotate(30deg) translateX(100%);
    }
}

.holi-color-box span {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 30px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.holi-color-box:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.holi-color-box:hover span {
    transform: translateY(-5px);
}

.gallery-item .holi-color-box {
    height: 250px;
}

.carousel-slide .holi-color-box {
    height: 250px;
    margin: 0 15px;
}

.about-image .holi-color-box {
    height: 100%;
    min-height: 300px;
}

/* Add color splash effect */
.holi-color-box::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.3) 0%, transparent 20%);
    mix-blend-mode: overlay;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.holi-color-box:hover::after {
    opacity: 1;
} 