/* ===============================================
   CARD LAYOUTS
=============================================== */
.card-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card-modern {
    background: white;
    border-radius: var(--border-radius-modern);
    padding: 40px 30px;
    box-shadow: var(--shadow-modern);
    transition: all 0.3s var(--animation-smooth);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

    .card-modern::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-primary);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .card-modern:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-hover);
    }

        .card-modern:hover::before {
            transform: scaleX(1);
        }

.card-icon-modern {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
}

.card-title-modern {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.card-description-modern {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ===============================================
   FLOATING BUTTONS
=============================================== */
.whatsapp-float,
.call-float {
    position: fixed;
    bottom: 2rem;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.whatsapp-float {
    right: 2rem;
    background-color: #25d366;
}

.call-float {
    right: 5rem;
    background-color: var(--primary-blue);
}

    .whatsapp-float:hover,
    .call-float:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-hover);
    }

    .whatsapp-float a,
    .call-float a {
        color: var(--white);
        font-size: 1.5rem;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }

/* ===============================================
   FOOTER
=============================================== */
.footer {
    background-color: var(--gray-900);
    color: var(--gray-400);
    padding: var(--spacing-2xl) 0;
    text-align: center;
    border-top: 1px solid var(--gray-700);
}

.footer-main {
    padding: 3rem 0;
    background-color: var(--gray-900);
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-links a {
        color: rgba(255,255,255,0.7);
        transition: color 0.3s ease;
        text-decoration: none;
    }

        .footer-links a:hover {
            color: #60a5fa;
        }

.working-hours p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}

.footer-section .social-links {
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    background-color: var(--gray-900);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

    .footer-bottom-content p {
        color: rgba(255,255,255,0.7);
        margin: 0;
    }

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

    .footer-bottom-links a {
        color: rgba(255,255,255,0.7);
        font-size: 0.9rem;
        transition: color 0.3s ease;
        text-decoration: none;
    }

        .footer-bottom-links a:hover {
            color: #60a5fa;
        }

/* ===============================================
   BREADCRUMB
=============================================== */
.breadcrumb {
    background-color: var(--gray-100);
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-300);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.9rem;
}

    .breadcrumb-item:not(:last-child)::after {
        content: "/";
        color: var(--gray-400);
        margin-left: 0.5rem;
    }

    .breadcrumb-item:last-child {
        color: var(--primary-blue);
        font-weight: 500;
    }

.breadcrumb-link {
    color: var(--gray-600);
    transition: color 0.3s ease;
    text-decoration: none;
}

    .breadcrumb-link:hover {
        color: var(--primary-blue);
    }

/* ===============================================
   DROPDOWN MENUS
=============================================== */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 200px;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--gray-700);
    transition: all 0.3s ease;
    text-decoration: none;
}

    .dropdown-link:hover {
        background-color: var(--gray-100);
        color: var(--primary-blue);
    }

/* ===============================================
   ANIMATIONS
=============================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* ===============================================
   DEBUG STYLES
=============================================== */
.debug-info {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-danger);
    color: white;
    padding: 20px;
    border-radius: var(--border-radius-modern);
    box-shadow: var(--shadow-hover);
    z-index: 9999;
    max-width: 350px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.debug-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

    .debug-close:hover {
        opacity: 1;
    }

