/* Global Styles */
:root {
    --primary-color: #6a0dad;
    --secondary-color: #9c27b0;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --accent-color: #ff4081;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #1a1a1a;
    color: #f8f9fa;
    line-height: 1.6;
    overflow-x: hidden;
}

@font-face {
    font-family: 'myfont';
    src: url('/fonts/sandbrush demo.ttf') format('truetype');    
}

a {
    text-decoration: none;
    color: #f8f9fa;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff4081;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
}

.btn {
    display: inline-block;
    background: #ff4081;
    color: #f8f9fa;
    padding: 10px 25px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #ff1a66;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: #0000;
}

.btn:hover{
    color: #0a0a0a;
    border-color: #0a0a0a;
}

.btn-outline {
    background: transparent;
    border: 2px solid #ff4081;
}

.btn-outline:hover {
    background: #ff4081;
    color: black;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    text-transform: uppercase;            
    margin-bottom: 20px;
    color: #f8f9fa;
    font-family: 'Boston Traffic', sans-serif;
    letter-spacing: 5px;
}

.section-title h2 span {
    color: #ff4081;
    font-family: 'Boston Traffic', sans-serif;
    letter-spacing: 5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #ff4081;
    margin: 20px auto;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f8f9fa;
    padding: 20px;
    margin: 40px;
}

.logo span {
    color: #ff4081;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
}

nav ul li {
    margin: 30px;
}

nav ul li a {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff4081;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background: #f8f9fa;
    margin: 5px;
    transition: all 0.3s ease;
}    

/* Newsletter Section */
#newsletter {
    background: #1a1a1a;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content p {
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    padding: 15px 30px;
    background: #ff4081;
    color: #f8f9fa;
    border: none;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #ff1a66;
    color:#0000;
}

/* Contact Section */
#contact {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1514525253161-7a46d19cd819?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') no-repeat center center/cover;
    background-attachment: fixed;
}

.contact-container {
    background:url('images/clogo.png') no-repeat top center/cover;
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ff4081;
    font-family: 'Boston Traffic', sans-serif;
}

.contact-info p {
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    font-size: 1.2rem;
    margin-right: 15px;
    color: #ff4081;
}

.contact-form {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 30px 10px 30px;
    border-radius: 10px;
    color:#ff1a66;
    font-family: 'Boston Traffic', sans-serif;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-family: 'Boston Traffic', sans-serif;
    font-size: 28px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background:linear-gradient(to top,rgba(255, 255, 255, 0.7),rgba(239, 203, 203, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: black;
    font-size: 1rem;
    font-style: oblique;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* Footer */
footer {
    background: #0a0a0a;
    padding: 50px 0 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f8f9fa;
    font-family: 'Boston Traffic', sans-serif;
}

.footer-logo span {
    color: #ff4081;
    font-family: 'Boston Traffic', sans-serif;
}

.footer-links ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
    font-family: 'Boston Traffic', sans-serif;
    font-size: 20px;
    gap: 20px;
    font-weight: 200;
}

.footer-links ul li a{
    margin: 0 15px 0 0;
    font-family: 'Boston Traffic', sans-serif;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    font-size: 1.2rem;
}

.copyright {
    font-size: 0.9rem;
    color: #777;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    body{
        padding: 0;
    }
    .about-content {
        flex-direction: column;
    }
    
    .about-img, .about-text {
        flex: none;
        width: 100%;
    }
    
    .about-img::after {
        display: none;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }

    .section-title{
        margin: 3rem;
    
    }

    .footer-content {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        margin-bottom: 30px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #1a1a1a;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .tour-item {
        flex-direction: column;
        text-align: center;
    }
    
    .tour-btn {
        margin: 15px 0 0;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 30px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 30px;
    }
    .contact-container{
        background-size: 400px;
        background-position: center;
    }
    .l1{
        display: block;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .music-grid {
        grid-template-columns: 1fr;
    }
    
    .video-container {
        grid-template-columns: 1fr;
    }
}

/* logo animation */
#logo-wrapper {
    position: absolute;
    top: 20%;
    left: 20%;
    transform: translate(-10%, -10%);
    transition: all 1.5s ease;      
    z-index: 999;
}

/* Security enhancements styling */
.hp-field {
    position: absolute;
    left: -9999px;
}

.security-indicator {
    display: flex;
    align-items: center;
    margin-top: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #28a745;
}

.security-indicator i {
    margin-right: 8px;
}

.submission-timeout {
    display: none;
    margin-top: 10px;
    color: #dc3545;
    font-size: 0.9rem;
}

.validation-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

input.invalid, textarea.invalid {
    border-color: #ff0019;
}

.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
/* Add this to the BOTTOM of your contact.css file */

/* CSS Containment for Performance */
.collage {
    contain: layout style paint;
}

.music-grid, .video-container, .shorts-grid {
    contain: layout style;
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .logo-flicker,
    .logo-static {
        animation: none !important;
    }
}

/* Content-visibility for large sections */
.content-section {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

/* Optimize scrolling performance */
html {
    scroll-behavior: smooth;
}