/* Hero Section mit Parallax und Split Text Effekt */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.parallax-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    /* Default fallback background if no image is provided */
    background: linear-gradient(to bottom, var(--darker), var(--dark));
    filter: brightness(0.3) contrast(1.3) saturate(1.2);
    transform: translateY(0);
    z-index: -1;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 8, 0.4), rgba(5, 5, 8, 0.2));
    z-index: -1;
}

/* Add a gentle animation for the hero background on page load */
@keyframes fadeInBackground {
    from { opacity: 0; }
    to { opacity: 1; }
}

.parallax-bg {
    animation: fadeInBackground 1.5s ease-out forwards;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 30px;
}

/* Fancy Heading Style */
.fancy-heading {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--third));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transform: perspective(1000px);
}

.fancy-heading:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100px;
    height: 2px;
    background: var(--primary);
    transition: width 0.5s ease;
}

.hero-content:hover .fancy-heading:after {
    width: 200px;
}

.hero-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    opacity: 0.9;
}

/* Girls Section - Neue Stilvolle Karten */
.girls-section {
    padding-bottom: 150px;
}

.girls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.model-card {
    position: relative;
    height: 400px;
    overflow: hidden;
    perspective: 1000px;
}

.model-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    transform-style: preserve-3d;
}

.model-front, .model-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.model-front {
    background-color: var(--darker);
}

.model-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.1);
    transition: all 0.5s ease;
}

.model-front:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 1;
}

.model-info-front {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.model-name {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--light);
}

.model-detail {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 15px;
}

.model-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.model-tag {
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.1);
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.model-back {
    background: rgba(10, 10, 20, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    transform: rotateY(180deg);
}

.model-info-back {
    font-family: 'Montserrat', sans-serif;
}

.model-back h3 {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary);
}

.model-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.8;
}

.model-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.model-stat {
    text-align: center;
}

.stat-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--gold);
}

.stat-label {
    font-size: 12px;
    opacity: 0.6;
    text-transform: uppercase;
}

/* Fix für Spiegeldarstellung beim Flip */
.model-card:hover .model-card-inner {
    transform: rotateY(180deg);
}

.model-card:hover .model-front img {
    transform: scale(1.05);
}

.model-card:hover .model-info-front {
    transform: translateY(0);
    opacity: 1;
}

/* Touch Device Flip Cards */
.touch-device .model-card {
    perspective: none;
}

.touch-device .model-card-inner.flipped {
    transform: rotateY(180deg);
}

/* Statischer Hover-Effekt für Touch-Geräte */
.touch-device .model-info-front {
    transform: translateY(0);
    opacity: 1;
}

/* Events Section - Diagonale Karten */
.events-section {
    background-color: rgba(5, 5, 8, 0.9);
    position: relative;
}

.events-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("./../../api/placeholder/1920x10802.jpg") center/cover no-repeat;
    opacity: 0.1;
    z-index: -1;
}

.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.event-item {
    position: relative;
    height: 450px;
    perspective: 1000px;
    cursor: pointer;
}

.event-card {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.event-front, .event-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.event-front {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(10, 10, 20, 0.7), rgba(5, 5, 8, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    transform: skewY(-5deg);
    transform-origin: top left;
    transition: transform 0.5s ease;
}

.event-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
}

.event-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--light);
}

.event-preview {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.8;
    max-width: 90%;
}

.event-image {
    position: absolute;
    width: 80%;
    height: 50%;
    right: -20px;
    bottom: -20px;
    z-index: -1;
    overflow: hidden;
    transform: skewY(-5deg);
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) saturate(1.2);
    transition: all 0.5s ease;
}

.event-back {
    transform: rotateY(180deg);
    background: rgba(10, 10, 20, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.event-info {
    max-width: 90%;
}

.event-back h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary);
}

.event-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.8;
}

.event-details {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}

.event-detail {
    text-align: center;
}

.detail-icon {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--gold);
}

.detail-label {
    font-size: 12px;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 5px;
}

.detail-value {
    font-size: 14px;
    font-weight: 600;
}

.event-item:hover .event-card {
    transform: rotateY(180deg);
}

.event-item:hover .event-front {
    transform: skewY(-8deg);
}

.event-item:hover .event-image img {
    transform: scale(1.1);
}

/* Touch Device Event Cards */
.touch-device .event-item {
    perspective: none;
}

