/* =========================================
   1. GENEL 
   ========================================= */
:root {
   
    --uni-blue: #0d3b66;     /
    --uni-orange: #f26419;   
    --uni-yellow: #f6ae2d;  
    --uni-green: #588157;    
    
    
    --text-dark: #1d1d1d;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    
    /* FONT AYARLARI */
    --font-primary: 'Manrope', sans-serif;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    overflow-x: hidden; 
    line-height: 1.6;
}

a { text-decoration: none; transition: all 0.3s ease; }
ul { list-style: none; padding: 0; margin: 0; }

/* =========================================
   2. TOP BAR 
   ========================================= */
.top-bar {
    background-color: var(--uni-blue);
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar i { margin-right: 8px; }


.top-bar .fa-phone { color: var(--uni-yellow); }
.top-bar .fa-envelope { color: var(--uni-orange); }

.social-link {
    color: #fff;
    margin-left: 15px;
    font-size: 0.9rem;
}

.social-link:hover {
    color: var(--uni-yellow);
    transform: translateY(-2px);
    display: inline-block;
}

/* =========================================
   3. NAVBAR
   ========================================= */
.navbar {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 0;
    position: relative;
    z-index: 1000;
}

.navbar-brand {
    padding: 15px 0;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 55px; /* Logo boyutu */
    width: auto;
    transition: transform 0.3s;
}

.nav-link {
    color: var(--uni-blue) !important;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    padding: 35px 18px !important;
    position: relative;
    letter-spacing: 0.5px;
}


.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--uni-orange), var(--uni-yellow), var(--uni-green));
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-link:hover::before,
.nav-item.show .nav-link::before {
    width: 100%;
}

/* =========================================
   4. MEGA MENÜ
   ========================================= */
.navbar .dropdown-menu { border: none; padding: 0; border-radius: 0; margin: 0; }

@media (min-width: 992px) {
    .navbar .has-megamenu { position: static !important; }
    
    .navbar .megamenu {
        position: absolute;
        left: 0; right: 0; width: 100%;
        background: #fff;
        margin-top: 0;
        border-top: 4px solid var(--uni-blue);
        box-shadow: 0 15px 40px rgba(0,0,0,0.1);
        padding: 40px 0;
        display: none;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    
    .navbar .nav-item:hover .megamenu {
        display: block;
        opacity: 1;
        visibility: visible;
        animation: slideUp 0.3s forwards;
    }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}


.mega-title {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 1px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    display: block;
}

.service-item {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid transparent;
}

.service-item:hover {
    background-color: var(--bg-light);
    border-color: #eee;
    transform: translateX(5px);
}

.service-icon {
    width: 45px; height: 45px;
    background-color: rgba(13, 59, 102, 0.1);
    color: var(--uni-blue);
    border-radius: 8px;
    display: flex;
    align-items: center; justify-content: center;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.service-content h6 {
    font-weight: 700; color: var(--uni-blue);
    margin-bottom: 2px; font-size: 1rem;
}
.service-content p {
    font-size: 0.8rem; color: var(--text-light);
    margin: 0; line-height: 1.3;
}


.service-item:hover .icon-orange { background-color: var(--uni-orange); color: white; box-shadow: 0 4px 10px rgba(242, 100, 25, 0.3); }
.service-item:hover .icon-green { background-color: var(--uni-green); color: white; box-shadow: 0 4px 10px rgba(88, 129, 87, 0.3); }
.service-item:hover .icon-yellow { background-color: var(--uni-yellow); color: white; box-shadow: 0 4px 10px rgba(246, 174, 45, 0.3); }


.mega-banner {
    background: linear-gradient(135deg, var(--uni-blue) 0%, #051b30 100%);
    color: white;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex; flex-direction: column; justify-content: center;
}
.mega-banner::before {
    content: ''; position: absolute;
    top: 0; right: 0; width: 100px; height: 100px;
    background: var(--uni-yellow); border-radius: 50%;
    filter: blur(60px); opacity: 0.2;
}

/* =========================================
   5. GELİŞMİŞ HERO 
   ========================================= */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider .carousel-item {
    height: 85vh; 
    min-height: 600px;
    background-position: center;
    background-size: cover;
  
    transform: scale(1); 
    transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slider .carousel-item.active { transform: scale(1.1); }


.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(5, 27, 48, 0.9), rgba(5, 27, 48, 0.4));
    display: flex; align-items: center;
    z-index: 1;
}
.hero-overlay::before {
    content: ''; position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('img/carbon-fibre.png');
    opacity: 0.1; pointer-events: none; z-index: -1;
}


.hero-content {
    color: white; max-width: 750px;
    padding-left: 5%; position: relative; z-index: 2;
}

.hero-badge {
    display: inline-block;
    background-color: var(--uni-yellow);
    color: var(--uni-blue);
    font-weight: 700; font-size: 0.85rem;
    padding: 8px 15px; border-radius: 4px;
    margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px;
    opacity: 0; transform: translateY(30px); 
}

.hero-title {
    font-size: 4rem; font-weight: 800; line-height: 1.1;
    margin-bottom: 25px; text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    opacity: 0; transform: translateY(30px);
}

.hero-desc {
    font-size: 1.25rem; margin-bottom: 40px; font-weight: 300;
    color: rgba(255,255,255,0.9); max-width: 600px;
    opacity: 0; transform: translateY(30px);
}

.hero-btns { opacity: 0; transform: translateY(30px); }

/* Sıralı Animasyon (Staggered) */
.carousel-item.active .hero-badge { animation: slideUpFade 0.8s ease forwards 0.3s; }
.carousel-item.active .hero-title { animation: slideUpFade 0.8s ease forwards 0.5s; }
.carousel-item.active .hero-desc  { animation: slideUpFade 0.8s ease forwards 0.7s; }
.carousel-item.active .hero-btns  { animation: slideUpFade 0.8s ease forwards 0.9s; }

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Slider Kontrolleri */
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: var(--uni-blue);
    border-radius: 4px; width: 50px; height: 50px;
    transition: 0.3s;
}
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--uni-yellow);
}
.carousel-indicators [data-bs-target] {
    background-color: var(--uni-yellow);
    width: 12px; height: 12px; border-radius: 50%;
    margin: 0 5px; opacity: 0.5; transition: 0.3s;
}
.carousel-indicators .active { opacity: 1; width: 30px; border-radius: 10px; }

