/* Genel Ayarlar */
:root {
    --primary-color: #e63946;
    --secondary-color: #1d3557;
    --whatsapp-color: #25D366;
    --text-color-light: #f1faee;
    --text-color-dark: #333;
    --bg-overlay: rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color-dark);
    position: relative;
    background-color: #fff;
    /* Altbilgi sorunu için Flexbox kullanıyoruz */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigasyon Menüsü */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    background-color: var(--secondary-color);
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 99;
}

.navbar a {
    color: var(--text-color-light);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    font-weight: 600;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

.navbar a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    padding: 30px 20px;
    font-size: 0.9em;
    text-align: center;
    margin-top: auto; /* Altbilgiyi sayfanın altına iter */
}

.footer .social-icons {
    margin-top: 20px;
}

.footer .social-icons a {
    color: var(--text-color-light);
    font-size: 1.5em;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer .social-icons a:hover {
    color: var(--primary-color);
}

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

/* Ana Sayfa: Hero Bölümü */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-grow: 1; /* Altbilgi sorununu çözmek için eklenir */
}

.hero-section .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('cekici.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax efekti için */
    z-index: -2;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-overlay);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 40px;
    max-width: 90%;
    width: 500px;
    color: var(--text-color-light);
    /* Cam Efekti: Glassmorphism */
    background: rgba(255, 255, 255, 0.0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.hero-content h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5em;
    letter-spacing: 2px;
    font-weight: 500;
    color: var(--text-color-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0 0 10px;
}

.slogan {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.phone-number {
    font-size: 3em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.phone-number a {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    display: inline-block;
}

.phone-number a:hover {
    transform: scale(1.05);
}

.location {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-color-light);
    font-weight: 400;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.call-button, .whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-bottom: 10px;
}

.call-button {
    background-color: var(--primary-color);
}

.whatsapp-button {
    background-color: var(--whatsapp-color);
}

.call-button:hover {
    background-color: #d62828;
    transform: translateY(-3px);
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
}

/* Diğer sayfalar için arka plan */
.bg-with-overlay {
    background-image: url('cekici.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-color-light);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.bg-with-overlay::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-overlay);
    z-index: -1;
}

/* İçerik Bölümleri (Genel) */
.content-section {
    position: relative;
    z-index: 1;
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background-color: transparent;
    box-shadow: none;
    border: none;
    flex-grow: 1;
}

.content-section h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 3em;
    color: #fff;
    margin-bottom: 40px;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.content-section h1::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
}

/* Hakkımızda Sayfası Stilleri */
.about-text {
    color: #f1f1f1;
    font-size: 1.2em;
    line-height: 1.8;
    text-align: justify;
    max-width: 800px;
    margin: 0 auto 50px;
}

.values-section {
    padding: 60px 0;
}

.values-section h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5em;
    color: #fff;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card .icon {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8em;
    color: #fff;
}

.card p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #f1f1f1;
}

/* Galeri Sayfası Stilleri */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item a img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover a img {
    transform: scale(1.05);
}

.gallery-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* İletişim Sayfası Stilleri */
.contact-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.contact-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.contact-item .icon {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-item h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5em;
    margin: 0 0 10px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.contact-item p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #f1f1f1;
}

.big-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: 700;
    color: var(--text-color-light);
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.big-button.call {
    background-color: var(--primary-color);
}

.big-button.whatsapp {
    background-color: var(--whatsapp-color);
}

.big-button:hover {
    transform: translateY(-3px);
}

/* Mobil cihazlar için genel düzenlemeler */
@media (max-width: 768px) {
    .background-image, .bg-with-overlay {
        background-attachment: scroll;
    }

    .hero-content h1, .content-section h1 {
        font-size: 2.5em;
    }

    .gallery-container {
        grid-template-columns: 1fr; /* Mobil cihazlarda tek sütunlu görünüm */
    }

    .gallery-item img {
        height: auto;
    }
    
    .contact-links {
        list-style: none;
        padding: 0;
    }

    .contact-links li {
        margin-bottom: 10px;
        font-size: 1.1em;
        color: #333; /* Tüm metin rengi */
    }

    .contact-links .contact-same-color {
        color: inherit; /* Link rengi, liste metni ile aynı olur */
        text-decoration: none; /* Alt çizgi kaldırılır */
    }

    .contact-links .contact-same-color:hover {
        text-decoration: underline; /* Hover durumunda alt çizgi eklenebilir */
    }
}

/* ======================= */
/* Telefon ve WhatsApp linkleri metinle aynı renk olacak */
/* ======================= */
.contact-links li a {
    color: #f1faee !important; /* Liste metni ile aynı renk */
    text-decoration: none; /* Alt çizgi kaldır */
}

.contact-links li a:hover {
    text-decoration: underline; /* Hover durumunda alt çizgi */
}
