/* RİATA İnşaat - Ana Stil Dosyası */

:root {
    /* YENİ RENK PALETİ: Kırmızı & Siyah Tonları */
    --primary-dark: #1a1a1a; /* Koyu Kömür Siyahı - Ana Zeminler */
    --secondary-dark: #2c2c2c; /* Biraz daha açık siyah - Kartlar/Footer için */
    --accent-red: #d32f2f; /* Kurumsal Kırmızı - Vurgular ve Butonlar */
    --accent-red-hover: #ff4f4f; /* Hover durumunda biraz daha parlak kırmızı */
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--primary-dark);
    background-color: #f8f9fa; /* İçerik kısımları için açık gri zemin */
}

h1, h2, h3, h4, h5, .navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Özel Başlık Altı Çizgisi */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-red);
}

/* Navbar Tasarımı - Koyu ve Güçlü */
.navbar {
    background-color: var(--primary-dark);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar-brand {
    font-size: 1.6rem;
    color: white !important;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.brand-accent {
    color: var(--accent-red);
}

.nav-link {
    color: rgba(255,255,255,0.8) !important;
    margin-left: 15px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: all 0.3s;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-red) !important;
}

/* Hero Bölümü (Ana Görsel) - Dramatik ve Karanlık */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

/* Kırmızı Buton Tasarımı */
.btn-red {
    background-color: var(--accent-red);
    color: white;
    padding: 14px 40px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    border: 2px solid var(--accent-red);
    transition: all 0.3s ease;
}

.btn-red:hover {
    background-color: transparent;
    color: var(--accent-red);
    border-color: var(--accent-red);
}

/* Hizmetler - Kırmızı İkonlar */
.service-box {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.service-box:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--accent-red);
}

.service-icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: rgba(211, 47, 47, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon {
    font-size: 2rem;
    color: var(--accent-red);
}

/* Projeler (Vitrin) - Siyah Etiketler */
.project-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 8px;
}

.project-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s;
    filter: grayscale(20%);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--primary-dark), transparent);
    padding: 30px;
    color: white;
    transform: translateY(20px);
    opacity: 0.9;
    transition: all 0.4s;
}

.project-item:hover .project-img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.project-item:hover .project-overlay {
    transform: translateY(0);
}

.project-category {
    color: var(--accent-red);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer - Koyu Zemin */
footer {
    background-color: var(--primary-dark);
    color: var(--text-gray);
    padding: 70px 0 30px;
}

.footer-title {
    color: white;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-red);
}

.footer-contact-icon {
    color: var(--accent-red);
    margin-right: 10px;
}

/* İletişim Linklerinin Hover Efekti */
footer a {
    color: inherit;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--accent-red) !important;
    text-decoration: underline !important;
    transform: translateX(5px);
}

/* Teklif Al Modal Tasarımı */
.modal-header {
    background: linear-gradient(135deg, var(--accent-red), #ff6b6b);
    border: none;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: white;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 15px;
    margin-bottom: 8px;
}

.form-control, .form-select {
    border: 1px solid #ddd;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.25);
}

.form-control::placeholder {
    color: #999;
    font-style: italic;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit-red {
    background-color: var(--accent-red);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: none;
    width: 100%;
    margin-top: 20px;
    transition: all 0.3s;
}

.btn-submit-red:hover {
    background-color: #ff4f4f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
}

.form-info {
    background-color: #f0f4f8;
    border-left: 4px solid var(--accent-red);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.form-info i {
    color: var(--accent-red);
    margin-right: 8px;
}

/* Mobil Düzenlemeler */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        height: auto;
        padding: 100px 0;
    }
}