/* =========================================
   6. HİZMET KARTLARI
   ========================================= */
.service-card {
    background: #fff; padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border-bottom: 5px solid transparent;
    height: 100%;
}
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.service-card i { font-size: 3rem; margin-bottom: 25px; display: inline-block; }

/* Renk Varyasyonları */
.card-blue { border-bottom-color: var(--uni-blue); }
.card-blue i { color: var(--uni-blue); }

.card-yellow { border-bottom-color: var(--uni-yellow); }
.card-yellow i { color: var(--uni-yellow); }

.card-orange { border-bottom-color: var(--uni-orange); }
.card-orange i { color: var(--uni-orange); }

.card-green { border-bottom-color: var(--uni-green); }
.card-green i { color: var(--uni-green); }

/* İstatistik Alanı */
.stat-section {
    background: var(--uni-blue); color: white; padding: 80px 0;
    background-image: url('img/cubes.png');
}
.stat-number { font-size: 3rem; font-weight: 800; color: var(--uni-yellow); }

/* Buton Stili */
.btn-custom {
    background-color: var(--uni-yellow); color: var(--uni-blue);
    font-weight: 700; padding: 10px 25px;
    border-radius: 6px; text-transform: uppercase;
    font-size: 0.85rem; letter-spacing: 0.5px; border: none;
    position: relative; overflow: hidden; z-index: 1;
}
.btn-custom::after {
    content: ''; position: absolute; top: 0; left: 0; width: 0%; height: 100%;
    background-color: var(--uni-blue); z-index: -1; transition: width 0.3s ease;
}
.btn-custom:hover { color: white; }
.btn-custom:hover::after { width: 100%; }

/* =========================================
   7. FOOTER 
   ========================================= */
.main-footer {
    background-color: #051b30; color: #adb5bd;
    position: relative; font-size: 0.9rem; overflow: hidden;
}
.main-footer::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/8/80/World_map_-_low_resolution.svg');
    background-size: cover; background-position: center; opacity: 0.05; pointer-events: none;
}

.footer-title {
    color: var(--uni-yellow); font-weight: 800;
    margin-bottom: 25px; text-transform: uppercase;
    font-size: 1rem; letter-spacing: 1px; position: relative; display: inline-block;
}
.footer-title::after {
    content: ''; display: block; width: 40px; height: 3px;
    background: var(--uni-yellow); margin-top: 10px;
}

.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #adb5bd; display: flex; align-items: center; }
.footer-links a i { font-size: 0.7rem; margin-right: 10px; color: var(--uni-orange); }
.footer-links a:hover { color: white; padding-left: 5px; }

.footer-contact li { display: flex; margin-bottom: 15px; color: #dbe4ee; }
.footer-contact i { font-size: 1.2rem; color: var(--uni-yellow); margin-right: 15px; margin-top: 3px; }

.footer-bottom {
    background-color: rgba(0,0,0,0.3); padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05); margin-top: 50px; font-size: 0.85rem;
}

.social-circle {
    display: inline-flex; justify-content: center; align-items: center;
    width: 35px; height: 35px; background: rgba(255,255,255,0.1);
    color: white; border-radius: 50%; margin-left: 10px; transition: 0.3s;
}
.social-circle:hover { background: var(--uni-yellow); color: var(--uni-blue); transform: translateY(-3px); }

