/* Calikusu Group - Ana CSS Dosyası - Modern Corporate */

/* CSS Variables - Modern Corporate */
:root {
    /* Corporate Colors */
    --corp-bg: #FFFFFF;
    --corp-light: #F8F9FA;
    --corp-primary: #1E3A8A;
    --corp-secondary: #3B82F6;
    --corp-accent: #0EA5E9;
    --corp-dark: #0F172A;
    
    /* Text */
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--corp-primary) 0%, var(--corp-secondary) 100%);
    --gradient-hero: linear-gradient(135deg, var(--corp-primary) 0%, var(--corp-accent) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    
    /* Radius */
    --radius: 8px;
    
    /* Transitions */
    --transition: 300ms ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--corp-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Corporate Navigation */
.corp-nav {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
}

.corp-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--corp-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.corp-menu {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    align-items: center;
}

.corp-menu a {
    text-decoration: none;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    transition: all var(--transition);
    font-weight: 500;
    white-space: nowrap;
}

.corp-menu a:hover {
    color: white;
    background: var(--corp-primary);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition);
}

.dropdown-menu a:hover {
    color: var(--corp-primary);
    background: var(--corp-light);
}

/* Corporate Hero */
.corp-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    color: white;
    padding: 16rem 3rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.corp-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.corp-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.corp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    border: 2px solid var(--corp-secondary);
    color: var(--corp-secondary);
    background: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.corp-btn:hover {
    background: var(--corp-secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.corp-btn.primary {
    background: var(--corp-secondary);
    color: white;
    border-color: var(--corp-secondary);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.corp-btn.primary:hover {
    background: var(--corp-primary);
    border-color: var(--corp-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.35);
}

/* Corporate Section */
.corp-section {
    padding: 5rem 3rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.corp-section.service-detail {
    background: var(--corp-light);
    padding: 8rem 3rem 3rem;
    width: 100%;
    flex: 1;
    min-height: calc(100vh - 8rem);
}

.corp-section:first-of-type {
    background: var(--corp-light);
    padding-top: 8rem;
}

.corp-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.corp-section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--corp-primary);
    margin-bottom: 1rem;
}

.corp-section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Service Detail Grid */
.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .service-detail-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1400px) {
    .service-detail-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-detail-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid #E5E7EB;
    text-align: center;
    transition: all var(--transition);
}

.service-detail-card:hover {
    border-color: var(--corp-secondary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.service-detail-icon {
    font-size: 3rem;
    color: var(--corp-primary);
    margin: 0 auto 1.5rem;
}

.service-detail-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--corp-primary);
    margin-bottom: 1rem;
}

.service-detail-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Corporate Carousel */
.corp-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.corp-carousel-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: max-content;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.corp-carousel-item {
    flex: 0 0 auto;
    padding: 0 1rem;
    width: 300px;
}

.corp-service-slide {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid #E5E7EB;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    text-align: center;
    height: 350px;
}

.corp-service-slide:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--corp-secondary);
    transform: translateY(-4px);
}

.corp-service-image {
    font-size: 3rem;
    color: var(--corp-primary);
    text-align: center;
    margin-bottom: 1.5rem;
}

.corp-service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.corp-service-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--corp-primary);
    margin-bottom: 0.75rem;
    text-align: center;
}

.corp-service-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: center;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.corp-service-content a {
    margin-top: auto;
    align-self: center;
}

.corp-carousel-container:hover .corp-carousel-track {
    animation-play-state: paused;
}

/* Education Platform */
.education-platform {
    max-width: 1000px;
    margin: 0 auto;
}

.education-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.education-icon {
    font-size: 4rem;
    color: var(--corp-primary);
    margin-bottom: 1.5rem;
}

.education-hero h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--corp-primary);
    margin-bottom: 1rem;
}

.education-hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.education-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .education-features {
        grid-template-columns: repeat(4, 1fr);
    }
}

.education-feature {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid #E5E7EB;
    text-align: center;
    transition: all var(--transition);
}

.education-feature:hover {
    border-color: var(--corp-secondary);
    box-shadow: var(--shadow-md);
}

.education-feature i {
    font-size: 2rem;
    color: var(--corp-primary);
    margin-bottom: 1rem;
}

.education-feature h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--corp-primary);
    margin-bottom: 0.5rem;
}

