/* === HOME PAGE SPECIFIC STYLES === */

/* === HERO SECTION === */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../placeholder-hero-image.jpg') no-repeat center center/cover;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

#hero .content {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Hero Logo Styling */
.hero-logo {
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out;
}

.hero-logo img {
    height: 250px;
    width: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.hero-logo:hover img {
    transform: scale(1.05);
}

#hero h1 {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 4rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

#hero .btn {
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

/* === SECTIONS === */
#services, #about {
    padding: 50px 0;
}

#about {
    background-color: #1a1a1a;
}

/* === SERVICE GRID === */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: #222;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4a90e2, transparent);
    transition: left 0.5s ease;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.2);
}

/* Klickbare Service-Kacheln */
.service-item.clickable {
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.service-item.clickable:hover {
    transform: translateY(-15px);
    border-color: #4a90e2;
    box-shadow: 0 15px 30px rgba(74, 144, 226, 0.3);
}

.service-item.clickable:active {
    transform: translateY(-5px);
}

.service-item i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #4a90e2;
    transition: all 0.3s ease;
}

.service-item:hover i {
    transform: scale(1.1);
    color: #5ba0f2;
}

.service-item h3 {
    font-family: 'Nunito Sans', sans-serif;
    margin-bottom: 15px;
    margin-top: 0;
    transition: color 0.3s ease;
}

.service-item:hover h3 {
    color: #4a90e2;
}

/* Service Link Indikator */
.service-link {
    display: inline-block;
    margin-top: 15px;
    color: #4a90e2;
    font-weight: bold;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.service-item:hover .service-link {
    opacity: 1;
    transform: translateY(0);
}

/* === ABOUT SECTION === */
#about .content {
    display: flex;
    align-items: center;
    gap: 50px;
}

#about .image-container {
    flex: 1;
    max-width: 400px;
}

#about img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#about .text-container {
    flex: 2;
}

/* === RESPONSIVE DESIGN - HOME === */
@media (max-width: 768px) {
    .hero-logo img {
        height: 250px;
    }

    #hero h1 {
        font-size: 3rem;
    }

    #about .content {
        flex-direction: column;
    }

    #about .image-container {
        max-width: 350px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .service-item.clickable:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 480px) {
    .hero-logo img {
        height: 250px;
    }

    #hero h1 {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }
}

/* === LOADING ANIMATION === */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.service-item.loading {
    animation: pulse 0.5s ease-in-out;
}