/* AGİ JEOLOJİ - Premium Web Tasarım 
    Renk Paleti:
    #1F1F1F (Ana Arka Plan)
    #262626 (Section)
    #F2F2F2 (Açık Bant)
    #C62828 (Vurgu Kırmızı)
    #4DA3FF (Teknik Mavi)
    #F5F5F5 (Ana Yazı)
    #BDBDBD (İkincil Yazı)
*/

/* --- 1. Temel Sıfırlama ve Değişkenler --- */
:root {
    --ana-bg: #1F1F1F;
    --section-bg: #262626;
    --vurgu-kirmizi: #C62828;
    --teknik-mavi: #4DA3FF;
    --yazi-ana: #F5F5F5;
    --yazi-ikincil: #BDBDBD;
    --transition: 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #1F1F1F;
    color: #F5F5F5;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

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

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

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

.text-center {
    text-align: center;
}

.bg-dark-variant {
    background-color: #262626;
}

.bg-red {
    background-color: #C62828;
}

/* --- 2. ASİL PRELOADER (YÜKLEME EKRANI - EKSİKSİZ) --- */
#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: #121212;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s;
}

.loader-content {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-content img {
    width: 65px;
    z-index: 2;
    animation: pulseLogo 2s infinite ease-in-out;
}

.loader-circle {
    width: 110px;
    height: 110px;
    border: 3px solid rgba(255, 255, 255, 0.03);
    border-top: 3px solid #C62828;
    border-radius: 50%;
    position: absolute;
    animation: spinCircle 1s linear infinite;
}

@keyframes spinCircle { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes pulseLogo { 0%, 100% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.05); opacity: 1; } }
.loader-hidden { opacity: 0; visibility: hidden; }

/* --- 3. Butonlar --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-red {
    background-color: #C62828;
    color: #fff;
    border: none;
}

.btn-red:hover {
    background-color: #A52121;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(198, 40, 40, 0.3);
}

.btn-outline {
    border: 2px solid #F5F5F5;
    color: #F5F5F5;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: #F5F5F5;
    color: #1F1F1F;
}

/* --- 4. Header & Navigasyon --- */
header {
    background-color: rgba(31, 31, 31, 0.95);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

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

.logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: #BDBDBD;
    font-weight: 500;
    font-size: 15px;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #C62828;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #F5F5F5;
    transition: 0.3s;
}

/* --- 5. Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(31, 31, 31, 0.9) 0%, rgba(31, 31, 31, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero p {
    font-size: 18px;
    color: #BDBDBD;
    margin-bottom: 35px;
}

/* Alt Sayfa Hero Alanı */
.hero-sub {
    height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover !important;
    background-position: center !important;
    padding-top: 80px;
}

/* --- 6. About & Principles --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sub-title {
    color: #C62828;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 25px;
}

.highlight-text {
    font-size: 18px;
    color: #4DA3FF;
    font-weight: 500;
    margin-bottom: 25px;
}

.principles-list li {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    color: #BDBDBD;
}

.principles-list i {
    color: #C62828;
    margin-top: 5px;
}

.image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.shadow-lift {
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.shadow-lift:hover {
    transform: translateY(-10px);
}

.experience-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #C62828;
    padding: 30px;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.experience-badge .number {
    font-size: 32px;
    font-weight: 800;
}

/* --- 7. Mission --- */
.mission-card {
    background: #1F1F1F;
    padding: 60px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
}

.mission-icon {
    font-size: 50px;
    color: #C62828;
    margin-bottom: 20px;
}

.mission-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.mission-card p {
    max-width: 800px;
    margin: 0 auto;
    color: #BDBDBD;
}

/* --- 8. Services --- */
.section-header {
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    background: #262626;
    padding: 40px;
    border-radius: 12px;
    transition: 0.3s ease;
    border-bottom: 4px solid transparent;
}

.service-item:hover {
    background: #333333;
    border-bottom: 4px solid #4DA3FF;
    transform: translateY(-5px);
}

.service-item i {
    font-size: 40px;
    color: #4DA3FF;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 16px;
    line-height: 1.4;
}

.services-footer {
    margin-top: 50px;
    font-weight: 600;
    color: #F5F5F5;
}

/* --- 9. Stats --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    font-family: 'Montserrat';
}

.stat-text {
    font-size: 16px;
    opacity: 0.9;
}

/* --- 10. Projeler Grid & Modal (Özel Kısım) --- */
.proje-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.proje-card {
    background: #262626;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s ease;
}

.proje-img-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.proje-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.proje-card:hover .proje-img-container img {
    transform: scale(1.1);
}

.proje-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #C62828;
    padding: 5px 15px;
    font-size: 12px;
    border-radius: 4px;
    z-index: 5;
}

.proje-info {
    padding: 25px;
}

.proje-meta {
    font-size: 13px;
    color: #BDBDBD;
    margin-bottom: 10px;
    display: flex;
    gap: 15px;
}

.proje-info h3 {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 50px;
}

.btn-more {
    background: none;
    border: none;
    color: #4DA3FF;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    overflow-y: auto;
    padding: 50px 0;
}

.modal-content {
    background: #262626;
    margin: auto;
    padding: 40px;
    border-radius: 12px;
    max-width: 1000px;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.thumb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.thumb-grid img {
    border-radius: 8px;
    height: 120px;
    width: 100%;
    object-fit: cover;
}

.main-img {
    border-radius: 8px;
    width: 100%;
}

/* --- 11. Footer --- */
footer {
    background: #141414;
    padding: 80px 0 30px;
}

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

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 25px;
    color: #F5F5F5;
}

.brand-col h4 {
    color: #C62828;
    margin-bottom: 10px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.social-links {
    margin-top: 25px;
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #BDBDBD;
    font-size: 18px;
}

.social-links a:hover {
    color: #C62828;
}

.footer-col p {
    color: #BDBDBD;
    margin-bottom: 10px;
}

.footer-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 14px;
}

/* --- 12. Responsive (Mobil Uyumluluk) --- */
@media (max-width: 992px) {
    .grid-2, .services-grid, .footer-grid, .modal-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 { font-size: 40px; }
    
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #1F1F1F;
        padding: 40px;
        text-align: center;
        border-bottom: 2px solid #C62828;
    }

    .nav-menu.active {
        display: flex;
    }
}

@media (max-width: 768px) {
    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }
    .btn-outline {
        margin-left: 0;
    }
    .section-padding {
        padding: 60px 0;
    }
    .hero-sub {
        height: 40vh;
    }
}

/* --- SON SATIR (Eksiksiz Rötuş Tamamlandı) --- */