/* Emba Madencilik - Premium Stil Dosyası */

/* --- Değişkenler (Renkler, Fontlar) --- */
:root {
    --primary-color: #fca311;
    /* Altın */
    --primary-hover: #e08e00;
    --secondary-color: #14213d;
    /* Koyu Lacivert */
    --secondary-light: #1f3052;
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --text-gray: #666666;
    --bg-light: #fafafa;
    --bg-white: #ffffff;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);

    --transition-speed: 0.3s;
}

/* --- Temel Ayarlar (Reset) --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed);
}

ul {
    list-style: none;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary-color);
}

/* --- Butonlar --- */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    /* Rounded pill shape */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(252, 163, 17, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-dark {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-dark:hover {
    background-color: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(20, 33, 61, 0.3);
}

/* --- Header ve Navigasyon --- */
/* --- Header ve Navigasyon --- */
header {
    background-color: #fff;
    /* Başlangıçta beyaz zemin */
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* Beyaz zeminde hafif gölge */
}

header.scrolled {
    background-color: rgba(20, 33, 61, 0.95);
    /* Scroll edilince lacivert */
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary-color);
    /* Başlangıçta lacivert logo */
    letter-spacing: 1.5px;
    font-family: var(--font-heading);
    transition: color 0.3s;
}

header.scrolled .logo {
    color: #fff;
    /* Scroll edilince beyaz logo */
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links li a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary-color);
    /* Başlangıçta lacivert yazı */
    position: relative;
    opacity: 0.9;
    transition: color 0.3s;
}

header.scrolled .nav-links li a {
    color: #fff;
    /* Scroll edilince beyaz yazı */
}

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

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

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

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 28px;
    height: 3px;
    background-color: var(--secondary-color);
    /* Başlangıçta lacivert burger */
    margin: 6px;
    transition: all 0.3s ease;
}

header.scrolled .burger div {
    background-color: #fff;
    /* Scroll edilince beyaz burger */
}

/* --- Advanced Hero Slider --- */
#hero-slider {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.slider-container {
    height: 100%;
    width: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Ken Burns Effect */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 8s ease-out;
    /* Zoom effect */
}

.slide.active .slide-bg {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient güncellendi: Tüm slider'ı kaplayacak şekilde koyulaştırıldı */
    background: linear-gradient(to bottom, rgba(20, 33, 61, 0.7) 0%, rgba(20, 33, 61, 0.6) 50%, rgba(20, 33, 61, 0.95) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    /* Sola hizalı daha modern */
    color: #fff;
    max-width: 900px;
}

.slide-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    opacity: 0;
    transform: translateY(30px);
}

.slide-content .highlight {
    color: var(--primary-color);
}

.slide-content .animate-btn {
    opacity: 0;
    transform: translateY(30px);
}

/* Text Animations in Active Slide */
.slide.active h1 {
    animation: textAppear 1s ease forwards 0.5s;
}

.slide.active p {
    animation: textAppear 1s ease forwards 0.8s;
}

.slide.active .animate-btn {
    animation: textAppear 1s ease forwards 1.1s;
}

@keyframes textAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slider Controls */
.slider-nav {
    position: absolute;
    bottom: 90px;
    /* Yukari tasindi: 50px -> 90px */
    right: 50px;
    /* Sağ alt köşe */
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 20px;
}

.prev-btn,
.next-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.prev-btn:hover,
.next-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* --- Genel Bölümler --- */
section {
    padding: 100px 0;
    position: relative;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-title p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Hizmetler --- */
.services-section {
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--bg-white);
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--secondary-color);
    transition: height 0.4s ease;
    z-index: -1;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover h3,
.service-card:hover p {
    color: #fff;
}

.icon-box {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    transition: all 0.4s;
}

.service-card:hover .icon-box {
    color: #fff;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: color 0.4s;
}

.service-card p {
    color: var(--text-gray);
    transition: color 0.4s;
}

/* --- Hakkımızda --- */
.about-section {
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img {
    position: relative;
}

.about-img img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    /* mask-image: linear-gradient(to bottom, black 80%, transparent 100%); Optional fade */
}

/* Dekoratif öğe */
.about-img::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 200px;
    height: 200px;
    background-color: var(--primary-color);
    z-index: -1;
    border-radius: 20px;
    opacity: 0.2;
}

.about-text h3 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    line-height: 1.3;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.features-list {
    margin: 30px 0;
}

.features-list li {
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
}

.features-list i {
    color: var(--primary-color);
}

/* --- Footer --- */
footer {
    background-color: var(--secondary-color);
    color: #b0bfd6;
    padding-top: 100px;
    border-top: 5px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    display: block;
    margin-bottom: 25px;
}

.footer-text {
    max-width: 350px;
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    margin-bottom: 30px;
    font-size: 1.3rem;
    font-family: var(--font-heading);
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    transition: all 0.3s;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #6c7c96;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .slide-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }

    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        width: 100%;
        background-color: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 999;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .burger {
        display: block;
        z-index: 1000;
    }

    .slider-nav {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        bottom: 70px;
        /* Yukari tasindi: 30px -> 70px */
    }

    .slide-content h1 {
        font-size: 2.2rem;
    }

    .slide-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .about-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .about-img::after {
        display: none;
    }
}

/* --- Dropdown Menü Stilleri --- */
.nav-links li {
    position: relative;
    padding: 10px 0;
    /* Hover alanını genişletmek için */
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

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

.dropdown li {
    padding: 0;
    display: block;
    width: 100%;
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    color: var(--secondary-color) !important;
    /* Her zaman koyu renk */
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    background: transparent;
}

.dropdown li a::after {
    display: none;
    /* Alt çizgiyi kaldır */
}

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

/* Scroll durumunda dropdown aynı kalmalı */
header.scrolled .dropdown {
    background-color: #fff;
    /* Scroll'da da beyaz olsun */
}

header.scrolled .dropdown li a {
    color: var(--secondary-color) !important;
}

/* Mobil için Dropdown */
@media (max-width: 768px) {
    .dropdown {
        position: static;
        box-shadow: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        /* Varsayılan gizli */
        background-color: rgba(255, 255, 255, 0.05);
        padding-left: 20px;
    }

    .nav-links li:hover .dropdown {
        display: block;
    }

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

    .dropdown li a {
        color: #fff !important;
    }
}