:root {
    --primary-color: #28a745;
    --secondary-color: #1e7e34;
    --text-color: #333;
    --background-light: #f4f7fb;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --transition-speed: 0.4s;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-light);
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.6;
}

/* ===================== HERO SECTION ===================== */
.hero-section {
    position: relative;
    height: 600px;
    margin-top: 0;
    padding: 0;
    background: linear-gradient(45deg, #28a745, #28a745);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    z-index: 10;
    overflow: hidden;

    /* Kavisli alt kenar için maske */
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path fill="black" d="M0,0 L0,70 Q500,100 1000,70 L1000,0 Z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path fill="black" d="M0,0 L0,70 Q500,100 1000,70 L1000,0 Z"/></svg>');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: bottom;
    mask-position: bottom;
}

.hero-overlay {
    background: transparent;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeInDown 1s ease-out forwards;
}

.hero-overlay h1 {
    font-size: 4rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--white);
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeInDown 1s forwards;
}

.hero-overlay p {
    font-size: 1.8rem;
    margin-top: 15px;
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
    animation-delay: 0.4s;
}

/* ===================== SERVICES SECTION ===================== */
.services-section {
    padding: 80px 20px;
    margin-top: -80px; /* Hero ile yumuşak birleşme için eklendi */
    position: relative;
    z-index: 5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.services-section p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 40px;
}

/* Service Cards */
.services-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform var(--transition-speed) ease;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.6s forwards;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* ===================== ANIMATIONS ===================== */
@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    .hero-section {
        height: 380px;
    }

    .hero-overlay {
        padding: 0 20px;
    }

    .hero-overlay h1 {
        font-size: 2.8rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .hero-overlay p {
        font-size: 1.4rem;
        margin-top: 15px;
        line-height: 1.6;
        padding: 0 10px;
    }
}
