/* --- ULTRA-MODERN INFORMATIONAL THEME --- */
:root {
    /* Colors */
    --primary: #DA291C;        /* Demirağ Red */
    --primary-dark: #B9152C;   
    --primary-light: #FCE4E4;  
    
    --bg-color: #ffffff;
    --bg-gray: #F5F5F5;
    
    --text-main: #1A1A1A;
    --text-muted: #595959;
    
    --border-color: #E0E0E0;
    
    /* Rounded but controlled */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Soft, premium shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    
    /* Typography */
    --font-main: 'Manrope', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.bg-gray { background-color: var(--bg-gray); }
.w-full { width: 100%; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 2rem; }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800; 
    line-height: 1.2;
    color: var(--text-main);
    letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.5rem, 4vw, 3.5rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 3vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.125rem; margin-bottom: 0.25rem; }

p { color: var(--text-muted); font-size: 1.125rem; margin-bottom: 1.5rem; font-weight: 500;}
p.lead { font-size: 1.25rem; color: var(--text-main); font-weight: 600; margin-bottom: 1rem;}
.subtitle { max-width: 700px; margin: 0 auto 2rem; }

.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: transparent;
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
}
.btn-primary-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
    transition: var(--transition);
}
.navbar.scrolled {
    height: 75px;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-main);
    letter-spacing: -0.02em;
}
.logo i { font-size: 2rem; }
.logo strong { font-weight: 800; }

.nav-links {
    display: flex;
    gap: 2.5rem;
}
.nav-links a {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.nav-links a:hover { color: var(--text-main); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--text-main);
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero-info {
    position: relative;
    padding: 180px 0 100px;
    background: url('assets/hero-bg.jpg') center/cover no-repeat;
    text-align: center;
    color: white;
}

.hero-info::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(2, 12, 27, 0.75); /* Dark overlay for readability */
    z-index: 1;
}

.hero-info-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-info-content h1 { color: white; }
.hero-info-content p { color: #e2e8f0; }

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 0.875rem;
    color: white;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.trust-badge i { color: #f59e0b; font-size: 1.25rem; }

.hero-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* --- ABOUT SECTION --- */
.about-section {
    padding: 100px 0;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-stats {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}
.stat-box h3 {
    font-size: 2.5rem;
    margin-bottom: 0;
}
.stat-box span {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.875rem;
}
.rounded-image {
    border-radius: var(--radius-lg);
}

/* --- PARTNERS SECTION --- */
.partners-section {
    padding: 100px 0;
    overflow: hidden;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 3rem 2rem;
    align-items: center;
    justify-items: center;
    padding: 2rem 0;
}

.partner-logo {
    height: auto;
    max-height: 60px;
    width: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* --- REFERENCES SECTION --- */
.references-section {
    padding: 100px 0;
    overflow: hidden;
}

.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    margin-bottom: 2.5rem;
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll var(--duration) linear infinite var(--direction, normal);
}
.marquee-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding-right: 4rem;
}
@keyframes scroll {
    to { transform: translateX(-50%); }
}
.marquee-track.reverse {
    animation-direction: reverse;
}
.ref-logo {
    height: 70px;
    max-width: 220px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}
.ref-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- BRANCHES SECTION --- */
.branches-section {
    padding: 100px 0;
}
.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.branch-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: left;
    position: relative;
    transition: var(--transition);
}
.branch-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.branch-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    display: block;
}
.branch-badge {
    position: absolute;
    top: -12px;
    left: 2rem;
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.branch-card h3 { margin-bottom: 1.5rem; }
.branch-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}
.branch-info i {
    font-size: 1.25rem;
}

/* --- FOOTER --- */
.footer-modern {
    background: white;
    padding: 80px 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.brand-col .footer-logo { margin-bottom: 1.5rem; }
.brand-col p { font-size: 0.95rem; }

.social-links { display: flex; gap: 1rem; }
.social-links a {
    text-decoration: none;
    line-height: 1;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--bg-gray);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-main);
    transition: var(--transition);
}
.social-links a i { font-size: 1.25rem; line-height: 1; display: flex; align-items: center; justify-content: center; margin: auto; }
.social-links a:hover { background: var(--primary); color: white; }

.footer-col h4 {
    font-size: 1.125rem; margin-bottom: 1.5rem;
}
.footer-col a, .footer-col .address {
    display: block; color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; font-weight: 500;
}
.footer-col a:hover { color: var(--primary); }

.contact-link {
    display: flex; align-items: center; gap: 0.5rem; font-weight: 700 !important; color: var(--text-main) !important;
}
.contact-link i { color: var(--primary); font-size: 1.25rem;}
.address { display: flex; align-items: flex-start; gap: 0.5rem; }
.address i { color: var(--primary); font-size: 1.25rem; margin-top: 2px;}

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding: 2rem 0; border-top: 1px solid var(--border-color);
}
.footer-bottom p { margin: 0; font-size: 0.875rem; }

