/* =================== */
/* 1. Grid Sistemi */
/* =================== */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.col-md-4, .col-md-6, .col-lg-6, .col-sm-6 {
    padding: 15px;
    width: 100%;
}

@media (min-width: 576px) {
    .col-sm-6 { width: 50%; }
}

@media (min-width: 768px) {
    .col-md-4 { width: 33.333333%; }
    .col-md-6 { width: 50%; }
}

@media (min-width: 992px) {
    .col-lg-6 { width: 50%; }
}

/* =================== */
/* 2. Kart Stilleri */
/* =================== */
.card {
    transition: transform 0.3s ease;
    border-radius: 25px;
    max-width: 90%;
    margin: 0 auto;
    overflow: hidden;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-body {
    padding: 1.5rem;
}

/* =================== */
/* 3. Section Stilleri */
/* =================== */
/* Ana Section Stilleri */
.primary-section {
    background-color: var(--primary-color);
}

.rounded-section-top {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}

.rounded-section-bottom {
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-color);
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    max-height: 400px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
    aspect-ratio: 3/2;
    display: block;
    margin: 0 auto;
}

/* Hizmetler Section */
.services-section .card {
    margin: 0 auto;
    max-width: 90%;
}

.services-section .icon-lg {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Neden Biz Section */
.why-us-section .text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.why-us-section .icon-lg {
    font-size: 2.5rem;
    margin-bottom: 1.25rem !important;
}

.why-us-section .title-md {
    margin-bottom: 0.75rem;
}

.why-us-section p {
    margin-bottom: 0;
    opacity: 0.9;
}

/* =================== */
/* 4. SEO İçerik Stilleri */
/* =================== */
.seo-content {
    position: relative;
    padding-bottom: 40px;
}

.info-section-content {
    padding: 30px 40px;
    color: var(--primary-color);
    font-size: 0.95rem;
    letter-spacing: -0.3px;
    word-spacing: normal;
}

.info-section-content h1, 
.info-section-content h2, 
.info-section-content h3 { 
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    margin: 0;
    line-height: 1.8;
    font-size: 0.95rem;
    color: var(--primary-color);
    text-align: left;
}

/* =================== */
/* 5. Devamını Gör Mekanizması */
/* =================== */
.hidden-div {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.hidden-div.open-div {
    max-height: 2000px;
    opacity: 1;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
    font-size: inherit;
    font-family: inherit;
    text-decoration: underline;
}

/* =================== */
/* 6. Ayraç Stilleri */
/* =================== */
.separator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    background-color: var(--primary-color);
}

.line {
    height: 1px;
    width: 100px;
    background-color: rgba(255, 255, 255, 0.5);
    transition: width 0.3s ease;
}

.separator-icon {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 15px;
    font-size: 0.8rem;
    transition: margin 0.3s ease;
}

/* =================== */
/* 7. Form Elemanları */
/* =================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
}

/* Select Özel Stilleri */
select.form-control {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

/* Textarea Özel Stilleri */
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Submit Butonu */
.btn-submit {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.btn-submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* =================== */
/* 8. Harita Stilleri */
/* =================== */
.map-card {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    overflow: hidden;
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =================== */
/* 9. İletişim Sayfası */
/* =================== */
.contact-info-section {
    padding: 50px 15px;
}

.contact-info-section .card {
    height: auto;
    min-height: 200px;
    max-width: 350px;
}

.contact-info-section .icon-lg {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* İletişim Formu */
.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin: 2rem auto;
    max-width: 800px;
}

.contact-form .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #333;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

/* =================== */
/* 10. Logo Stilleri */
/* =================== */
.navbar-brand img {
    width: 180px;
    height: 60px;
    object-fit: contain;
    aspect-ratio: 3/1;
}

.footer-logo {
    width: 200px;
    height: 60px;
    object-fit: contain;
    aspect-ratio: 10/3;
    filter: brightness(0) invert(1);
}

/* =================== */
/* 11. Responsive Tasarım */
/* =================== */
@media (max-width: 992px) {
    .hero-image {
        max-width: 500px;
        max-height: 333px;
    }
}

@media (max-width: 768px) {
    /* Hero Section */
    .hero-image {
        max-width: 100%;
        max-height: 300px;
        margin-top: 2rem;
    }
    
    .hero-section .display-4 { font-size: 2rem; }
    .hero-section .lead { font-size: 1rem; }

    /* Kartlar */
    .card { max-width: 85%; }
    .card-body { padding: 1.25rem; }

    /* Neden Biz Section Ayraç */
    .why-us-section .col-md-3:not(:last-child) {
        position: relative;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }

    .why-us-section .col-md-3:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 15%;
        right: 15%;
        height: 1px;
        background: rgba(255, 255, 255, 0.2);
    }

    /* Logo */
    .navbar-brand img {
        width: 150px;
        height: 50px;
    }
    
    .footer-logo {
        width: 150px;
        height: 45px;
    }

    /* İletişim */
    .contact-info-section {
        padding: 30px 10px;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin: 10px;
    }
}

@media (max-width: 576px) {
    .hero-image {
        max-height: 250px;
    }
}
