/* CSS Reset and Variables */
:root {
    /* Primary: Koyu Zeytin Yeşili */
    --primary: #4A5D23;
    --primary-light: #708259;

    /* Secondary: Bakır / Altın Rengi */
    --secondary: #bd9b5e;
    --secondary-hover: #a6844b;

    /* Koyu Taban: Çok koyu zeytin yeşili */
    --dark: #1b2419;
    --darker: #121911;

    /* Açık Zemin: Açık Kum Rengi */
    --light: #F4EFE6;
    --white: #ffffff;

    --text-main: #2A3029;
    /* Soft koyu ana metin */
    --text-muted: #64748B;
    /* Yumuşak dokulu ara metin */

    --font-family: 'Outfit', sans-serif;

    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Language Switcher Logic */
body.lang-tr .text-en {
    display: none !important;
}

body.lang-en .text-tr {
    display: none !important;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.text-light {
    color: var(--light) !important;
}

.color-primary {
    color: var(--primary);
}

.color-secondary {
    color: var(--secondary);
}

.max-w-800 {
    max-width: 800px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.p-4 {
    padding: 2rem;
}

.rounded {
    border-radius: 8px;
}

.shadow-lg {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--light);
}

.bg-dark {
    background-color: var(--dark);
}

.bg-darker {
    background-color: var(--darker);
}

.bg-pale-olive {
    background-color: #EEF2E9;
    /* Uçuk zeytin yeşili */
}

.pattern-bg {
    background-image: radial-gradient(var(--primary-light) 1px, transparent 1px);
    background-size: 30px 30px;
    background-color: var(--dark);
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.align-center {
    align-items: center;
}

.gap-50 {
    gap: 50px;
}

/* Buttons */
.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(244, 239, 230, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: padding var(--transition-fast);
    padding: 15px 0;
}

.navbar.scrolled {
    padding: 10px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--primary);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: var(--primary);
}

.lang-toggle button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: inherit;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.lang-toggle button.active {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.8;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(27, 36, 25, 0.45) 0%, rgba(18, 25, 17, 0.75) 100%);
    z-index: -1;
}

.hero-content {
    margin-top: 140px;
    /* Offset for navbar */
    max-width: 900px;
}

.main-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
}

.defenni-text {
    font-family: 'Times New Roman', serif;
    font-style: italic;
    color: var(--secondary);
    font-weight: 400;
}

.subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.subtitle-2 {
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--secondary);
    margin-bottom: 50px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    text-align: left;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.feature-item .icon-box {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.feature-item h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
}

/* About Section */
.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

.about-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background-color: var(--secondary);
}

.about-image {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-collage {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-collage img {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition-slow), z-index var(--transition-fast);
    border: 6px solid var(--white);
    object-fit: cover;
}

.about-collage img:hover {
    transform: translateY(-10px) scale(1.03);
    z-index: 10 !important;
}

.collage-img-1 {
    width: 55%;
    height: 280px;
    top: 0;
    left: 0;
    z-index: 3;
}

.collage-img-2 {
    width: 50%;
    height: 240px;
    top: 40px;
    right: 0;
    z-index: 2;
}

.collage-img-3 {
    width: 50%;
    height: 250px;
    bottom: 20px;
    left: 5%;
    z-index: 4;
}

.collage-img-4 {
    width: 45%;
    height: 220px;
    bottom: 0px;
    right: 15%;
    z-index: 5;
}

.card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.premium-card {
    border-top: 4px solid var(--secondary);
    transition: transform var(--transition-fast);
}

.premium-card:hover {
    transform: translateY(-5px);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    background: var(--white);
    padding: 20px;
    border-radius: 6px;
    border-left: 3px solid var(--secondary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.value-item h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.value-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* Commitments Section Background */
.commitments-bg {
    position: relative;
    background-image: url('../SUR2.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    z-index: 1;
}

.commitments-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 36, 25, 0.85);
    /* Dark olive overlay */
    z-index: -1;
}

/* Commitments Card */
.dark-card {
    background-color: var(--darker);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--light);
}

.dark-card h4 {
    color: var(--white);
}

.dark-card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.opacity-80 {
    opacity: 0.8;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.cert-item {
    background-color: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    width: 100%;
    max-width: 160px;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.1);
}

.cert-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.cert-item-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.cert-slogan {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    text-align: center;
    margin: 0;
    opacity: 0.9;
}

/* Collections */
.collection-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.collection-card:hover img {
    transform: scale(1.05);
}

.collection-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(27, 36, 25, 0.95), rgba(27, 36, 25, 0.5), transparent);
    color: var(--white);
    transform: translateY(20px);
    transition: transform var(--transition-fast);
}

.collection-card:hover .collection-info {
    transform: translateY(0);
}

.collection-info h4 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Production Hub */
.hub-list {
    display: flex;
    flex-direction: column;
}

.hub-item {
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.hub-item:nth-child(2) {
    border-left-color: var(--secondary);
}

.features-list {
    list-style: none;
    margin-top: 15px;
}

.features-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.features-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
}

.border-accent {
    border: 4px solid var(--secondary);
}

/* Contact Section */
.border-top-accent {
    border-top: 5px solid var(--secondary);
}

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    display: flex;
    gap: 15px;
}

.input-group input {
    width: 100%;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--white);
    color: var(--text-main);
    transition: border-color var(--transition-fast);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Responsive adjustments */
@media (max-width: 992px) {

    .grid-2-col,
    .grid-3-col {
        grid-template-columns: 1fr;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .about-image::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: left var(--transition-fast);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .input-group {
        flex-direction: column;
    }

    .section {
        padding: 60px 0;
    }
}