@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #1a2641;   /* Dark navy from logo */
    --primary-light: #2c3a5e;
    --secondary-color: #3546a3; /* Blue from button */
    --secondary-hover: #2b3a8a;
    --text-color: #4a4a4a;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
}

html, body {
    overflow-x: clip;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
}

/* Utilities */
.text-primary { color: var(--secondary-color) !important; }
.text-primary-light { color: var(--primary-light) !important; }
.bg-primary-dark { background-color: var(--primary-color) !important; }

.section-title {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.title-line {
    height: 4px;
    width: 60px;
    background-color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.custom-btn {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.custom-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.85rem;
}
.top-bar a, .top-bar span {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}
.top-bar a.dropdown-item {
    color: var(--text-color) !important;
}
.top-bar a.dropdown-item:hover {
    color: var(--secondary-color) !important;
}
.social-icons a {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Header */
.header {
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    z-index: 1030;
    position: sticky;
    top: 0;
}
.nav-link {
    color: var(--primary-color) !important;
    text-transform: uppercase;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    cursor: pointer;
}
.nav-link:hover, .nav-item:hover .nav-link {
    color: var(--secondary-color) !important;
}

/* Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
}
.dropdown-item {
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}
.dropdown-item:hover {
    background-color: rgba(53, 70, 163, 0.1);
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}
.heroSwiper .swiper-slide {
    overflow: hidden;
}
.heroSwiper {
    width: 100%;
    height: 100%;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(26, 38, 65, 0.85), rgba(44, 58, 94, 0.6));
    z-index: 2;
}
.hero .container {
    z-index: 3;
}
.hero-content h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.hero-pagination .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}
.hero-pagination .swiper-pagination-bullet-active {
    background: var(--secondary-color);
    opacity: 1;
}
.hero-nav-prev, .hero-nav-next {
    color: var(--secondary-color) !important;
    background-color: rgba(255,255,255,0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none; /* Mobile hidden, show on larger screens below */
}
.hero-nav-prev::after, .hero-nav-next::after {
    font-size: 1.2rem;
    font-weight: bold;
}
@media (min-width: 992px) {
    .hero-nav-prev, .hero-nav-next {
        display: flex;
    }
}

/* About Section */
.about-section {
    background-color: #fff;
    overflow: hidden;
}
/* Dotted background matching image 2 right side */
.dots-bg-right {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    background-image: radial-gradient(var(--secondary-color) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}
.about-image-box {
    height: 400px;
    background-color: #1a1e29;
    /* dark office background mixed with logo */
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.about-bg-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    mix-blend-mode: luminosity;
}
.about-box-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
}
.about-content {
    position: relative;
    z-index: 1;
}

/* Swiper Nav Buttons Custom */
.custom-nav-btn {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}
.custom-nav-btn:hover {
    background-color: var(--secondary-color);
}
.custom-nav-btn i {
    font-size: 1.2rem;
}

/* Disabled state */
.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Services */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}
.service-card img {
    height: 200px;
    object-fit: cover;
}

/* Testimonials */
.testimonials-section {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a2641' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.testimonial-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin: 10px;
}
.absolute-nav-prev {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.absolute-nav-next {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* News */
.news-img-wrapper {
    overflow: hidden;
}
.news-img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover .news-img {
    transform: scale(1.05);
}
.news-date {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top-right-radius: 8px;
}
.news-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}
.news-date .month {
    font-size: 0.85rem;
    text-transform: uppercase;
}
.read-more {
    transition: color 0.3s ease;
}
.read-more:hover {
    color: var(--primary-color) !important;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
}
.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: white;
    padding-left: 5px;
}
.contact-info i {
    width: 20px;
}
.footer-social {
    width: 35px;
    height: 35px;
    background-color: rgba(255,255,255,0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-social:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Page Headers */
.page-header {
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    border-bottom: 5px solid var(--secondary-color);
}
.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

/* Gallery (Referanslar) */
.gallery-img {
    transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}
.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(53, 70, 163, 0.85); /* Secondary color with opacity */
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay i {
    transform: translateY(-20px);
    transition: all 0.3s ease;
}
.gallery-item:hover .gallery-overlay i {
    transform: translateY(0);
}

/* Partners Section */
.partners-section {
    background-color: #fff;
    border-top: 1px solid #eee;
}
.partner-logo {
    max-height: 45px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}
.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Continuous scroll for partners */
.partnersSwiper .swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}
