/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary-color: #1a2a3a;
    /* Deep Navy Blue */
    --secondary-color: #c5a059;
    /* Muted Gold */
    --accent-color: #e74c3c;
    /* Subtle red for call to actions or errors */
    --text-color: #333333;
    --light-text: #f4f4f4;
    --bg-color: #ffffff;
    --section-bg: #f9f9f9;
    --dark-bg: #111111;

    --transition-speed: 0.3s;
    --font-main: 'Outfit', sans-serif;
    --font-header: 'Playfair Display', serif;
}

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

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

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

ul {
    list-style: none;
}

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

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 42, 58, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-header);
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

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

.nav-links a {
    color: var(--light-text);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

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

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

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--light-text);
    transition: var(--transition-speed);
}

/* Hero Slider */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay */
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--light-text);
    max-width: 800px;
    padding: 0 20px;
    transform: translateY(30px);
    transition: transform 0.8s ease, opacity 0.8s ease;
    opacity: 0;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-title {
    font-family: var(--font-header);
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.slide-desc {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--secondary-color);
    background: transparent;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    cursor: pointer;
}

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

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

.btn-filled:hover {
    background: transparent;
    color: var(--secondary-color);
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

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

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

/* Sections General */
section {
    padding: 100px 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-header);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 10px auto 0;
}

.section-subtitle {
    color: #777;
    font-size: 1.1rem;
}

/* About Section */
#hakkimizda {
    background: var(--bg-color);
}

.about-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.about-img {
    flex: 1 1 500px;
    position: relative;
}

.about-img img {
    border-radius: 5px;
    box-shadow: 20px 20px 0 var(--secondary-color);
}

.about-content {
    flex: 1 1 500px;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Projects Section */
#projeler {
    background: var(--section-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 42, 58, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
    padding: 20px;
    text-align: center;
}

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

.project-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-family: var(--font-header);
}

/* Services */
#hizmetler {
    background: var(--bg-color);
}

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

.service-card {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid #eee;
    text-align: center;
    transition: 0.3s;
    border-bottom: 3px solid transparent;
    border-radius: 5px;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Contact */
#iletisim {
    background: var(--primary-color);
    color: var(--light-text);
}

#iletisim .section-title {
    color: var(--light-text);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info,
.contact-form {
    flex: 1 1 400px;
}

.info-item {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 4px;
    font-family: var(--font-main);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Page Header (Inner Pages) */
.page-header {
    height: 40vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    margin-top: 80px;
    /* Space for fixed header */
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-family: var(--font-header);
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.breadcrumb {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb a {
    color: var(--secondary-color);
}

.breadcrumb span {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.5);
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: #888;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        background: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        width: 70%;
        transition: 0.4s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        right: 0;
    }

    .slide-title {
        font-size: 2.5rem;
    }
}