/* ==========================================================================
   ALGODON LTC - Design System & Base Variables
   ========================================================================== */

   :root {
    /* Color Palette */
    --color-white: #ffffff;
    --color-cotton-white: #FDFBF7; /* Off-white for sections */
    --color-navy: #0A192F; /* Deep corporate navy */
    --color-navy-light: #112A4F;
    --color-green: #2C4C3B; /* Earthy green */
    --color-green-light: #3A634D;
    --color-gold: #C2A878; /* Premium accent */
    --color-gold-light: #D4B988;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-border: #E5E5E5;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;   /* 8px */
    --space-sm: 1rem;     /* 16px */
    --space-md: 2rem;     /* 32px */
    --space-lg: 4rem;     /* 64px */
    --space-xl: 8rem;     /* 128px */

    /* Shadows & Radii */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(10, 25, 47, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-navy);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

p {
    margin-bottom: var(--space-sm);
    color: var(--color-text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-xl) 0;
    position: relative;
}

.bg-light {
    background-color: var(--color-cotton-white);
}

.text-center { text-align: center; }
.mb-5 { margin-bottom: 3rem; }
.mt-3 { margin-top: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
    font-size: 0.95rem;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-navy);
}

.btn-white:hover {
    background-color: var(--color-green);
    color: var(--color-white);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
/* Üst menüdeki logonun sıkışmasını engeller */
.header .logo-img {
    width: 160px; /* Logonun genişliğini buradan ayarlayabilirsin */
    height: auto;
    min-width: 160px; /* Flexbox'ın bu logoyu 0 piksele küçültmesini KESİN olarak engeller */
}

.top-bar {
    background-color: var(--color-navy);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    padding: 0.4rem 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* YENİ EKLENEN KISIM: İçindeki elemanları (İletişim ve Dil Butonu) yan yana dizer */
.top-bar-links {
    display: flex;
    align-items: center;
}

/* GÜNCELLENEN KISIM */
.top-bar-links a {
    margin-left: var(--space-sm);
    color: rgba(255, 255, 255, 0.8);
    display: inline-flex; /* Hem yan yana kalmalarını hem de içindeki bayrağın hizalanmasını sağlar */
    align-items: center;  /* Bayrak ve metni dikeyde ortalar */
    gap: 6px;             /* Bayrak ile "EN" yazısı arasına hafif boşluk bırakır */
    text-decoration: none;
}

.top-bar-links a:hover {
    color: var(--color-gold);
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    padding: 1rem 0;
}

.header.scrolled {
    padding: 0.5rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Görseli Ayarları */
.logo-img {
    max-height: 40px; /* Logonun yüksekliğini buradan ayarlayabilirsiniz */
    width: auto;      /* Genişliği yüksekliğe göre otomatik orantılanır */
    display: block;
}


.desktop-nav .nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-navy);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: calc(100vh - 120px);
    min-height: 600px;
    display: flex;
    align-items: center;
    background-color: var(--color-navy);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient placeholder until we have an image */
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-green) 100%);
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.4); /* Dark overlay */
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    max-width: 800px;
}

.hero-subtitle {
    display: inline-block;
    color: var(--color-gold);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.hero-title {
    color: var(--color-white);
    font-size: clamp(3rem, 5vw, 5rem);
    margin-bottom: 1.5rem;
}

.hero-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* ==========================================================================
   Section Shared Styles
   ========================================================================== */
.section-tag {
    display: inline-block;
    color: var(--color-gold);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: 1.1rem;
    max-width: 600px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background-color: var(--color-cotton-white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    border: 1px solid var(--color-border);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--color-navy);
    color: var(--color-white);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    border: 8px solid var(--color-white);
}

.exp-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-gold);
    line-height: 1;
}

.exp-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    text-align: center;
    font-weight: 600;
    margin-top: 5px;
}

.feature-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    background-color: var(--color-green);
    color: var(--color-white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.feature-content h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.feature-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-border);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-desc {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ==========================================================================
   Sustainability Section
   ========================================================================== */
.sustainability {
    background-color: var(--color-green);
    color: var(--color-white);
}

.text-white { color: var(--color-white) !important; }
.text-white-70 { color: rgba(255, 255, 255, 0.7) !important; }

.sustainability-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sustainability-visual {
    display: flex;
    justify-content: center;
}

.eco-circle {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.eco-circle-inner {
    width: 200px;
    height: 200px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
    /* Reverse rotation to keep text upright */
    animation: rotateSlowReverse 20s linear infinite;
}

@keyframes rotateSlowReverse {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.eco-stat {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-green);
    line-height: 1;
}

.eco-label {
    font-weight: 600;
    margin-top: 0.5rem;
}

/* ==========================================================================
   CTA & Footer
   ========================================================================== */
.cta-box {
    background-color: var(--color-cotton-white);
    border-radius: var(--radius-lg);
    padding: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(50px); /* Pull down over the footer */
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.cta-text h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-text p {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.footer {
    background-color: var(--color-navy);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 100px; /* Space for CTA overlap */
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about {
    margin-top: 1rem;
    max-width: 300px;
}

.footer-heading {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-contact ul li {
    margin-bottom: 0.8rem;
    display: flex;
    gap: 0.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem var(--space-md);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a:hover {
    color: var(--color-white);
}

/* ==========================================================================
   Animations & Reveals
   ========================================================================== */
.fade-in { opacity: 0; animation: fadeIn 1s forwards; }
.slide-up { opacity: 0; transform: translateY(30px); animation: slideUp 0.8s forwards; }
.reveal-up { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s ease; }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.8s ease; }

.is-visible {
    opacity: 1;
    transform: translate(0);
}

.delayed-1 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delayed-2 { animation-delay: 0.4s; transition-delay: 0.4s; }
.delayed-3 { animation-delay: 0.6s; transition-delay: 0.6s; }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .about-inner, .sustainability-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-wrapper {
        margin-bottom: 2rem;
    }
    
    .cta-box {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 3rem 2rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .desktop-nav, .nav-btn, .top-bar {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