/* ===============================================
   RESPONSIVE DESIGN
=============================================== */
@media (max-width: 991.98px) {
    .navbar-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        z-index: 9999;
        padding: 2rem;
        transition: left 0.3s ease;
        flex-direction: column;
        justify-content: flex-start;
    }

        .navbar-menu.active {
            left: 0;
        }

    .navbar-nav {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        margin-top: 3rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .search-form {
        width: 100%;
        margin-top: 1rem;
    }

    .search-input {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    .navbar {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .nav-links {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: center;
    }

    .hero-slider {
        min-height: 600px;
        height: 90vh;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
        margin-bottom: var(--spacing-md);
    }

    .hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: var(--spacing-md);
        text-align: center;
    }

    .hero-actions,
    .hero-actions-modern {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }

    .btn-lg,
    .btn-modern {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .emergency-content,
    .emergency-content-modern {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-lg);
    }

    .contact-box {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }

    .bottom-cta-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }

    .advantages-grid,
    .services-grid,
    .testimonials-grid,
    .card-grid-modern {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .service-areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .cta-features {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .company-title {
        font-size: var(--font-size-2xl);
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .section-modern {
        padding: 60px 0;
    }

    .advantage-card,
    .service-card,
    .testimonial-card {
        padding: var(--spacing-xl);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .whatsapp-float {
        right: 1rem;
        bottom: 1rem;
        width: 50px;
        height: 50px;
    }

    .call-float {
        right: 1rem;
        bottom: 4rem;
        width: 50px;
        height: 50px;
    }

    .hero-stats-modern {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero-title,
    .hero-title-modern {
        font-size: var(--font-size-2xl);
    }

    .hero-description,
    .hero-description-modern {
        font-size: var(--font-size-sm);
    }

    .btn {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--font-size-sm);
    }

    .btn-lg {
        padding: var(--spacing-lg) var(--spacing-xl);
        font-size: var(--font-size-base);
    }

    .section-header,
    .section-header-modern {
        margin-bottom: var(--spacing-2xl);
    }

    .advantage-card,
    .service-card,
    .testimonial-card {
        padding: var(--spacing-lg);
    }

    .company-intro {
        padding: var(--spacing-2xl) 0;
    }

    .cta-title {
        font-size: var(--font-size-3xl);
    }

    .bottom-cta-text h2 {
        font-size: var(--font-size-2xl);
    }
}

/* ===============================================
   ACCESSIBILITY & PERFORMANCE
=============================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (prefers-color-scheme: dark) {
    /* Dark mode stilleri buraya eklenebilir */
}

/* Erişilebilirlik için odak stilleri */
.btn:focus,
.btn-modern:focus,
.dot:focus,
button:focus,
a:focus {
    outline: 2px solid var(--secondary-blue);
    outline-offset: 2px;
}

/* Yazdırma stilleri */
@media print {
    .hero-slider,
    .hero-modern,
    .emergency-contact,
    .emergency-modern,
    .cta-section {
        background: white !important;
        color: black !important;
    }

    .btn,
    .btn-modern {
        border: 1px solid black !important;
        background: white !important;
        color: black !important;
    }

    .whatsapp-float,
    .call-float {
        display: none !important;
    }
}

/* ===============================================
   UTILITY CLASSES
=============================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-primary {
    color: var(--primary-blue);
}

.text-white {
    color: var(--white);
}

.text-muted {
    color: var(--gray-500);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: var(--spacing-xs);
}

.mb-2 {
    margin-bottom: var(--spacing-sm);
}

.mb-3 {
    margin-bottom: var(--spacing-md);
}

.mb-4 {
    margin-bottom: var(--spacing-lg);
}

.mb-5 {
    margin-bottom: var(--spacing-xl);
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: var(--spacing-xs);
}

.mt-2 {
    margin-top: var(--spacing-sm);
}

.mt-3 {
    margin-top: var(--spacing-md);
}

.mt-4 {
    margin-top: var(--spacing-lg);
}

.mt-5 {
    margin-top: var(--spacing-xl);
}

.d-flex {
    display: flex;
}

.d-block {
    display: block;
}

.d-inline {
    display: inline;
}

.d-inline-block {
    display: inline-block;
}

.d-none {
    display: none;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.rounded {
    border-radius: var(--border-radius-md);
}

.rounded-lg {
    border-radius: var(--border-radius-lg);
}

.rounded-full {
    border-radius: var(--border-radius-full);
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

/* ===============================================
   BOOTSTRAP COMPATIBLE GRID (Optional)
=============================================== */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col,
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
.col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
.col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12,
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
.col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
    padding: 0 15px;
    flex: 1;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.col-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
}

.col-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
}

.col-9 {
    flex: 0 0 75%;
    max-width: 75%;
}

.col-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.col-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
}

.col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.col-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}

.col-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
}

@media (min-width: 992px) {
    .col-lg-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .col-lg-11 {
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }

    .col-lg-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .col-lg-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-lg-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-lg-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-lg-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-lg-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .col-lg-1 {
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }
}

@media (min-width: 768px) {
    .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .col-md-11 {
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }

    .col-md-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .col-md-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-md-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-md-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-md-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-md-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .col-md-1 {
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }
}

/* ===============================================
   COMPONENT SPECIFIC STYLES
=============================================== */

/* Form Controls */
.form-control {
    display: block;
    width: 100%;
    padding: var(--spacing-md);
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--gray-800);
    background-color: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-md);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .form-control:focus {
        color: var(--gray-800);
        background-color: var(--white);
        border-color: var(--primary-blue);
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

.form-group {
    margin-bottom: var(--spacing-lg);
}

    .form-group label {
        display: block;
        margin-bottom: var(--spacing-sm);
        font-weight: 500;
        color: var(--gray-800);
    }

/* Alert Messages */
.alert {
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border: 1px solid transparent;
    border-radius: var(--border-radius-md);
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.navbar-brand img {
    max-height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

    .navbar-brand img:hover {
        transform: scale(1.05);
    }

/* Responsive için */
@media (max-width: 768px) {
    .navbar-brand img {
        max-height: 40px;
    }
}