.touch-device .event-card.flipped {
    transform: rotateY(180deg);
}

/* Ambiente Section - Mosaik Gallery */
.ambiente-section {
    position: relative;
    padding-bottom: 150px;
}

.gallery-container {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 200px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item:nth-child(1) {
    grid-column: span 6;
    grid-row: span 2;
}

.gallery-item:nth-child(2) {
    grid-column: span 6;
    grid-row: span 1;
}

.gallery-item:nth-child(3) {
    grid-column: span 3;
    grid-row: span 1;
}

.gallery-item:nth-child(4) {
    grid-column: span 3;
    grid-row: span 1;
}

.gallery-item:nth-child(5) {
    grid-column: span 6;
    grid-row: span 1;
}

.gallery-item:nth-child(6) {
    grid-column: span 6;
    grid-row: span 2;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    filter: grayscale(30%) brightness(0.8);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0, 0, 0.2, 1);
}

.gallery-title {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 10px;
}

.gallery-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    opacity: 0.8;
    max-width: 80%;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Touch Device Gallery Items */
.touch-device .gallery-overlay {
    opacity: 0.8;
    transform: translateY(0);
}

.touch-device .gallery-item.active .gallery-img {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(1);
}

/* Jobs Section - Elegantes Layout */
.jobs-section {
    background-color: rgba(5, 5, 8, 0.95);
    position: relative;
}

.jobs-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("./../../api/placeholder/1920x10803.jpg") center/cover no-repeat;
    opacity: 0.05;
    z-index: -1;
}

.jobs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
}

.jobs-image-container {
    position: relative;
    height: 600px;
}

.jobs-image-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    overflow: hidden;
}

.jobs-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.1);
    transition: all 0.5s ease;
}

.jobs-image-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 50%;
    overflow: hidden;
    border: 10px solid var(--dark);
}

.jobs-image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.1);
    transition: all 0.5s ease;
}

.jobs-content {
    max-width: 90%;
}

.jobs-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--light);
    position: relative;
    padding-bottom: 20px;
}

.jobs-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--primary);
}

.jobs-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
}

.benefits-list {
    margin-top: 40px;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.benefit-icon {
    margin-right: 20px;
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--light);
}

.benefit-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--light);
}

.benefit-content p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.7;
}

/* Contact Section - Split Design */
.contact-section {
    position: relative;
    padding-bottom: 100px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info {
    padding-right: 40px;
}

.contact-heading {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--light);
    position: relative;
    padding-bottom: 20px;
}

.contact-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

.contact-icon {
    margin-right: 20px;
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--light);
}

.contact-text h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--light);
}

.contact-text p, .contact-text a {
    font-size: 16px;
    line-height: 1.6;
    color: var(--light);
    opacity: 0.8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-text a:hover, .contact-text a:active, .contact-text a:focus {
    color: var(--primary);
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--light);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover, .social-icon:active, .social-icon:focus {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: translateY(-5px);
    border-color: transparent;
}

/* Form Design */
.contact-form {
    padding: 40px;
    background: rgba(10, 10, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-heading {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--light);
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    border-bottom-color: var(--primary);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L0 3h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 40px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover, .submit-btn:active, .submit-btn:focus {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .fancy-heading {
        font-size: 60px;
    }
    
    .events-container, .girls-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .gallery-container {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .gallery-item:nth-child(1), .gallery-item:nth-child(6) {
        grid-column: span 3;
    }
    
    .gallery-item:nth-child(2), .gallery-item:nth-child(5) {
        grid-column: span 3;
    }
    
    .jobs-container, .contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .jobs-content, .contact-info {
        max-width: 100%;
        padding-right: 0;
    }
}

@media (max-width: 992px) {
    .fancy-heading {
        font-size: 48px;
    }
    
    .gallery-container {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 250px;
    }
    
    .gallery-item {
        grid-column: span 1 !important;
    }
    
    .gallery-item:nth-child(1), .gallery-item:nth-child(6) {
        grid-column: span 2 !important;
    }
}

@media (max-width: 768px) {
    .fancy-heading {
        font-size: 36px;
    }
    
    .hero-text {
        font-size: 16px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .illuminated-title h2 {
        font-size: 26px;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        grid-column: span 1 !important;
    }
    
    .events-container, .girls-grid {
        grid-template-columns: 1fr;
    }
}