@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --text-color: #555;
    --white-color: #fff;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background: var(--white-color);
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

h1, h2, h3 {
    color: var(--dark-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; text-align: center; }
h3 { font-size: 1.5rem; }

section {
    padding: 4rem 2rem;
}

/* Header & Navigation */
#header {
    background: linear-gradient(to right, rgba(106, 17, 203, 0.9), rgba(37, 117, 252, 0.9)), url('images/ankara-rossmann-acilis-balon-susleme.webp') no-repeat center center/cover;
    color: var(--white-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 2rem;
}

nav .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white-color);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li a {
    color: var(--white-color);
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: var(--light-color);
    text-decoration: underline;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white-color);
    transition: all 0.3s ease-in-out;
}

.header-contact {
    display: flex;
    align-items: center;
}

.header-contact a {
    color: var(--white-color);
    margin-left: 1.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.header-contact a:hover {
    color: var(--light-color);
}

.whatsapp-link {
    background-color: #25D366;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.hero {
    text-align: center;
    padding: 1.5rem 2rem;
}

.hero h1 {
    color: var(--white-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background: var(--white-color);
    color: var(--primary-color);
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--light-color);
    transform: translateY(-2px);
}

.mobile-cta-buttons {
    display: none;
}

/* Sections */
main section:nth-child(even) {
    background: var(--light-color);
}

main section {
    max-width: 1200px;
    margin: auto;
}

/* Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-item {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

.gallery-grid figure {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.gallery-grid figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white-color);
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-grid figure:hover figcaption {
    opacity: 1;
}

/* Testimonials */
#testimonials {
    text-align: center;
}

.testimonial-item {
    max-width: 700px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: var(--white-color);
    border-left: 5px solid var(--primary-color);
    font-style: italic;
}

.testimonial-item span {
    display: block;
    margin-top: 0.5rem;
    font-weight: 600;
    font-style: normal;
}

/* Contact */
#contact ul {
    list-style: none;
    max-width: 500px;
    margin: 2rem auto;
    text-align: center;
}

#contact ul li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white-color);
    text-align: center;
    padding: 1.5rem 0;
}

/* Responsive */
@media(max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

    nav {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }

    nav .logo {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .header-contact {
        order: 2; /* İletişim bilgileri logodan sonra gelsin */
        margin-bottom: 1rem;
    }

    .header-contact a {
        font-size: 1rem;
        margin: 0 0.75rem;
    }

    .menu-toggle {
        order: 1; /* Hamburger menü en üste gelsin */
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: static; /* Statik pozisyona getirildi */
        background: none;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 1rem 0;
    }

    .menu-toggle {
        display: block;
    }

    .header-contact {
        display: none;
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding: 2rem 1rem;
    }

    .desktop-only {
        display: none;
    }

    .mobile-cta-buttons {
        display: flex;
        justify-content: center;
        gap: 1rem;
    }

    .mobile-cta {
        background: var(--white-color);
        color: var(--primary-color);
        padding: 0.8rem 1.5rem;
        border-radius: 50px;
        font-weight: 700;
        transition: all 0.3s ease;
        flex: 1;
        max-width: 200px;
    }

    .mobile-cta:nth-child(2) {
        background-color: #25D366;
        color: var(--white-color);
    }
}
