/* ===== DURU TEKSTİL - KURUMSAL WEB SİTESİ ===== */
/* Premium & Minimalist Design */

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

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --primary-dark: #0d0d0d;
    --accent-color: #1B8B4C;
    --accent-light: #22a55a;
    --accent-dark: #146b3a;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --text-color: #2d2d2d;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 35px 60px -15px rgba(0, 0, 0, 0.2);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
}

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

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 8px 0;
}

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

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

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

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    transition: 0.3s;
    border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: var(--white);
    padding: 180px 0 120px;
    text-align: center;
}

.hero.hero-image {
    background: url('../images/top-pamuk.jpg') center center / cover no-repeat;
    background-color: #e8e8e8;
    color: var(--primary-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0;
}

.hero.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.6) 100%);
}

.hero.hero-image .container {
    position: relative;
    z-index: 1;
}

.hero.hero-image h1 {
    color: var(--primary-color);
    font-size: 4rem;
    font-weight: 700;
}

.hero.hero-image h1 em {
    font-style: italic;
    font-weight: 400;
}

.hero.hero-image p {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.35rem;
    max-width: 500px;
    margin: 40px auto 0;
    opacity: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero h1 em {
    font-style: italic;
}

.hero p {
    font-size: 1.25rem;
    max-width: 680px;
    margin: 0 auto 40px;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-btn {
    display: inline-block;
    background-color: var(--white);
    color: var(--accent-color);
    padding: 16px 44px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.hero-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* ===== SECTIONS ===== */
section {
    padding: 100px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

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

/* ===== FEATURES / HIGHLIGHTS ===== */
.features {
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background-color: var(--white);
    padding: 44px 36px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(27, 139, 76, 0.1);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: block;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 16px;
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    font-weight: 700;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.8;
}

.about-image {
    background: linear-gradient(135deg, var(--light-color) 0%, #e8e8e8 100%);
    border-radius: var(--radius-lg);
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

/* ===== PRODUCTS ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    background: linear-gradient(135deg, #f0f4f0 0%, #e8ece8 100%);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.product-info {
    padding: 28px;
}

.product-info h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.product-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.product-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-sizes span {
    background-color: rgba(27, 139, 76, 0.1);
    color: var(--accent-color);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ===== SERVICES / CUSTOM PRODUCTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(27, 139, 76, 0.15);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 16px;
    font-size: 1.3rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== CERTIFICATES ===== */
.certificates {
    background-color: var(--light-color);
    text-align: center;
}

.cert-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cert-badge {
    background-color: var(--white);
    padding: 36px 56px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.cert-badge:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.cert-badge h4 {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 600;
}

/* ===== CONTACT ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contact-item .icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-form {
    background-color: var(--light-color);
    padding: 44px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 28px;
    font-weight: 600;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(27, 139, 76, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.submit-btn {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 16px 44px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.submit-btn:hover {
    background-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--white);
    color: var(--primary-color);
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--primary-color);
}

.cta-section p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.cta-section .cta-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 16px 44px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-section .cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    background-color: var(--primary-dark);
}

/* ===== PAGE HEADER (Inner Pages) ===== */
.page-header {
    background: var(--white);
    color: var(--primary-color);
    padding: 140px 0 50px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--primary-color);
}

.page-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ===== PAGE CONTENT ===== */
.page-content {
    padding: 70px 0;
}

.page-content p {
    color: var(--text-light);
    margin-bottom: 22px;
    line-height: 1.85;
}

.page-content h2 {
    color: var(--primary-color);
    margin: 48px 0 22px;
    font-size: 1.8rem;
    font-weight: 700;
}

.page-content h3 {
    color: var(--primary-color);
    margin: 36px 0 16px;
    font-size: 1.4rem;
    font-weight: 600;
}

.page-content ul {
    margin-left: 24px;
    margin-bottom: 22px;
}

.page-content ul li {
    color: var(--text-light);
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
}

.page-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--white);
    color: var(--text-color);
    padding: 70px 0 36px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h4 {
    font-size: 1.15rem;
    margin-bottom: 22px;
    color: var(--primary-color);
    font-weight: 600;
}

.footer-section p {
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.7;
}

.footer-section a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 36px;
    text-align: center;
    color: var(--text-light);
}

.footer-bottom a {
    color: var(--text-light);
    margin: 0 12px;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--accent-color);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 24px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    line-height: 1.6;
}

.cookie-content a {
    color: var(--accent-light);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background-color: var(--accent-color);
    color: var(--white);
}

.cookie-btn.accept:hover {
    background-color: var(--accent-light);
}

.cookie-btn.reject {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn.reject:hover {
    border-color: var(--white);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        height: 320px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 36px 0;
        gap: 24px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 150px 0 90px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    section {
        padding: 70px 0;
    }

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

    .page-header h1 {
        font-size: 2.2rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    section {
        padding: 50px 0;
    }

    .feature-card,
    .service-card {
        padding: 32px 24px;
    }

    .contact-form {
        padding: 28px;
    }

    .logo img {
        height: 40px;
    }
}

/* ===== RTL SUPPORT (Arabic) ===== */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-links a::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .contact-item {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .footer-content {
    direction: rtl;
}

[dir="rtl"] .about-content {
    direction: rtl;
}

[dir="rtl"] .page-content ul li {
    padding-left: 0;
    padding-right: 24px;
}

[dir="rtl"] .page-content ul li::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .lang-switch {
    margin-left: 0 !important;
    margin-right: 20px;
}
