/* Main Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Parallax Effect */
.parallax {
    position: relative;
    min-height: 100%;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    will-change: transform;
    z-index: -1;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.tile-title,
.nav-logo {
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Specific heading sizes */
h1, .hero-title {
    font-size: 4rem;
}

h2, .section-title, #angebote h2, #team h2, #hintergrund h2 {
    font-size: 3.5rem !important;
    font-weight: 300 !important;
}

h3, .tile-title {
    font-size: 3rem;
}

h4 {
    font-size: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1, .hero-title {
        font-size: 3rem;
    }
    
    h2, .section-title, #angebote h2, #team h2, #hintergrund h2 {
        font-size: 2.5rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    h3, .tile-title {
        font-size: 2rem;
    }
    
    h4 {
        font-size: 1.75rem;
    }
}

/* Navigation */
.header {
    background-color: white;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 50;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.nav-links {
    display: none;
}

.nav-links.show {
    display: flex;
}

.nav-link {
    color: #4b5563;
    padding: 0.5rem 1rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #3b82f6;
}

.mobile-menu-button {
    display: block;
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 5rem;
}

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

.hero-content {
    position: relative;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: 0.75rem;
    max-width: 48rem;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.5;
    max-width: 42rem;
    margin: 0 auto;
}

/* Sections */
.section {
    padding: 4rem 1.5rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.container {
    max-width: 72rem;
    margin: 0 auto;
}

/* Offer Tiles */
.offer-tile {
    min-height: 200px;
    position: relative;
    border-radius: 1rem;
    background: linear-gradient(135deg, #6d093c, #914c66);
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1;
    margin-bottom: 1rem;
    overflow: visible;
}

.tile-content {
    padding: 2rem;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    background: inherit;
    border-radius: 1rem;
    cursor: pointer;
}

.tile-title {
    margin-bottom: 0;
    transition: all 0.3s ease;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.tile-description {
    position: absolute;
    top: calc(100% - 1rem);
    left: 0;
    right: 0;
    background: #f8f9fa;
    color: #1f2937;
    padding: 0 2rem;
    max-height: 0;
    opacity: 0;
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 5;
    transform: translateY(-10px);
    border-top: none;
}

.tile-description p {
    margin: 0;
    line-height: 1.6;
}

.offer-tile:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.offer-tile:hover .tile-title {
    transform: translateY(0);
    opacity: 1;
    margin-bottom: 1rem;
}

.offer-tile:hover .tile-description {
    opacity: 1;
    max-height: 1000px;
    padding: 1.5rem 2rem;
    transform: translateY(0);
    border: 1px solid #e9ecef;
    border-top: none;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-cols-1 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-links {
        display: flex;
        gap: 1.5rem;
    }
    
    .mobile-menu-button {
        display: none;
    }
}

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

.mb-12 {
    margin-bottom: 3rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Custom background colors */
#angebote.bg-gray-50,
#hintergrund.bg-gray-50,
#anne.bg-gray-50,
#rolf.bg-gray-50,
#simone.bg-gray-50,
.bg-arsta-pink {
    background-color: #f8f0f4 !important;
    --tw-bg-opacity: 1 !important;
}

.max-w-6xl {
    max-width: 72rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

