/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    /* Main color scheme inspired by main.css */
    --primary: #f6e27a; /* Gold from the original main.css */
    --secondary: #cb9b51; /* Darker gold accent */
    --tertiary: #aa2523; /* Brown accent color */
    --dark: #121212;
    --darker: #0a0a0a;
    --lighter: #1a1a1a;
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.6);
    --border: rgba(255, 255, 255, 0.1);
    --card-bg: #1a1a1a;
    --nav-height-desktop: 76px;
    --nav-height-mobile: 56px;
    --transition: all 0.3s ease;
    --gold-gradient: linear-gradient(to right, #f6e27a, #cb9b51 50%, #f6f2c0);
    --gold-gradient-vertical: linear-gradient(to bottom, #f6e27a, #cb9b51 50%, #462523);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    background-color: var(--dark);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    padding-top: var(--nav-height-desktop);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text) !important;
}

.display-1 { font-size: 4.5rem; }
.display-2 { font-size: 4rem; }
.display-3 { font-size: 3.5rem; }
.display-4 { font-size: 3rem; }

.text-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 0;
    border-bottom: 1px solid var(--border);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 28px 15px !important;
    transition: var(--transition);
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.navbar-toggler {
    padding: 0;
    border: none;
    width: 30px;
    height: 30px;
    position: relative;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: calc(80vh - var(--nav-height-desktop));
    overflow: hidden;
    z-index: 1 !important;
}

.hero-slider {
    width: 100%;
    height: 100%;
    z-index: 1 !important;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 50 !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.7) 0%,
        rgba(10, 10, 10, 0.4) 50%,
        rgba(10, 10, 10, 0.8) 100%
    );
    z-index: 1;
}

.hero-gradient {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.9) 100%
    ) !important;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--text);
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: var(--text) !important;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
}

.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: var(--text) !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary) !important;
}

/* ==========================================================================
   Cards & Grid
   ========================================================================== */
.card {
    background: var(--card-bg);
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.card-img-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* ==========================================================================
   Search Box & Forms
   ========================================================================== */
.search-box {
    background: var(--lighter);
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px !important;
}

.form-control, .form-select {
    background-color: var(--darker) !important;
    border: 1px solid var(--border);
    color: var(--text) !important;
    padding: 12px 15px;
    border-radius: 0;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(246, 226, 122, 0.25);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    padding: 12px 25px;
    border-radius: 0;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gold-gradient);
    border: none;
    color: #000 !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(203, 155, 81, 0.4);
    background: var(--gold-gradient);
    filter: brightness(110%);
}

.btn-outline-primary {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: #000;
}

/* ==========================================================================
   Club & Model Cards
   ========================================================================== */
.club-item .card, .model-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    background-color: var(--card-bg);
}

.club-item .card:hover, .model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-image-wrapper, .model-image-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.model-image-wrapper {
    height: 400px; /* Higher image format */
}

.card-image-wrapper img, .model-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-image-wrapper img,
.card:hover .model-image-wrapper img {
    transform: scale(1.05);
}

.model-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.rating-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.75);
    padding: 0.25rem 0.75rem;
    border-radius: 0;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ==========================================================================
   Flag Icons
   ========================================================================== */
.flag-container {
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    padding: 2px;
}

.flag-container:hover {
    opacity: 1;
    z-index: 10;
}

.flag-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    padding: 2px;
    z-index: 5;
}

.flag-badge:hover {
    opacity: 1;
    transform: scale(1.1);
}

.flag-icon {
    display: block;
    width: 24px !important;
    height: auto;
    border-radius: 0;
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid-item {
    margin-bottom: 15px;
}

.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: #000;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

/* ==========================================================================
   Badges & Tags
   ========================================================================== */
.badge {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0;
}

.badge.bg-primary {
    background: var(--gold-gradient) !important;
    color: #000;
}

.feature-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0;
    font-size: 0.875rem;
    background: rgba(246, 226, 122, 0.1);
    color: var(--primary);
    margin: 0.25rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--darker);
    padding: 4rem 0 0;
    margin-top: 4rem;
    border-top: 1px solid var(--border);
}

