/* Recontastic Website - Main Styles */
/* Modern, SEO-optimized design for 2025/2026 */

:root {
    --primary-blue: #336699;
    --secondary-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --dark-bg: #09090b;
    --darker-bg: #000000;
    --card-bg: #1a1a23; /* Updated: Darker blue-gray that pops more */
    --card-bg-hover: #23232e; /* Updated: Hover state */
    --border-color: #2d2d3a; /* Updated: Brighter border */
    --text-primary: #ffffff;
    --text-secondary: #d1d5db; /* Updated: Brighter text */
    --text-muted: #8b8b9d; /* Updated: Brighter muted text */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #336699 100%);
    --gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --shadow-sm: 0 2px 8px rgba(59, 130, 246, 0.1);
    --shadow-md: 0 8px 25px rgba(59, 130, 246, 0.15);
    --shadow-lg: 0 20px 40px rgba(59, 130, 246, 0.2);
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Tiled background pattern variables (matching chords.css) */
    --deep-ocean: #0A1929;
    --ocean-dark: #071423;
    --ocean-blue: #1E3A5F;
    --navy-blue: #0D2847;
    --crisp-blue: #2D5AA0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* MAIN TILED BACKGROUND WRAPPER - Same as chords.html */
.main-content-wrapper {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    background:
        linear-gradient(135deg, rgba(9, 9, 11, 0.856) 0%, rgba(0, 0, 0, 0.955) 100%), /* Reduced opacity: 0.7 and 0.5 instead of 1 */
        url('backd.png');
    background-repeat: repeat;
    background-size: 500px;
    background-blend-mode: overlay;
    padding-top: 80px; /* For navbar */
}

/* Grid pattern overlay - Same as chords.html */
.main-content-wrapper::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(10, 25, 41, 0.08) 2px, /* Reduced opacity: 0.08 instead of 0.1 */
            rgba(10, 25, 41, 0.08) 4px /* Reduced opacity: 0.08 instead of 0.1 */
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(10, 25, 41, 0.08) 2px, /* Reduced opacity: 0.08 instead of 0.1 */
            rgba(10, 25, 41, 0.08) 4px /* Reduced opacity: 0.08 instead of 0.1 */
        );
    pointer-events: none;
    z-index: 1;
}

/* Ensure all content is above the tiled background */
.main-content-wrapper > * {
    position: relative;
    z-index: 2;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-blue);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

/* Navigation - RESTORED TO ORIGINAL */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: #000000c8 !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h1 {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-smooth);
}

/* Hero Section - NO tiled background override */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent !important;
    margin-bottom: 4rem; /* Reduced gap */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(9, 9, 11, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--text-secondary);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Section Title */
.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 2.5rem; /* Reduced from 3rem */
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem; /* Reduced from 4rem */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section - Transparent background */
.about-section {
    padding: 5rem 0; /* Reduced from 8rem */
    position: relative;
    background: transparent !important;
    margin-bottom: 1rem; /* Added consistent margin */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem; /* Reduced from 4rem */
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-image {
    position: relative;
}

.image-placeholder {
    aspect-ratio: 1;
    background: var(--card-bg);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 2px solid var(--border-color);
    padding: 2.5rem; /* Reduced from 3rem */
    transition: var(--transition-smooth);
}

.image-placeholder:hover {
    background: var(--card-bg-hover);
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.image-placeholder img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
}

.image-placeholder i {
    font-size: 5rem; /* Reduced from 6rem */
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.image-placeholder p {
    font-size: 1.3rem; /* Reduced from 1.5rem */
    font-weight: 700;
    color: var(--text-primary);
}

.image-placeholder span {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Music Section - Transparent background */
.music-section {
    position: relative;
    background: transparent !important;
    margin-bottom: 4rem; /* Added consistent margin */
}

/* Gallery Section - Transparent background */
.gallery-section {
    position: relative;
    background: transparent !important;
    margin-bottom: 4rem; /* Added consistent margin */
}

/* Gear Section - Transparent background */
.gear-section {
    position: relative;
    background: transparent !important;
    margin-bottom: 4rem; /* Added consistent margin */
}

/* Follow Section - Transparent background */
.follow-section {
    position: relative;
    background: transparent !important;
    margin-bottom: 4rem; /* Added consistent margin */
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem 2rem;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--card-bg-hover);
    border-color: var(--primary-blue);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.social-link i {
    font-size: 3rem;
    transition: var(--transition-smooth);
}

.social-link span {
    font-size: 1.2rem;
    font-weight: 600;
}

.social-link.twitch:hover i {
    color: #9146ff;
}

.social-link.youtube:hover i {
    color: #ff0000;
}

.social-link.instagram:hover i {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer - Transparent background */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    background: #000000c8 !important;
    margin-top: 4rem; /* Added margin */
    opacity: 50%;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border-radius: 50%;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    font-size: 1.2rem;
}

.footer-social a:hover {
    background: var(--card-bg-hover);
    transform: translateY(-3px);
    border-color: var(--primary-blue);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem; /* Reduced for mobile */
    }
    
    .social-links {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(9, 9, 11, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-container {
        padding: 1rem 1.5rem;
    background: #000000c8 !important;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .about-section,
    .music-section,
    .gallery-section,
    .gear-section,
    .follow-section {
        padding: 4rem 0; /* Reduced for mobile */
        margin-bottom: 1rem; /* Reduced for mobile */
    }
    
    .hero {
        margin-bottom: 3rem; /* Reduced for mobile */
    }
    
    .footer {
        margin-top: 3rem; /* Reduced for mobile */
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-logo h1 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem; /* Reduced for mobile */
    }
    
    .section-description {
        font-size: 1rem;
        margin-bottom: 2.5rem; /* Reduced for mobile */
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .about-section,
    .music-section,
    .gallery-section,
    .gear-section,
    .follow-section {
        padding: 3rem 0; /* Further reduced for mobile */
        margin-bottom: 2.5rem; /* Further reduced for mobile */
    }
}

 .nav-container {
        padding: 1rem 1.5rem;
    background: #00000000 !important;
    }