/* Genel Stiller */
:root {
    --primary-color: #004d99;
    --secondary-color: #2c3e50;
    --accent-color: #3498db;
    --text-color: #2c3e50;
    --light-bg: #f8f9fa;
    --border-radius: 8px;
    --transition-speed: 0.3s;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Navbar Styles */
.navbar {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color) !important;
    transition: color var(--transition-speed) ease;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 65vh;
    min-height: 450px;
    max-height: 600px;
    overflow: hidden;
    background-color: var(--primary-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 77, 153, 0.85) 0%,
        rgba(0, 77, 153, 0.7) 50%,
        rgba(52, 152, 219, 0.6) 100%
    );
    z-index: 1;
}

.hero-carousel {
    height: 100%;
}

.carousel-item {
    height: 65vh;
    min-height: 450px;
    max-height: 600px;
    overflow: hidden;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.9);
    transform: scale(1);
    transition: transform 3s ease-out;
}

.carousel-item.active img {
    transform: scale(1.05);
}

.carousel-item .carousel-caption {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.carousel-item.active .carousel-caption {
    opacity: 1;
    transform: translateY(0);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    color: white;
    margin-top: 10vh;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.3s forwards;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-content .btn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
    padding: 0.8rem 2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hero-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Carousel Controls */
.carousel-indicators {
    margin-bottom: 1.5rem;
    gap: 8px;
}

.carousel-indicators button {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    border: none !important;
    transition: all 0.3s ease;
    margin: 0 4px !important;
    opacity: 0.7;
}

.carousel-indicators button.active {
    background-color: #fff !important;
    transform: scale(1.3);
    opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    opacity: 0;
    transition: all 0.3s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 0.7;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    background-size: 50%;
}

/* Responsive Hero */
@media (max-width: 992px) {
    .hero-section {
        height: 60vh;
    }

    .carousel-item {
        height: 60vh;
    }

    .hero-content {
        margin-top: 8vh;
        padding: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 55vh;
        min-height: 400px;
    }

    .carousel-item {
        height: 55vh;
        min-height: 400px;
    }

    .hero-content {
        margin-top: 6vh;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 15%;
    }
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    cursor: pointer;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.service-card i {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform var(--transition-speed) ease;
}

.service-card:hover i {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-card p {
    color: #666;
    margin-bottom: 0;
}

/* Logo Slider - GÜNCELLENMIŞ KISIM */
.logo-slider {
    overflow: hidden;
    padding: 2rem 0;
    background: white;
    position: relative;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
}

.logo-slide-track {
    display: flex;
    animation: scroll 20s linear infinite;
    width: fit-content;
}

.logo-slide-track:hover {
    animation-play-state: paused;
}

/* Kesintisiz döngü için animasyon - logoların yarısında başa döner */
@keyframes scroll {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        transform: translateX(-50%); 
    }
}

.logo-slide {
    flex: 0 0 auto;
    width: 250px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ref-logo, .partner-logo {
    max-width: 180px;
    height: 80px;
    object-fit: contain;
    filter: none;
    transition: transform var(--transition-speed) ease;
    opacity: 1;
}

.ref-logo:hover, .partner-logo:hover {
    transform: scale(1.05);
}

/* Contact Section */
.contact-info {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}

.map-container {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    transition: transform var(--transition-speed) ease;
}

.map-container:hover iframe {
    transform: scale(1.02);
}

/* Modal Styles */
.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--hover-shadow);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem 2rem;
    background-color: var(--light-bg);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-body {
    padding: 2rem;
}

.modal-title {
    color: var(--primary-color);
    font-weight: 600;
}

.modal-body img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 3rem 0;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.footer-link:hover {
    color: white;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: all var(--transition-speed) ease;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }
    
    .hero-content {
        padding-top: 15vh;
        text-align: center;
    }
    
    .service-detail {
        text-align: center;
        padding: 2rem 0;
    }
    
    .service-detail img {
        margin-top: 2rem;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .contact-info {
        margin-bottom: 2rem;
    }
}

.dropdown-menu {
    border: none;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    padding: 0.5rem;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    color: var(--text-color);
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

.dropdown-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    display: none;
}

.dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dropdown-submenu {
        position: static;
        padding-left: 1rem;
    }
    
    .dropdown-menu > li:hover > .dropdown-submenu {
        display: none;
    }
    
    .dropdown-menu > li > .dropdown-submenu.show {
        display: block;
    }
}

/* Carousel Indicators */
.carousel-indicators {
    margin-bottom: 2rem;
}

.carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #fff !important;
    transform: scale(1.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: all 0.3s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 0.8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 1.5rem;
}

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.carousel-item.active img {
    animation: zoomInOut 10s infinite;
}