.footer h5 {
    color: var(--text);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text);
}

/* ==========================================================================
   Preloader
   ========================================================================== */
/* Erweiterter Preloader CSS */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--darker);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 80%;
}

.preloader-logo {
    margin-bottom: 30px;
    width: 250px;
    height: auto;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 1s ease forwards;
}

.preloader-text {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

.preloader-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    opacity: 0;
    animation: fadeIn 0.5s ease 0.3s forwards;
}

.spinner-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.spinner-circle {
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    border-left-color: var(--secondary);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-glow {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(
        circle at center,
        rgba(246, 226, 122, 0.2) 0%,
        rgba(246, 226, 122, 0) 60%
    );
    animation: pulse 2s ease-in-out infinite;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.5;
    }
}

/* Responsive Anpassungen */
@media (max-width: 576px) {
    .preloader-logo {
        width: 200px;
    }
    
    .preloader-text {
        font-size: 1rem;
    }
    
    .preloader-spinner {
        width: 50px;
        height: 50px;
    }
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 991px) {
    body {
        padding-top: var(--nav-height-mobile);
    }
	
	.dodo {
		flex-direction: column-reverse;
	}

    .hero-section {
        height: calc(70vh - var(--nav-height-mobile));
    }

    .navbar-collapse {
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
    }
    
    .nav-link:after {
        display: none;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-menu {
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .display-1 { font-size: 3.5rem; }
    .display-2 { font-size: 3rem; }
    .display-3 { font-size: 2.5rem; }
    .display-4 { font-size: 2rem; }
}

@media (max-width: 767px) {
	.dodo {
		flex-direction: column-reverse;
	}
    .container {
        padding-right: 15px;
        padding-left: 15px;
    }

    .hero-section {
        height: 400px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .card:hover {
        transform: none;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}

/* ==========================================================================
   Registration Button Animation
   ========================================================================== */
.register-now-container {
    text-align: center;
}

.register-now-btn {
    width: 100%;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 0 20px rgba(246, 226, 122, 0.7);
    border: none;
    background: var(--gold-gradient);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: #000 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.register-now-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent
    );
    transform: rotate(45deg);
    animation: shine 2s infinite;
}

.register-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(246, 226, 122, 0.8);
    filter: brightness(110%);
}

@keyframes shine {
    0% {
        left: -100%;
        top: -100%;
    }
    100% {
        left: 100%;
        top: 100%;
    }
}

@keyframes pulsate {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(246, 226, 122, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(246, 226, 122, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(246, 226, 122, 0);
    }
}

.pulsate {
    animation: pulsate 2s infinite;
}

.register-benefits {
    font-size: 0.9rem;
    text-align: left;
    padding-top: 0.5rem;
    color: #cccccc;
}

.register-benefits p {
    margin-bottom: 0.2rem;
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.review {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.review:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* ==========================================================================
   Model Details
   ========================================================================== */
.model-details li {
    padding-left: 2rem;
    position: relative;
}

.model-details li i {
    position: absolute;
    left: 0;
    top: 0.25rem;
}

.model-details .badge {
    font-size: 0.8rem;
    font-weight: normal;
    padding: 0.5rem 0.75rem;
}

.model-details h4 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.model-details li > strong {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   Custom Utilities
   ========================================================================== */
.bg-darker {
    background-color: var(--darker) !important;
}

.bg-lighter {
    background-color: var(--lighter) !important;
}

.hover-light:hover {
    color: var(--primary) !important;
}

.text-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animation for fading in content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate__fadeIn {
    animation: fadeIn 0.5s ease-in-out;
}

.animate__fadeInUp {
    animation: fadeInUp 0.5s ease-in-out;
}

/* Back to top button */
#back-to-top {
    border-radius: 0;
    background: var(--gold-gradient);
    color: #000;
}

#back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(246, 226, 122, 0.5);
}