.education-feature p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.education-users {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.user-type {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid #E5E7EB;
    text-align: center;
    transition: all var(--transition);
}

.user-type:hover {
    border-color: var(--corp-secondary);
    box-shadow: var(--shadow-md);
}

.user-type i {
    font-size: 2.5rem;
    color: var(--corp-primary);
    margin-bottom: 1rem;
}

.user-type h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--corp-primary);
    margin-bottom: 0.5rem;
}

.user-type p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.education-cta {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius);
    border: 1px solid #E5E7EB;
}

.education-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--corp-primary);
    margin-bottom: 1rem;
}

.education-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-buttons .corp-btn {
    width: 100%;
}

@media (min-width: 768px) {
    .cta-buttons .corp-btn {
        width: auto;
    }
}

/* Listings Container */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .listings-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1400px) {
    .listings-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.listing-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-md);
    border: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 400px;
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.listing-image {
    background: transparent;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    flex-shrink: 0;
    position: relative;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.listing-content {
    padding: 0.25rem 1.5rem 1.5rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    max-height: 200px;
}

.listing-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--corp-primary);
    margin-bottom: 0.5rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.listing-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.listing-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--corp-primary);
}

.listing-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    z-index: 10;
}

.badge-sale {
    background: #16a34a;
}

.badge-rent {
    background: #ea580c;
}

.listing-room-count {
    color: var(--corp-primary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem !important;
}

/* Detail Page Image Navigation */
.main-image-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--corp-primary);
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: 10px;
}

.next-arrow {
    right: 10px;
}

/* Corporate Footer */
.corp-footer {
    background: var(--corp-dark);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

/* Corporate Form */
.corp-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.corp-form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: all var(--transition);
}

.corp-form-input:focus {
    outline: none;
    border-color: var(--corp-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.corp-form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius);
    font-size: 1rem;
    min-height: 120px;
    resize: vertical;
    transition: all var(--transition);
    margin-bottom: 1rem;
}

