/* assets/css/style.css */
:root {
    --primary-color: #2D3ED2; /* Koyu Mavi */
    --secondary-color: #FACC15; /* Güçlü İnşaat Sarısı */
    --text-color: #334155;
    --text-light: #64748B;
    --bg-color: #ffffff;
    --bg-light: #F8FAFC;
    --border-color: #E2E8F0;
    --header-height: 80px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #0F172A;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.gray-bg {
    background-color: var(--bg-light);
}

.text-center { text-align: center; }
.text-white { color: #fff !important; }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Butonlar */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #1E2B96;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #0F172A;
}

.btn-secondary:hover {
    background-color: #EAB308;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}
.w-100 { width: 100%; }

/* Formlar */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 62, 210, 0.1);
}

/* Header */
.top-bar {
    background-color: #0F172A;
    color: #CBD5E1;
    font-size: 14px;
    padding: 10px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.social-links a {
    color: #CBD5E1;
    margin-left: 15px;
    font-size: 18px;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.navbar {
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    position: relative;
    padding: 10px 0;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    text-transform: none;
    font-weight: 500;
}

.dropdown-menu li a::after {
    display: none;
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Slider - Swiper içindeki tüm metinler beyaz */
.heroSwiper h1,
.heroSwiper h2,
.heroSwiper h3,
.heroSwiper p,
.heroSwiper a:not(.btn) {
    color: #ffffff !important;
    text-shadow: 2px 3px 8px rgba(0,0,0,0.85);
}

/* Hero Section */
.hero {
    height: calc(100vh - var(--header-height) - 40px);
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    background-image: url('https://images.unsplash.com/photo-1541888086425-d81bb19240f5?q=80&w=2070&auto=format&fit=crop'); /* Placeholder image representing construction/asphalt/machinery */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    max-width: 800px;
}

.hero-title {
    font-size: 56px;
    margin-bottom: 20px;
    color: white;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    color: #E2E8F0;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

/* About Home */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.section-title {
    font-size: 36px;
    margin-bottom: 15px;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin-bottom: 25px;
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 16px;
    color: var(--text-light);
}

.image-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 80px;
    color: white;
    box-shadow: var(--shadow-lg);
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-color), #6366f1);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    border-radius: 50%;
    background: var(--bg-light);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: white;
}

.service-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-link {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* CTA */
.cta-section {
    background: var(--primary-color);
    color: white;
    padding: 80px 0;
}
.cta-section h2 {
    color: white;
    font-size: 36px;
}

/* Page Header */
.page-header {
    padding: 80px 0;
}
.page-header h1 {
    color: white;
    font-size: 48px;
}

/* Grids */
.contact-grid, .projects-grid, .blog-grid {
    display: grid;
    gap: 30px;
}

.contact-grid { grid-template-columns: 1fr 2fr; }
.projects-grid { grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); }
.blog-grid { grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); }

.contact-info-box {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
}
.contact-info-box h3 { margin-bottom: 15px; }
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 16px;
}
.info-item i {
    font-size: 24px;
    color: var(--primary-color);
}

/* Cards */
.project-card, .blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.project-card:hover, .blog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.project-img img, .blog-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-content, .blog-card-content {
    padding: 20px;
}

.project-content h3, .blog-card-content h3 {
    margin-bottom: 10px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    margin-top: 15px;
}

/* Footer */
.footer {
    background-color: #0F172A;
    color: #CBD5E1;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #CBD5E1;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.contact-list li {
    display: flex;
    gap: 10px;
}
.contact-list i {
    color: var(--secondary-color);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid #1E293B;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-md);
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: var(--bg-light);
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .mobile-toggle {
        display: block;
    }

    .top-bar { display: none; }
    
    .hero-title { font-size: 36px; }
    
    .about-grid, .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
}
