/* ========================================
   ER MEDYA - Ana Stil Dosyası
   ======================================== */

/* CSS Değişkenleri */
:root {
    /* Ana Renkler */
    --primary-color: #988858;
    /* Kanak Kahve - Ana Renk */
    --primary-dark: #7a6d46;
    /* Koyu Kanak Kahve */
    --primary-light: #b5a574;
    /* Açık Kanak Kahve */

    /* Nötr Renkler */
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    /* Tipografi */
    --font-family: 'Plus Jakarta Sans', sans-serif;
    --font-size-base: 16px;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    /* Geçişler */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Gölgeler */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

/* Reset & Temel Stiller */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}


body {
    font-family: var(--font-family) !important;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Layout Constraint: 1920px max width centered */
    max-width: 1920px;
    margin: 0 auto;
    overflow-x: hidden;
    position: relative;
}

/* Tipografi */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: var(--gray-900);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
}

/* Butonlar */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

.btn-outline-primary {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
}

/* Özel Utility Classları */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Container Genişliği */
.container {
    max-width: 100%;
    /* Reset to utilize fluid padding */
    padding-left: 0;
    padding-right: 0;
}

/* Genel Padding - Header ile aynı hizalama (Sol %10, Sağ %8) */


/* Görsel Stiller */
img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Header Stilleri
   ======================================== */
.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    background-color: #fff;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-wrapper.sticky {
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    animation: stickySlideDown 0.3s ease-in-out forwards;
}

@keyframes stickySlideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.header-left-panel {
    /* SVG Background to match exact shape requested */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 950 136' preserveAspectRatio='none'%3E%3Cpath fill='%23988858' d='M0,0h950v96c0,22.1-17.9,40-40,40H0V0Z'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    /* Remove solid color */

    padding: 1rem 3rem 1rem 6.4%;
    /* Adjusted right padding for balance */
    border-bottom-right-radius: 0;
    /* Handled by SVG */
    display: flex;
    align-items: center;
    gap: 2rem;

    /* Strict 50% Width */
    flex: 0 0 50%;
    max-width: 50%;
    width: 50%;
    height: 136px;
    /* Exact height from SVG */
}

.logo-container .brand-logo {
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 2rem;
    color: var(--white);
    background: transparent;
    border-radius: 50px;
    padding: 0.2rem 1.5rem;
    text-transform: lowercase;
    text-decoration: none;
    display: inline-block;
    line-height: 1.2;
    transition: all 0.3s ease;
}


.header-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.info-pill {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

.info-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
}

.header-right-panel {
    /* Strict 50% Width */
    flex: 0 0 50%;
    max-width: 50%;
    width: 50%;

    display: flex;
    justify-content: flex-end;
    padding-right: 8%;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
}

.nav-link {
    color: var(--gray-800);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* ========================================
   Hero Slider Stilleri
   ======================================== */
.hero-slider {
    position: relative;
    width: 100%;
    margin-top: 0;
}

.swiper-slide {
    position: relative;
    width: 100%;
}

.slide-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0 0 50px 50px;
    /* Istege bagli alt kavis */
}

/* Koyu Overlay - Yazilarin okunmasi icin */
.slide-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    border-radius: 0 0 50px 50px;
    pointer-events: none;
}

.slide-content {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Vertically centered */
    align-items: flex-start;
    /* Horizontally left aligned */

    padding-left: 8%;
    /* Match header alignment exactly */
    padding-right: 5%;

    z-index: 10;
    color: var(--white);

    /* Override/Reset any container or transform effects */
    transform: none;
    max-width: 100%;
    margin: 0;
}

.slide-title {
    font-family: 'Ulm Grotesk', sans-serif;
    font-size: 40px;
    max-width: 100%;
    font-weight: 800;
    line-height: 1.1;

    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-desc {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--white);
    max-width: 500px;
}

.slide-buttons {
    display: flex;
    gap: 1rem;
}

/* Ozel Butonlar */
.btn-custom-gold {
    background-color: #988858;
    color: var(--white);
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid #988858;
    transition: all 0.3s ease;
}

.btn-custom-gold:hover {
    background-color: #7a6d46;
    border-color: #7a6d46;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-custom-outline {
    background-color: transparent;
    color: var(--white);
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
}

.btn-custom-outline:hover {
    background-color: var(--white);
    color: #988858;
    transform: translateY(-2px);
}

/* Slider Responsive */
@media (max-width: 991px) {
    .slide-title {
        font-size: 2.5rem;
    }

    .slide-image img,
    .slide-image .overlay {
        border-radius: 0 0 30px 30px;
    }
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 2rem;
    }

    .slide-content {
        padding-left: 5%;
        padding-right: 5%;
        top: 60%;
        /* Mobilde biraz daha asagi */
    }

    .slide-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-custom-gold,
    .btn-custom-outline {
        width: 100%;
        text-align: center;
    }
}


/* ========================================
   Project Slider Stilleri (2. Slider)
   ======================================== */
.project-slider {
    position: relative;
    width: 100%;
}

.project-slide-image {
    position: relative;
    width: 100%;
    height: auto;
    /* Allow image to define height */
    overflow: hidden;
    border-radius: 50px;
    /* Istege bagli genel kavis */
}

.project-slide-image img {
    width: 100%;
    height: auto;
    display: block;
    /* Remove bottom space */
}

.project-slide-image .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 40%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.project-slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    /* Align to top */
    padding-top: 80px;
    /* Space from top */
    padding-bottom: 5rem;
    padding-left: 8%;
    /* Align with header */
    z-index: 10;
}

.project-title {
    font-family: 'Ulm Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #29281A;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.project-desc {
    font-size: 1.1rem;
    color: var(--gray-700);
    margin-bottom: 3rem;
    max-width: 90%;
}

.project-features {
    display: flex;
    gap: 2rem;
}

.feature-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-icon {
    font-size: 2.5rem;
    /* Material icons look better slightly larger */
    color: #988858;
    /* Referanstaki ikon rengi, altin sarisi */
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    font-family: 'Ulm Grotesk', sans-serif;
    color: #29281A;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.feature-text {
    font-size: 16px;
    color: #29281A;
    line-height: 1.5;
    width: 270px;
}

@media (max-width: 991px) {
    .project-slide-image {
        height: auto;
        min-height: 500px;
    }

    .project-slide-image .project-overlay {
        background: rgba(255, 255, 255, 0.9);
        /* Mobilde tam dolu olabilir */
    }

    .project-slide-content {
        position: relative;
        padding: 3rem 5%;
        height: auto;
    }

    .project-features {
        flex-direction: column;
    }
}


/* ========================================
   Footer Stilleri
   ======================================== */


/* ========================================
   Responsive Düzenlemeler
   ======================================== */
@media (max-width: 991.98px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    section {
        padding: 40px 0;
    }
}