﻿/* Modern CTA Cards - Mobile & Responsive Friendly */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Safari Carousel Fix - Ensure carousel is visible and works properly */
.owl-mobile {
    display: block !important;
    visibility: visible !important;
}

.owl-carousel .item {
    display: block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Ensure slides have proper height on Safari */
.slide {
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .slide {
        min-height: 300px;
    }
}

.cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 20px;
    padding: 4rem 3rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: 360px;
}

.cta-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(72, 32, 128, 0.2);
    text-decoration: none;
}

.cta-icon {
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.cta-icon img {
    max-width: 200px;
    height: auto;
    width: 100%;
}

.cta-card:hover .cta-icon {
    transform: scale(1.08);
}

.cta-title {
    color: #482080;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cta-section {
        padding: 2rem 0;
    }
    
    .cta-card {
        padding: 2rem 1.5rem;
        min-height: 240px;
    }
    
    .cta-icon img {
        max-width: 120px;
    }
    
    .cta-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 1.5rem 0;
    }
    
    .cta-card {
        padding: 1.5rem 1rem;
        min-height: 200px;
    }
    
    .cta-icon img {
        max-width: 100px;
    }
    
    .cta-title {
        font-size: 1rem;
    }
}

.radio-buttons {
    display: block;
    width: 100%;
    height: 40px;
}

.rentFormContainer .radio-buttons .item input {
    visibility: hidden;
    position: absolute;
    right: -10px;
    top: 0;
    width: 0;
    display: block;
}

.rentFormContainer .float-left p {
    color: #000;
}

@media only screen and (max-width: 768px) {
    .document-section .document.docs h3 {
        width: 100% !important;
    }
}

@media only screen and (max-width: 991px) {
    main .car-info-content div.col-lg-8 {
        padding-top: 20px;
    }

    .document-section .document.docs img {
        margin-bottom: 0px !important;
    }

    .document-section .document.docs h3 {
        width: calc(100% - 150px);
        line-height: 34px !important;
        margin: 0 auto;
        margin-bottom: 40px;
    }
}

/*.subpage-details {
    margin-bottom: 10px;
}*/

.blue-button {
    float: right;
    background: #025eff;
    border-radius: 100px;
    border: 0px;
    padding: 10px 30px;
    color: #fff;
    margin-top: -60px;
    position: relative;
    cursor: pointer;
}

    .blue-button:hover {
        color: white;
        text-decoration: none;
    }

/* OYAK footer band */
.oyak-footer-band {
    background: #ffffff;
    width: 100%;
    padding: 14px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

    .oyak-footer-band .container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

/* Logo – kurumsal & zarif */
.oyak-footer-logo {
    display: block;
    height: 48px !important; /* 🔴 Force height on all browsers */
    max-height: 48px !important; /* Extra safety */
    width: auto !important;
    max-width: 160px !important;
    opacity: 0.9;
    object-fit: contain; /* Preserve aspect ratio */
}

/* Tablet */
@media (max-width: 992px) {
    .oyak-footer-logo {
        height: 40px !important;
        max-height: 40px !important;
        max-width: 140px !important;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .oyak-footer-band {
        padding: 12px 0;
    }

    .oyak-footer-logo {
        height: 34px !important;
        max-height: 34px !important;
        max-width: 120px !important;
    }
}
}
