/*
Theme Name: Bargtunes
Theme URI: https://bargtunes.com
Author: Bargtunes
Author URI: https://bargtunes.com
Description: A minimal and ultra-modern dark theme for a rapper's personal website. Bilingual support (English/Persian).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bargtunes
Tags: dark, minimal, music, rapper, bilingual, one-page
*/

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

/* Ensure consistent black background everywhere */
html,
body,
#page,
.site,
main,
.bargtunes-container,
.bargtunes-hero,
.bargtunes-about,
.bargtunes-music,
.bargtunes-videos,
.bargtunes-contact-section,
.site-footer {
    background-color: #000000 !important;
}

/* Base Styles */
html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    background-color: #000000;
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Poppins', 'Vazirmatn', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
    direction: ltr;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* RTL Support for Persian */
body.rtl,
body[dir="rtl"] {
    direction: rtl;
}

/* Main Container */
.bargtunes-container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    background: #000000;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ========================================
   SECTION SPACING
======================================== */

/* Add spacing between all main sections */
.bargtunes-hero,
.bargtunes-about,
.bargtunes-music {
    margin-bottom: clamp(40px, 8vw, 80px);
}

/* Videos section - no bottom margin (last section before contact) */
.bargtunes-videos {
    margin-bottom: 0;
}

/* Contact section before footer */
.bargtunes-contact-section {
    margin-bottom: 0;
}

/* Smooth Scroll Enhancements */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
    
    * {
        scroll-margin-top: 80px;
    }
}

/* ========================================
   SCROLL ANIMATION CLASSES
======================================== */

/* Initial state for sections */
.bargtunes-hero,
.bargtunes-about,
.bargtunes-music,
.bargtunes-videos,
.bargtunes-contact-section,
.site-footer {
    opacity: 1;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Visible state after scrolling into view */
.bargtunes-hero.is-visible,
.bargtunes-about.is-visible,
.bargtunes-music.is-visible,
.bargtunes-videos.is-visible,
.bargtunes-contact-section.is-visible,
.site-footer.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth transitions for all interactive elements */
a,
button {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Enhanced hover states - only for regular links and buttons */
a:not(.music-card):not(.video-card):hover,
button:not(.music-card):not(.video-card):not(.video-nav-btn):not(.music-nav-btn):hover {
    transform: translateY(-2px);
}

/* Note: Music and video cards have their own hover states in their respective CSS files */

