/* Sonic Fuze Website Styles */

/* Font Definitions */
@font-face {
    font-family: 'SonicFuze';
    src: url('./fonts/Inter-Regular.woff2') format('woff2'),
         url('./fonts/Inter-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SonicFuze';
    src: url('./fonts/Inter-Medium.woff2') format('woff2'),
         url('./fonts/Inter-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SonicFuze';
    src: url('./fonts/Inter-SemiBold.woff2') format('woff2'),
         url('./fonts/Inter-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SonicFuze';
    src: url('./fonts/Inter-Bold.woff2') format('woff2'),
         url('./fonts/Inter-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Base Styles */
body {
    font-family: 'SonicFuze', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #FDFBF8;
    color: #1a1a1a;
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    transition: background-image 1s ease-in-out; 
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

/* Navigation */
.nav-link {
    transition: color 0.3s;
}

.nav-link:hover {
    color: #D97706; 
}

.language-switcher button {
    transition: color 0.3s, font-weight 0.3s;
}

.language-switcher button.active {
    font-weight: bold;
    color: #D97706;
}

/* Header Logo */
.header-logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    filter: brightness(0) invert(1); /* Makes the logo white */
    transition: filter 0.3s ease;
}

.header-logo:hover {
    filter: brightness(0) invert(1); /* Keeps the logo white on hover */
}

/* Cards */
.card {
    background-color: #f5f5f5;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out;
}

.card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn {
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: #b45309;
    transform: translateY(-2px);
}

/* Slider Images 
.slider-image {
    height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slider-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}*/

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* Social Media Icons */
.fa-brands {
    color: #1a1a1a;
    transition: color 0.3s, transform 0.3s;
}

.fa-brands:hover {
    color: #D97706;
    transform: scale(1.1);
}

/* Form Elements */
.form-control {
    border: 1px solid #ddd;
    border-radius: 0.375rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    border-color: #D97706;
    box-shadow: 0 0 0 0.2rem rgba(217, 119, 6, 0.25);
}

/* Footer */
footer a {
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #D97706 !important;
}

/* Utility Classes */
.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container Spacing */
.container-mt-5 {
    margin-top: 3rem;
}

/* Section Spacing */
section {
    padding: 2rem 0;
}

/* Image Styling */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 0.375rem;
}

/* YouTube Video Container */
.aspect-w-16 {
    position: relative;
    width: 100%;
}

.aspect-h-9 {
    padding-bottom: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
}

.aspect-w-16.aspect-h-9 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Alternative approach for better browser support */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Grid Layout Support */
.md\:col-span-3 {
    grid-column: span 3 / span 3;
}

/* Spotify Card Styling */
.bg-gradient-to-br {
    background: linear-gradient(to bottom right, #10b981, #059669);
}

.from-green-500 {
    --tw-gradient-from: #10b981;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(16, 185, 129, 0));
}

.to-green-600 {
    --tw-gradient-to: #059669;
}

/* ----------------Responsive Design ---------------- */
@media (min-width: 768px) {
    .md\:col-span-3 {
        grid-column: span 3 / span 3;
    }
}
@media (max-width: 768px) {
    .hero-section {
        background-size: 100% auto !important; /* volle Breite, Höhe automatisch */
        background-position: top center;
        height: auto !important;               /* Höhe ergibt sich aus Bildverhältnis */
        min-height: unset !important;          /* Mindesthöhe deaktivieren */
        padding: 4rem 1rem;          /* Abstand für Text */
    }

    .hero-section::before {
        height: 100%;                     /* Overlay bleibt gleich groß */
    }

}