/* 
 * base.css - Core styles shared across all pages
 * Party Surge Website
 */

:root {
    --primary-color: #3B82F6;      /* Vibrant Blue */
    --secondary-color: #3B82F6;    /* Vibrant Blue */
    --primary-light: #DDD6FE;      /* Light purple */
    --secondary-light: #DBEAFE;    /* Light blue */
    --dark-color: #111827;         /* Very dark for text */
    --bg-color: #1F2937;           /* Charcoal background */
    --light-bg: #374151;           /* Lighter charcoal for cards */
    --accent-color: #F472B6;       /* Pink accent */
    --accent-secondary: #10B981;   /* Teal accent */
    --text-light: #F3F4F6;         /* Light text color */
    --gradient-bg: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --accent-gradient: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    --vh: 1vh;                     /* Used for mobile viewport height fix */
}

/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Comfortaa', sans-serif;
    scroll-behavior: smooth;
    color: var(--text-light);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 0.5rem 0;
    backdrop-filter: blur(5px);
    background-color: rgba(31, 41, 55, 0.5);
}

.navbar.scrolled {
    background-color: rgba(31, 41, 55, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Typography */
.playfair {
    font-family: 'Comfortaa', sans-serif;
    font-weight: 700;
}

.gradient-text {
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.gradient-text::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(244, 114, 182, 0.3);
}

.section-heading {
    margin-bottom: 3rem;
    position: relative;
    font-family: 'Comfortaa', sans-serif;
}

.hero-text {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn-primary {
    background: var(--gradient-bg);
    color: white;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: none;
    z-index: 1;
    font-weight: 600;
    letter-spacing: 0.025em;
    border-radius: 12px;
    box-shadow: 0 10px 20px -5px rgba(124, 58, 237, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--accent-gradient);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: white;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-weight: 600;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    width: 100%;
}

.btn-outline:hover {
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Section Styling */
.section-dark {
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.section-light {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.section-shape {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(124, 58, 237, 0.05), rgba(59, 130, 246, 0.05));
    filter: blur(80px);
    z-index: 0;
}

.shape-top-right {
    top: -250px;
    right: -150px;
}

.shape-bottom-left {
    bottom: -250px;
    left: -150px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(124, 58, 237, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0;
}

.animate-fadeIn {
    animation: fadeIn 1.2s ease forwards;
    opacity: 0;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.1), transparent 60%);
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-link {
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-link:hover {
    transform: translateX(5px);
    color: white;
}

.footer-link i {
    transition: all 0.3s ease;
}

.footer-link:hover i {
    transform: scale(1.2);
}

.social-icon {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-bg);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 50%;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -8px rgba(0, 0, 0, 0.3);
}

/* Scroll to top button */
.scroll-top-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99;
    width: 50px;
    height: 50px;
    background: var(--gradient-bg);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.scroll-top-btn.active {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-5px) scale(1.05);
}

/* Mobile Menu */
@media (max-width: 768px) {
    .section-shape {
        width: 300px;
        height: 300px;
    }
    
    .hero::before {
        background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.15), transparent 70%);
    }
}

/* Footer responsive styles */
.footer-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-columns {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Contact icon containers */
.contact-icon-container {
    background: var(--light-bg);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