/* =========================================
   8. MOBİL UYUMLULUK
   ========================================= */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white; padding: 20px;
        max-height: 80vh; overflow-y: auto;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .nav-link { padding: 15px 0 !important; border-bottom: 1px solid #eee; }
    .nav-link::before { display: none; }
    
    .dropdown-menu { box-shadow: none; padding-left: 15px; border-left: 2px solid var(--uni-yellow); }
    .mega-col-title { margin-top: 20px; color: var(--uni-blue); }
    .top-bar { display: none; }
    
    .hero-slider .carousel-item { height: 70vh; min-height: auto; }
    .hero-title { font-size: 2.5rem; }
    .hero-desc { font-size: 1rem; }
    .hero-badge { font-size: 0.75rem; padding: 5px 10px; }
    .hero-btns .btn { width: 100%; margin-bottom: 10px; display: block; }
}

/* =========================================
   9. TAB YAPISI
   ========================================= */
.corporate-services {
    background-color: #f8f9fa;
    position: relative;
    z-index: 1;
}

/* Sol Menü Linkleri */
.service-tab-link {
    background: #fff;
    border: none;
    border-radius: 0;
    padding: 20px 25px;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--uni-blue); /* Lacivert Yazı */
    text-align: left;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border-left: 5px solid transparent; /* Renkli çizgi için yer */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-tab-link i { font-size: 1.2rem; opacity: 0.5; }

.service-tab-link:hover {
    background-color: #e9ecef;
    padding-left: 30px; 
}

/* --- AKTİF TAB RENKLENDİRMELERİ --- */

/* Mavi Grup  */
.service-tab-link.active {
    background-color: var(--uni-blue);
    color: #fff;
    border-left-color: var(--uni-yellow);
    box-shadow: 0 10px 20px rgba(13, 59, 102, 0.2);
}

/*  (İnşaat) */
.service-tab-link.tab-orange.active {
    background-color: var(--uni-orange);
    border-left-color: #fff;
    box-shadow: 0 10px 20px rgba(242, 100, 25, 0.3);
}

/* (Bahçe) */
.service-tab-link.tab-green.active {
    background-color: var(--uni-green);
    border-left-color: #fff;
    box-shadow: 0 10px 20px rgba(88, 129, 87, 0.3);
}

/* (Lojistik) */
.service-tab-link.tab-yellow.active {
    background-color: var(--uni-yellow);
    color: var(--uni-blue); 
    border-left-color: var(--uni-blue);
}

.service-tab-link.active i { opacity: 1; }


.tab-pane {
    animation: fadeIn 0.5s ease;
}

.service-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-img-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-img-wrapper:hover img {
    transform: scale(1.05); 
}


.service-detail-box {
    background: #fff;
    padding: 30px;
    margin-top: -50px;
    margin-left: 30px;
    margin-right: 30px;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 4px solid var(--uni-blue); 
}


.box-orange { border-top-color: var(--uni-orange); }
.box-green { border-top-color: var(--uni-green); }
.box-yellow { border-top-color: var(--uni-yellow); }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


@media (max-width: 991px) {
    .service-img-wrapper img { height: 250px; }
    .service-detail-box { margin-top: 0; margin-left: 0; margin-right: 0; border-radius: 0 0 10px 10px; }
}

/* =========================================
   10. HAKKIMIZDA 
   ========================================= */
.about-section {
    position: relative;
    overflow: hidden;
}


.about-pattern {
    position: absolute;
    top: 0; left: 0;
    width: 200px; height: 400px;
    background-image: radial-gradient(var(--uni-yellow) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: -1;
}


.about-img-wrapper {
    position: relative;
    padding-bottom: 50px; 
    padding-right: 30px; 
}


.about-main-img {
    width: 90%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}


.about-small-img {
    position: absolute;
    bottom: 0; right: 0;
    width: 55%;
    border: 10px solid #fff; 
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 2;
}


.experience-badge {
    position: absolute;
    top: 10%; right: 5%; 
    background-color: var(--uni-blue);
    color: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(13, 59, 102, 0.3);
    z-index: 3;
    animation: floatBadge 3s ease-in-out infinite alternate;
}

.experience-badge h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
    color: var(--uni-yellow);
}

.experience-badge span {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

@keyframes floatBadge {
    from { transform: translateY(0); }
    to { transform: translateY(-10px); }
}


.feature-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.feature-icon {
    width: 50px; height: 50px;
    background: rgba(246, 174, 45, 0.15);
    color: var(--uni-orange);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    font-size: 1.2rem;
    transition: 0.3s;
}

.feature-box:hover .feature-icon {
    background: var(--uni-blue);
    color: #fff;
}

/* Mobilde Düzenleme */
@media (max-width: 991px) {
    .about-img-wrapper { margin-top: 40px; padding-right: 0; }
    .about-small-img { width: 50%; bottom: -20px; right: -10px; }
    .experience-badge { padding: 15px; right: 0; }
    .experience-badge h3 { font-size: 1.8rem; }
}