.corp-form-textarea:focus {
    outline: none;
    border-color: var(--corp-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.corp-form-btn {
    width: 100%;
    padding: 0.75rem 2rem;
    background: var(--corp-secondary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.corp-form-btn:hover {
    background: var(--corp-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.35);
}

.corp-form-btn:active {
    transform: translateY(0);
}

/* Mobile Menu Toggle - default hidden */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    align-self: center;
}

/* Mobile Menu Logo & CTA - hidden on desktop */
.mobile-menu-logo,
.mobile-menu-cta {
    display: none;
}

.mobile-menu-cta {
    margin-top: auto;
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid #e5e7eb;
    background: var(--corp-light);
}

.mobile-menu-cta p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ============================================
   DETAIL PAGES (emlak-detail, otomotiv-detail)
   ============================================ */
.detail-container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.detail-header { margin-bottom: 40px; }
.detail-header h1 { color: var(--corp-primary); font-size: 2rem; margin-bottom: 10px; }
.detail-header .price { font-size: 1.5rem; color: var(--corp-primary); font-weight: 700; }
.price-banner { background: #facc15; color: #000; font-size: 1.5rem; font-weight: 700; padding: 12px 20px; border-radius: 8px; text-align: center; margin-bottom: 15px; }
.detail-header .back-link { color: #6b7280; text-decoration: none; margin-bottom: 10px; display: inline-block; }
.detail-header .back-link:hover { color: var(--corp-primary); }
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.detail-images { margin-bottom: 30px; }
.main-image { width: 100%; height: 400px; object-fit: contain; background: #f5f5f5; border-radius: 12px; margin-bottom: 15px; }
.thumbnail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 8px; }
.thumbnail-grid img { width: 100%; height: 70px; object-fit: cover; border-radius: 6px; cursor: pointer; transition: transform 0.3s; border: 2px solid transparent; }
.thumbnail-grid img:hover, .thumbnail-grid img.active { transform: scale(1.05); border-color: var(--corp-primary); }

/* Mobile Collapsible Thumbnails */
.thumbnail-collapsible { display: none; }
.thumbnail-toggle-btn { display: none; width: 100%; padding: 10px; background: #f3f4f6; border: 1px solid #e5e7eb; border-radius: 8px; cursor: pointer; font-size: 0.9rem; color: var(--text-primary); align-items: center; justify-content: center; gap: 8px; margin-top: 10px; }
.thumbnail-toggle-btn:hover { background: #e5e7eb; }
.thumbnail-toggle-btn .arrow { transition: transform 0.3s; }
.thumbnail-toggle-btn.active .arrow { transform: rotate(180deg); }
.thumbnail-collapsible.open { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 10px; }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    user-select: none;
}

.lightbox-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    max-width: 100%;
    padding: 8px 10px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.lightbox-thumbs::-webkit-scrollbar {
    height: 6px;
}

.lightbox-thumbs::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.lightbox-thumbs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 3px;
}

.lightbox-thumb {
    width: 75px;
    height: 55px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 3px solid rgba(255, 255, 255, 0.3);
    opacity: 0.7;
    transition: all 0.2s;
    flex-shrink: 0;
}

.lightbox-thumb:hover {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.7);
}

.lightbox-thumb.active {
    border-color: white;
    opacity: 1;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10000;
}

.lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

.lightbox-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    max-height: 120px;
    max-width: 280px;
    object-fit: contain;
    opacity: 0.2;
    pointer-events: none;
}

.main-image-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    max-height: 100px;
    max-width: 240px;
    object-fit: contain;
    opacity: 0.15;
    pointer-events: none;
}

.thumbnail-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    max-height: 30px;
    max-width: 60px;
    object-fit: contain;
    opacity: 0.2;
    pointer-events: none;
}

.detail-info { background: white; padding: 30px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); word-wrap: break-word; overflow-wrap: break-word; }
.detail-info h3 { color: var(--corp-primary); margin-bottom: 20px; font-size: 1.2rem; }
.detail-info.mt { margin-top: 20px; }
.info-row { display: flex; padding: 12px 0; border-bottom: 1px solid #e5e7eb; }
.info-row:last-child { border-bottom: none; }
.info-label { width: 120px; font-weight: 500; color: #6b7280; }
.info-value { flex: 1; color: #1e3a8a; }
.info-value a { color: var(--corp-primary); text-decoration: none; }
.info-value a:hover { text-decoration: underline; }
.contact-btn { display: block; width: 100%; padding: 15px; background: var(--corp-primary); color: white; text-align: center; border-radius: 8px; text-decoration: none; font-weight: 600; margin-top: 20px; transition: all 0.3s; }
.contact-btn:hover { background: #1e3a8a; transform: translateY(-2px); }
.whatsapp-btn { display: block; width: 100%; padding: 15px; background: #25D366; color: white; text-align: center; border-radius: 8px; text-decoration: none; font-weight: 600; margin-top: 10px; transition: all 0.3s; }
.whatsapp-btn:hover { background: #128C7E; transform: translateY(-2px); }
.share-buttons { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: white; text-decoration: none; font-size: 1.1rem; transition: all 0.3s; border: none; cursor: pointer; }
.share-btn:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.copy-btn { background: #6b7280; }
.copy-btn:hover { background: #4b5563; }
.facebook-btn { background: #1877F2; }
.facebook-btn:hover { background: #166fe5; }
.twitter-btn { background: #000000; }
.twitter-btn:hover { background: #333333; }
.whatsapp-share-btn { background: #25D366; }
.whatsapp-share-btn:hover { background: #128C7E; }
.copy-message { display: block; text-align: center; color: #10b981; font-size: 0.9rem; margin-top: 10px; opacity: 0; transition: opacity 0.3s; font-weight: 500; }
.copy-message.show { opacity: 1; }
.mobile-tabs { display: none; margin-bottom: 20px; }
.mobile-tab-btn { flex: 1; padding: 12px; background: #f5f5f5; border: none; border-radius: 8px 8px 0 0; font-weight: 600; cursor: pointer; transition: all 0.3s; }
.mobile-tab-btn.active { background: white; border-bottom: 2px solid var(--corp-primary); }
.mobile-tab-content { display: none; }
.mobile-tab-content.active { display: block; }
.desktop-desc { display: block; }
.desc-text { color: #374151; line-height: 1.8; word-wrap: break-word; overflow-wrap: break-word; max-width: 100%; }

/* ============================================
   FOOTER
   ============================================ */
.corp-footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    padding: 3rem 0;
    margin-top: 3rem;
}

.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.footer-brand { margin-bottom: 1.5rem; }
.footer-brand img { max-width: 200px; max-height: 60px; object-fit: contain; margin-bottom: 1rem; }
.footer-brand h3 { color: white; font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.footer-brand p { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; line-height: 1.6; }
.footer-social { display: flex; gap: 1rem; justify-content: center; }
.footer-social a { color: white; font-size: 1.2rem; transition: all 0.3s; }
.footer-social a:hover { opacity: 0.8; transform: scale(1.2); }
.footer-heading { color: white; font-size: 1.1rem; font-weight: 600; margin-bottom: 1.5rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: white; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { margin-bottom: 0.75rem; color: rgba(255, 255, 255, 0.7); display: flex; align-items: center; gap: 0.5rem; }
.footer-contact i { color: rgba(255, 255, 255, 0.5); }
.footer-phone-link { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: color 0.3s; }
.footer-phone-link:hover { color: white; }
.footer-copyright { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 2rem; padding-top: 2rem; text-align: center; }
.footer-copyright p { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; margin: 0; }

/* ============================================
   HAKKIMIZDA (About) PAGE
   ============================================ */
.about-card { background: white; padding: 3rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid #E5E7EB; text-align: center; }
.about-card .about-icon { font-size: 4rem; color: var(--corp-primary); margin-bottom: 2rem; }
.about-card p { color: var(--text-secondary); line-height: 1.8; font-size: 1.1rem; }

.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.about-stat { background: white; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid #E5E7EB; text-align: center; }
.about-stat i { font-size: 2.5rem; color: var(--corp-primary); margin-bottom: 1rem; display: block; }
.about-stat h3 { color: var(--corp-primary); font-size: 1.25rem; margin-bottom: 0.5rem; }
.about-stat p { color: var(--text-secondary); font-size: 0.9rem; }

.about-vision { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem; }
.about-vision-card { background: white; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid #E5E7EB; }
.about-vision-card h3 { color: var(--corp-primary); font-size: 1.5rem; margin-bottom: 1rem; }
.about-vision-card h3 i { margin-right: 0.5rem; }
.about-vision-card p { color: var(--text-secondary); line-height: 1.7; }

/* ============================================
   ILETISIM (Contact) PAGE
   ============================================ */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-bottom: 3rem; }
.contact-info-card { background: white; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid #E5E7EB; text-align: center; }
.contact-info-card .logo-section { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #E5E7EB; }
.contact-info-card .logo-section img { max-width: 200px; max-height: 100px; object-fit: contain; margin-bottom: 0.5rem; }
.contact-info-card .logo-section h2 { color: var(--corp-primary); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.contact-info-card .logo-section p { color: var(--text-secondary); font-size: 0.9rem; }
.contact-info-row { margin-bottom: 1rem; text-align: left; }
.contact-info-row i { color: var(--corp-primary); margin-right: 0.5rem; width: 20px; display: inline-block; }
.contact-social { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #E5E7EB; }
.contact-social p { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 1rem; }
.contact-social-links { display: flex; justify-content: center; gap: 1rem; }
.contact-social-links a { font-size: 1.5rem; transition: transform 0.3s; }
.contact-social-links a:hover { transform: scale(1.2); }
.form-message { padding: 1rem; margin-bottom: 1rem; border-radius: var(--radius); border: 1px solid; }
.form-message.success { background: #D1FAE5; color: #065F46; border-color: #10B981; }
.form-message.error { background: #FEE2E2; color: #991B1B; border-color: #EF4444; }
.captcha-area { margin-bottom: 1rem; padding: 1.5rem; background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); border-radius: var(--radius); display: flex; align-items: center; gap: 1rem; }
.captcha-area .captcha-col { flex: 1; }
.captcha-area label { display: block; margin-bottom: 0.5rem; color: white; font-weight: 500; }
.captcha-display { background: rgba(255, 255, 255, 0.2); padding: 0.75rem 1rem; border-radius: 8px; font-family: 'Courier New', monospace; font-size: 1.5rem; font-weight: 700; letter-spacing: 0.25rem; color: white; text-align: center; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); position: relative; }
.captcha-refresh { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.3); border: none; border-radius: 50%; width: 32px; height: 32px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: white; font-size: 14px; transition: all 0.3s; }
.captcha-refresh:hover { background: rgba(255, 255, 255, 0.5); }

/* ============================================
   INDEX.PHP - Service Overview Cards
   ============================================ */
.service-overview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; align-items: stretch; }
.service-overview-card { padding: 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); color: white; text-align: center; transition: transform 0.3s; display: flex; flex-direction: column; align-items: center; height: 100%; }
.service-overview-card:hover { transform: translateY(-5px); }
.service-overview-card.bg-blue { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%); }
.service-overview-card.bg-green { background: linear-gradient(135deg, #059669 0%, #10b981 100%); }
.service-overview-card.bg-red { background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%); }
.service-overview-card.bg-purple { background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%); }
.service-overview-card i { font-size: 3rem; margin-bottom: 1.5rem; height: 3rem; display: flex; align-items: center; justify-content: center; }
.service-overview-card h3 { font-size: 1.5rem; margin-bottom: 1rem; height: 3.6rem; display: flex; align-items: center; justify-content: center; }
.service-overview-card p { opacity: 0.9; line-height: 1.6; flex-grow: 1; text-align: center; margin: 0; }

/* ============================================
   LISTING CARDS (emlak.php, otomotiv.php)
   ============================================ */
.listing-image img { width: 100%; height: 100%; object-fit: cover; }
.listing-content h3 a { color: inherit; text-decoration: none; }
.listing-content h3 a:hover { color: var(--corp-primary); }
.listing-badge { position: absolute; left: 10px; padding: 3px 8px; border-radius: 4px; color: white; font-size: 0.75rem; font-weight: 600; z-index: 2; white-space: nowrap; width: max-content; line-height: 1.2; }
.badge-category { top: 10px; background: #8b5cf6; }
.badge-sale { top: 36px; background: #10b981; }
.badge-rent { top: 36px; background: #f97316; }
.badge-room { top: 62px; background: #3b82f6; }
.badge-area { top: 88px; background: #06b6d4; }
.listing-price-overlay { position: absolute; bottom: 10px; right: 10px; background: #facc15; color: black; padding: 8px 16px; border-radius: 4px; font-weight: 700; font-size: 1rem; z-index: 2; }
.listing-price .detail-link { color: white; text-decoration: none; display: inline-block; text-align: center; padding: 8px 20px; background: var(--corp-primary); border-radius: 6px; font-weight: 600; transition: all 0.3s; font-size: 1rem; }
.listing-price .detail-link:hover { background: #1e3a8a; }
.listing-content .detail-link { color: white; text-decoration: none; display: block; text-align: center; padding: 8px; background: var(--corp-primary); border-radius: 6px; font-weight: 600; transition: all 0.3s; margin-top: 10px; }
.listing-content .detail-link:hover { background: #1e3a8a; }
.listing-empty { grid-column: 1/-1; text-align: center; padding: 3rem; color: var(--text-secondary); }
.corp-form-input.mb { margin-bottom: 1rem; }

/* Utility */
.cta-center { text-align: center; margin-top: 3rem; }
.dropdown > a .fa-chevron-down { font-size: 0.7rem; margin-left: 0.3rem; }
.dropdown-menu i { margin-right: 0.5rem; }

/* Logo in nav */
.corp-logo img { max-width: 250px; max-height: 70px; object-fit: contain; }
.corp-logo { flex-shrink: 0; min-width: 0; }

/* ============================================
   RESPONSIVE: TABLET (768px - 1023px)
   ============================================ */
@media (min-width: 768px) and (max-width: 1023px) {
    .mobile-menu-toggle {
        display: block !important;
    }

    .service-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .corp-nav {
        padding: 0.5rem 1.5rem;
    }

    .corp-logo img {
        max-width: 200px;
        max-height: 55px;
    }

    .corp-menu {
        display: flex;
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 1.5rem 0 2rem;
        box-shadow: -4px 0 15px rgba(0,0,0,0.1);
        z-index: 1001;
        overflow-y: auto;
        transition: right 0.3s ease;
        gap: 0;
    }

    .corp-menu.mobile-active {
        right: 0;
    }

    .mobile-menu-logo {
        display: block;
        text-align: center;
        padding: 1rem 1.5rem 1.5rem;
        border-bottom: 1px solid #e5e7eb;
    }

    .mobile-menu-logo img {
        max-width: 160px;
        max-height: 50px;
        object-fit: contain;
    }

    .mobile-menu-cta {
        display: block;
    }

    .corp-menu > li {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
    }

    .corp-menu > li:last-child {
        border-bottom: none;
    }

    .corp-menu a {
        color: var(--text-primary);
        padding: 0.75rem 1.5rem;
        display: block;
        width: 100%;
    }

    .corp-menu .dropdown > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .corp-menu a:hover {
        color: var(--corp-primary);
        background: var(--corp-light);
    }

    .corp-hero {
        padding: 12rem 2rem 4rem;
    }

    .corp-hero h1 { font-size: 2.5rem; }
    .corp-hero p { font-size: 1.1rem; }

    .corp-section {
        padding: 4rem 2rem;
    }

    .corp-section.service-detail {
        padding: 7rem 2rem 2rem;
    }

    .corp-section-header h2 { font-size: 2rem; }

    .service-detail-grid { grid-template-columns: repeat(2, 1fr); }
    .listings-grid { grid-template-columns: repeat(2, 1fr); }
    .education-features { grid-template-columns: repeat(2, 1fr); }
    .education-users { grid-template-columns: repeat(2, 1fr); }

    .corp-carousel-item { width: 260px; }
    .corp-service-slide { height: auto; min-height: 320px; }

    .listing-card { height: 380px; }

    .corp-form-row { grid-template-columns: repeat(2, 1fr); }

    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        padding-left: 1rem;
        transition: all 0.3s ease;
    }

    .dropdown.dropdown-open > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }

    .dropdown:hover > .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        max-height: 0;
    }

    .dropdown.dropdown-open:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }

    /* Detail pages */
    .detail-grid { grid-template-columns: 3fr 2fr; gap: 20px; }
    .main-image { height: 350px; }
    .detail-container { padding: 30px 15px; }

    /* About page */
    .about-stats { grid-template-columns: repeat(3, 1fr); }
    .about-vision { grid-template-columns: repeat(2, 1fr); }

    /* Contact page */
    .contact-grid { grid-template-columns: repeat(2, 1fr); }

    /* Footer */
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   RESPONSIVE: MOBILE (<768px)
   ============================================ */
@media (max-width: 767px) {
    .mobile-menu-toggle {
        display: block !important;
    }

    .service-overview-grid {
        grid-template-columns: 1fr;
    }

    /* Navigation */
    .corp-nav {
        padding: 0.5rem 1rem;
    }

    .corp-logo img {
        max-width: 160px;
        max-height: 45px;
    }

    .corp-menu {
        display: flex;
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 1.5rem 0 2rem;
        box-shadow: -4px 0 15px rgba(0,0,0,0.1);
        z-index: 1001;
        overflow-y: auto;
        transition: right 0.3s ease;
        gap: 0;
    }

    .corp-menu.mobile-active {
        right: 0;
    }

    .mobile-menu-logo {
        display: block;
        text-align: center;
        padding: 1rem 1.5rem 1.5rem;
        border-bottom: 1px solid #e5e7eb;
    }

    .mobile-menu-logo img {
        max-width: 140px;
        max-height: 45px;
        object-fit: contain;
    }

    .mobile-menu-cta {
        display: block;
    }

    .corp-menu > li {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
    }

    .corp-menu > li:last-child {
        border-bottom: none;
    }

    .corp-menu a {
        color: var(--text-primary);
        padding: 0.75rem 1.5rem;
        display: block;
        width: 100%;
    }

    .corp-menu .dropdown > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .corp-menu a:hover {
        color: var(--corp-primary);
        background: var(--corp-light);
    }

    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        padding-left: 1rem;
        transition: all 0.3s ease;
    }

    .dropdown.dropdown-open > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }

    .dropdown:hover > .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        max-height: 0;
    }

    .dropdown.dropdown-open:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }

    /* Hero */
    .corp-hero {
        padding: 10rem 1.5rem 3rem;
    }

    .corp-hero h1 { font-size: 1.75rem; }
    .corp-hero p { font-size: 0.95rem; }

    /* Sections */
    .corp-section {
        padding: 3rem 1rem;
    }

    .corp-section.service-detail {
        padding: 6rem 1rem 2rem;
    }

    .corp-section:first-of-type {
        padding-top: 6rem;
    }

    .corp-section-header h2 { font-size: 1.75rem; }
    .corp-section-header p { font-size: 0.95rem; }

    /* Grids - single column */
    .service-detail-grid,
    .listings-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .education-features,
    .education-users {
        grid-template-columns: 1fr;
    }

    /* Detail pages */
    .detail-grid { grid-template-columns: 1fr; }
    .detail-container { padding: 20px 10px; }
    .detail-header h1 { font-size: 1.5rem; }
    .detail-header .price { font-size: 1.2rem; }
    .main-image { height: 250px; }
    .thumbnail-grid { display: none; }
    .thumbnail-toggle-btn { display: flex; }
    .thumbnail-collapsible { display: none; }
    .thumbnail-collapsible.open { display: flex; }
    .thumbnail-collapsible img { width: 88px; height: 66px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; }
    .thumbnail-collapsible img.active { border-color: var(--corp-primary); }
    .info-label { width: 100px; font-size: 0.9rem; }
    .info-value { font-size: 0.9rem; min-width: 0; word-wrap: break-word; overflow-wrap: break-word; }
    .detail-info { padding: 20px 15px; }
    .mobile-tabs { display: flex; gap: 5px; margin-bottom: 15px; }
    .mobile-tab-btn { font-size: 0.9rem; }
    .desktop-desc { display: none; }
    .desc-text { font-size: 0.95rem; line-height: 1.7; white-space: normal; overflow-wrap: break-word; word-break: break-word; }
    .detail-info { overflow-wrap: break-word; word-break: break-word; }

    /* About page */
    .about-card { padding: 2rem; }
    .about-card p { font-size: 1rem; }
    .about-stats { grid-template-columns: 1fr; }
    .about-vision { grid-template-columns: 1fr; }
    .about-stat { padding: 1.5rem; }
    .about-vision-card h3 { font-size: 1.25rem; }

    /* Contact page */
    .contact-grid { grid-template-columns: 1fr; }
    .captcha-area { flex-direction: column; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; }
    .footer-inner { padding: 0 1rem; }

    /* Service overview */
    .service-overview-grid { grid-template-columns: 1fr; }

    /* Cards */
    .service-detail-card { padding: 1.5rem; }
    .service-detail-card h3 { font-size: 1.25rem; }

    .listing-card { height: 480px; }
    .listing-image { height: 100%; }
    .listing-content { padding: 1rem; }
    .listing-content h3 { font-size: 1.1rem; }
    .listing-content p { font-size: 0.85rem; }

    /* Carousel */
    .corp-carousel-item { width: 250px; }
    .corp-service-slide { height: auto; min-height: 280px; padding: 1.5rem; }

    /* Image nav arrows */
    .nav-arrow { width: 40px; height: 40px; font-size: 20px; }
    .prev-arrow { left: 5px; }
    .next-arrow { right: 5px; }

    /* Forms */
    .corp-form-row { grid-template-columns: 1fr; }

    /* Footer */
    .corp-footer { padding: 1.5rem 1rem; }

    /* Buttons */
    .corp-btn { padding: 0.6rem 1.5rem; font-size: 0.9rem; }
}

/* ============================================
   RESPONSIVE: SMALL MOBILE (<480px)
   ============================================ */
@media (max-width: 479px) {
    .corp-hero {
        padding: 7rem 0.75rem 2rem;
    }

    .corp-hero h1 { font-size: 1.25rem; }
    .corp-hero p { font-size: 0.85rem; margin-bottom: 1.5rem; }

    .corp-logo img {
        max-width: 130px;
        max-height: 40px;
    }

    .corp-section { padding: 2rem 0.75rem; }
    .corp-section-header h2 { font-size: 1.3rem; }

    .corp-btn { padding: 0.5rem 1.25rem; font-size: 0.85rem; }

    .listing-card { height: 440px; }
    .listing-image { height: 100%; }

    .education-feature { padding: 1rem; }
    .education-feature i { font-size: 1.5rem; }
    .education-feature h3 { font-size: 1rem; }

    .corp-carousel-item { width: 220px; }
    .corp-service-slide { height: auto; min-height: 260px; }

    /* Detail pages */
    .main-image { height: 200px; }
    .detail-info { padding: 15px 10px; }
    .detail-container { padding: 15px 8px; }
    .info-label { width: 90px; font-size: 0.85rem; }
    .info-row { flex-wrap: wrap; gap: 4px; }
    .service-overview-card { padding: 1.5rem; }
    .service-overview-card i { font-size: 2rem; margin-bottom: 1rem; height: 2rem; }
    .service-overview-card h3 { font-size: 1.2rem; height: 2.9rem; }
    .service-overview-card p { margin: 0; }

    /* About */
    .about-card { padding: 1.5rem; }
    .about-card .about-icon { font-size: 3rem; }
}