/* --- MOBILE MENU --- */
.mobile-menu-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 2000;
    opacity: 0; pointer-events: none; transition: var(--transition);
}
.mobile-menu-overlay.active { opacity: 1; pointer-events: auto; }
.mobile-menu-content {
    position: absolute; top: 0; right: 0; bottom: 0; width: 80%; max-width: 400px;
    background: white; padding: 2rem; display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-overlay.active .mobile-menu-content { transform: translateX(0); }

.close-menu-btn {
    align-self: flex-end; background: none; border: none; font-size: 2rem;
    color: var(--text-main); cursor: pointer; margin-bottom: 2rem;
}
.menu-item {
    font-size: 1.5rem; font-weight: 700; color: var(--text-main);
    padding: 1rem 0; border-bottom: 1px solid var(--border-color);
}

/* --- ANIMATIONS --- */
.fade-in {
    opacity: 0; transform: translateY(20px); transition: all 0.8s ease-out;
}
.fade-in.appear { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .about-stats { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn-primary-outline { display: none; }
    .mobile-menu-btn { display: block; }
    h1 { font-size: 2.25rem; }
    .hero-info { padding-top: 140px; padding-bottom: 60px;}
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* --- PRODUCTS SECTION --- */
.products-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}
.products-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(211,47,47,0.03) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}
.product-category-card {
    background: var(--bg-gray);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-category-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
    transform: translateY(-5px);
}
.category-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px dashed rgba(0,0,0,0.08);
}
.category-header i {
    font-size: 3rem;
    color: var(--primary);
    background: #ffffff;
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(218, 41, 28, 0.1);
}
.category-header h3 {
    margin: 0;
    font-size: 2rem;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}
.product-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.product-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.product-list li:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(218, 41, 28, 0.2);
}
.product-list li i {
    font-size: 1.25rem;
    color: var(--primary);
    background: rgba(218, 41, 28, 0.08);
    padding: 6px;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.product-list li:hover i {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* --- FAQ SECTION --- */
.faq-section {
    padding: 100px 0;
    background: #ffffff;
}
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(218, 41, 28, 0.1);
}
.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    background: #ffffff;
    transition: var(--transition);
}
.faq-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}
.faq-header i {
    font-size: 1.25rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-header i {
    transform: rotate(180deg);
}
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: var(--bg-gray);
}
.faq-body p {
    margin: 0;
    padding: 0 1.5rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}
.faq-item.active .faq-body {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
}

/* --- TEAM SECTION --- */
.team-section {
    padding: 100px 0;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2.5rem;
    justify-items: center;
}
.team-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    width: 100%;
    max-width: 350px;
    border: 1px solid var(--border-color);
}
.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.team-image {
    width: 100%;
    aspect-ratio: 4/4;
    overflow: hidden;
}
.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.5s ease;
}
.team-card:hover .team-image img {
    transform: scale(1.05);
}
.team-info {
    padding: 1.5rem;
    text-align: center;
}
.team-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: var(--text-dark);
}
.team-info .role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

/* --- TESTIMONIALS --- */
.testimonials-section {
    padding: 100px 0;
    overflow: hidden;
    background-color: #f9fafb;
}
.text-warning {
    color: #FFC107;
}
.testimonials-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0.5rem 2rem 0.5rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
.testimonials-carousel::-webkit-scrollbar {
    height: 6px;
}
.testimonials-carousel::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
}
.testimonials-carousel::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}
.testimonial-card {
    min-width: 380px;
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    scroll-snap-align: center;
    border-top: 4px solid var(--primary);
    transition: transform 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
}
.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.stars {
    display: flex;
    gap: 0.25rem;
    font-size: 1.25rem;
}
.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.review-text {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}
.reviewer-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    color: var(--text-main);
}
.reviewer-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}
@media (max-width: 768px) {
    .testimonial-card { min-width: 280px; padding: 1.5rem; }
}


/* --- EMERGENCY BUTTON --- */
.btn-danger {
    background: #ef4444;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    border: 2px solid #ef4444;
}
.btn-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}
@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
@media (max-width: 768px) {
    .nav-actions .btn-danger, .nav-actions .btn-primary-outline {
        display: none !important; /* Hide desktop buttons on mobile to fit logo */
    }
}

/* --- FOOTER LINK ENHANCEMENTS --- */
.footer-col .footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    color: var(--text-muted);
}
.footer-col .footer-link i {
    color: var(--primary);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}
.footer-col .footer-link:hover {
    color: var(--primary);
    transform: translateX(8px);
}
.footer-col .footer-link:hover i {
    transform: scale(1.2);
}
