/* HSS Yılmaz Grup İnşaat - Kuzu Grup Style */

:root {
    --primary-color: #000000;
    --secondary-color: #6c757d;
    --success-color: #000000;
    --info-color: #000000;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --font-primary: "Inter", sans-serif;
    --font-secondary: "Manrope", sans-serif;
    --font-family: var(--font-primary);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden; /* Yatay kaydırmayı engelle */
}

html {
    overflow-x: hidden; /* Yatay kaydırmayı engelle */
}

/* Header & Navigation */
.top-bar {
    font-size: 0.875rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: transparent;
    color: white;
}

.top-bar .social-links a {
    transition: opacity 0.3s;
    color: white;
}

.top-bar .social-links a:hover {
    opacity: 0.7;
}

.navbar {
    padding: 1rem 0;
    margin-bottom: 20px;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    box-shadow: none;
}

.navbar-transparent {
    background: transparent;
    box-shadow: none;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    position: fixed;
}

.navbar-brand {
    color: white !important;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    font-family: var(--font-secondary);
}

.navbar-brand:hover {
    color: var(--warning-color) !important;
}

.navbar-brand img {
    transition: height 0.3s;
}

.navbar.scrolled .navbar-brand img {
    height: 40px;
}



.navbar-nav {
    margin-left: 0 !important;
    justify-content: flex-end !important;
}

.navbar .container-fluid {
    max-width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
}

.navbar-nav .nav-link {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: white !important;
    font-size: 1.1rem;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    font-family: var(--font-primary);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--warning-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--warning-color) !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    z-index: 1;
    /* Prevent white flash during slide fades */
    background-color: #000;
}

.hero-slider {
    position: relative;
    height: 100vh;
    z-index: 1;
    /* Ensure the area behind images is dark while fading */
    background-color: #000;
}

.hero-slide {
    position: relative;
    overflow: hidden;
    height: 100vh;
    z-index: 1;
}

/* Swiper fade – ensure only active is visible and hint opacity */
.hero-slider .swiper-slide { 
    background-color: #000; 
    opacity: 0; 
    transition: opacity 0.5s ease; 
}
.hero-slider .swiper-slide.swiper-slide-active { opacity: 1; }
.hero-slider .swiper-wrapper { will-change: opacity; }

/* Dark overlay only on active slide */
.hero-slider .swiper-slide .hero-dark-overlay { 
    opacity: 0; 
    transition: opacity 0.5s ease; 
}
.hero-slider .swiper-slide.swiper-slide-active .hero-dark-overlay { opacity: 0.6; }

.hero-slide img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
    z-index: 1;
}

.hero-overlay {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));
    z-index: 3;
}

/* Dark Overlay for Hero Images */
.hero-dark-overlay {
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
    pointer-events: none;
}



.swiper-pagination {
    z-index: 10;
    bottom: 20px;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Hero Content Layout */
.hero-content {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 15;
    width: 100%;
}

.hero-text {
    padding-right: 2rem;
}

.hero-text h1 {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text p {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-text .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: transparent;
    border: 2px solid white;
    color: white;
}

.hero-text .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: white;
    color: #000;
}

/* Social Media Hero - Left Bottom */
.social-media-hero {
    z-index: 20;
    bottom: 2rem;
    left: 2rem;
}

.social-media-hero .d-flex {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.social-media-hero a {
    transition: all 0.3s ease;
    color: white;
    opacity: 0.8;
    display: block;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.social-media-hero a:hover {
    transform: scale(1.2);
    color: var(--primary-color) !important;
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Navigation - Right Bottom */
.hero-navigation {
    z-index: 20;
    bottom: 2rem;
    right: 2rem;
}

.hero-navigation .d-flex {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

.hero-navigation .btn {
    width: 50px;
    height: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-radius: 50%;
}

.hero-navigation .btn:hover {
    background: white;
    color: var(--dark-color) !important;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-navigation .btn i {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Company Slogan Section */
.slogan-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

/* Project Cards */
.project-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-overlay {
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1 !important;
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-overlay {
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1 !important;
}

/* News Cards */
.news-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-overlay {
    transition: opacity 0.3s ease;
}

.news-card:hover .news-overlay {
    opacity: 1 !important;
}

/* Statistics Section */
.stat-item {
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon i {
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon i {
    transform: scale(1.1);
    color: var(--primary-color) !important;
}

/* Buttons */
.btn {
    transition: all 0.3s ease;
    border-radius: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-outline-dark {
    border: 2px solid #333;
    color: #333;
}

.btn-outline-dark:hover {
    background-color: #333;
    color: white;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: #333;
}

/* Section Headers */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
}

.slogan-section h2 {
    font-family: var(--font-secondary);
    font-weight: 300;
    letter-spacing: 1px;
}

/* Cards */
.card {
    border-radius: 0;
    border: none;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* About Section */
.experience-badge {
    background: linear-gradient(135deg, var(--primary-color) 0%, #333333 100%) !important;
}

/* Partners Section */
.partner-logo {
    transition: all 0.3s ease;
    padding: 1rem;
}

.partner-logo:hover {
    transform: scale(1.1);
}

.partner-logo img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-content {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        padding: 2rem 0;
    }
    
    .hero-text {
        text-align: center !important;
        padding-right: 0;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .social-media-hero,
    .hero-navigation {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin: 1rem 0;
    }
    
    .social-media-hero {
        order: 1;
    }
    
    .hero-navigation {
        order: 2;
    }
    
    /* Footer responsive */
    .footer .col-lg-4,
    .footer .col-lg-2,
    .footer .col-lg-3 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .footer .social-links {
        justify-content: center;
    }
    
    .footer .text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }
}

/* Animation Classes */
.transition-opacity {
    transition: opacity 0.3s ease;
}

/* Hover Effects for Images */
.project-card img,
.service-card img,
.news-card img {
    transition: transform 0.3s ease;
}

.project-card:hover img,
.service-card:hover img,
.news-card:hover img {
    transform: scale(1.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #333333;
}
