:root {
    --primary-color: #FFD700;
    --secondary-color: #333;
    --accent-color: #1e90ff;
    --text-color: #333;
    --bg-color: #f4f4f4;
    --transition: all 0.3s ease;
}

/* Genel Stil Ayarları */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header ve Navigasyon */
header {
    position: relative;
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('Images/Ambar.webp') no-repeat center center/cover;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

nav.scrolled {
    background: rgba(255,255,255,0.9);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav .logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

nav .menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    transition: var(--transition);
}

nav.scrolled ul li a {
    color: var(--text-color);
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Mobil Navigasyon */
@media (max-width: 768px) {
    nav .menu-toggle {
        display: block;
        color: #fff;
    }

    nav ul {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgb(255, 255, 255);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
        z-index: 9998;
    }

    nav ul.open {
        left: 0;
    }

    nav ul li {
        margin: 20px 0;
    }

    nav ul li a {
        font-size: 20px;
        color: var(--text-color);
        transition: color 0.3s ease;
    }

    nav ul li a:hover {
        color: var(--primary-color);
    }

    nav.scrolled {
        background: rgba(255,255,255);
    }

    nav.scrolled .menu-toggle {
        color: var(--text-color);
    }

    nav.scrolled ul {
        background-color: rgba(255, 255, 255);
    }

    nav.scrolled ul li a {
        color: var(--text-color);
    }
}

/* Başlık ve CTA Butonu */
header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

header p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto 30px;
    animation: fadeInUp 1s ease 0.5s;
    animation-fill-mode: both;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    transition: var(--transition);
    animation: fadeInUp 1s ease 1s;
    animation-fill-mode: both;
}

.cta-button:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Hakkımızda Bölümü */
.about-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.about-section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--secondary-color);
    position: relative;
}

.about-section h2::after {
    content: '';
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--text-color);
}

.about-text .cta-button {
    margin-top: 20px;
}

/* Hizmetler Bölümü */
.services-section {
    padding: 100px 0;
    background-color: #fff;
}

.services-section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--secondary-color);
    position: relative;
}

.services-section h2::after {
    content: '';
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.service-card h3 {
    font-size: 24px;
    padding: 20px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    margin: 0;
}

.service-card ul {
    list-style: none;
    padding: 20px;
}

.service-card li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-card li::before {
    content: "\f0da";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.service-card li a {
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.service-card li a:hover {
    color: var(--primary-color);
}

.service-card p {
    padding: 0 20px 20px;
    font-style: italic;
}

/* Pop-up Stil */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
    position: relative;
}

.popup-content h3 {
    margin-top: 0;
}

.popup-content .close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: var(--secondary-color);
    cursor: pointer;
}

.popup-content iframe {
    width: 100%;
    height: 200px;
    border: 0;
    margin-top: 20px;
    border-radius: 10px;
}

/* İletişim Bölümü */
.contact-section {
    padding: 100px 0;
    background-color: var(--secondary-color);
    color: #fff;
}

.contact-section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.contact-item i {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Telefon Numaraları */
.contact-section .phone-numbers {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Hizalama isteğe bağlı */
}

.contact-section .phone-numbers a {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px; /* Yazı boyutunu isteğe bağlı ayarlayın */
}

.contact-section .phone-numbers a:hover {
    color: var(--primary-color);
}

/* Diğer Bağlantılar */
.contact-section a,
.popup-content a {
    color: inherit;
    text-decoration: underline;
}

.contact-section a:hover,
.popup-content a:hover {
    color: var(--primary-color);
}

/* Konum Bölümü */
.location-section {
    padding: 100px 0;
}

.location-section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

/* WhatsApp İkonu */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.3);
    z-index: 1000;
}

.whatsapp-float i {
    margin-top: 15px;
}

/* Footer Stil Ayarları */
footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-media a {
    color: #fff;
    margin: 0 10px;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: var(--primary-color);
}

footer p {
    text-align: center;
    font-size: 14px;
    margin: 0;
}

/* Responsive ayarlar */
@media (max-width: 768px) {
    header h1 {
        font-size: 32px;
        padding: 0 10px;
    }

    header p {
        font-size: 16px;
        padding: 0 10px;
    }

    .cta-button {
        font-size: 16px;
        padding: 10px 20px;
    }

    .services-section h2,
    .contact-section h2,
    .location-section h2,
    .about-section h2 {
        font-size: 28px;
    }

    .popup-content {
        max-width: 100%;
        padding: 15px;
    }

    .popup-content iframe {
        height: 150px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-section {
        padding: 60px 0;
    }

    .about-text p {
        font-size: 16px;
    }

    nav ul {
        left: -100%;
    }

    nav ul.open {
        left: 0;
    }

    nav ul li a {
        font-size: 20px;
        color: var(--text-color);
    }

    nav.scrolled .menu-toggle {
        color: var(--text-color);
    }

    .footer-content {
        flex-direction: column;
    }
}

.no-underline {
    text-decoration: none;
    color: inherit;
}

.services-info {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #333;
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}