/* --- style.css (FINAL, COMPLETE & CORRECTED) --- */
:root {
    --primary-color: #1a237e; 
    --secondary-color: #ffc107; 
    --dark-color: #212121;
    --gray-color: #616161;
    --light-color: #f8f9fa;
    --white-color: #ffffff;
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    background-color: var(--light-color);
    color: var(--dark-color);
    overflow-x: hidden;
    opacity: 1;
    transition: opacity 0.4s ease-out;
}

body.fade-out {
    opacity: 0;
}

h1, h2, h3, h4 {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    line-height: 1.3;
}

h2 { font-size: 2.8rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

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

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

section {
    padding: 5rem 0;
    overflow: hidden;
}

.dark-section {
    background-color: var(--primary-color);
}

.dark-section .section-title h2, 
.dark-section p, 
.dark-section h3, 
.dark-section h4, 
.dark-section li, 
.dark-section a {
    color: var(--white-color);
}

.dark-section .social-links a { color: var(--white-color); }

.dark-section .section-title h2::after {
    background: var(--secondary-color);
}

.page-wrapper section:nth-of-type(even):not(.dark-section) {
    background-color: var(--white-color);
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- NAVİGASYON VE MENÜ --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 25px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.main-header.scrolled {
    background-color: rgba(26, 35, 126, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.nav-left, .nav-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-right {
    justify-content: flex-end;
    gap: 1rem;
}

.center-logo {
    flex-shrink: 0;
}

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

.center-logo img {
    height: 40px;
    transition: height 0.3s ease;
}

.main-header.scrolled .center-logo img {
    height: 35px;
}

.lang-switcher {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.4rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    gap: 0.2rem;
}

.lang-switcher button {
    background: var(--light-color);
    color: var(--primary-color);
    border: none;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    padding: 0.5rem 0.8rem;
    border-radius: 50px;
    min-width: 40px;
    text-align: center;
}

.lang-switcher button:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.lang-switcher button.active {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.menu-toggle {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--primary-color);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
}

.overlay-menu.open {
    right: 0;
    box-shadow: -10px 0 30px rgba(0,0,0,0.2);
}

.overlay-menu nav {
    margin-top: 4rem;
}

.overlay-menu nav ul {
    list-style: none;
    text-align: left;
}

.overlay-menu nav ul li {
    margin: 1rem 0;
}

.overlay-menu nav ul li a {
    color: var(--white-color);
    font-size: 1.5rem;
    font-family: 'Roboto Slab', serif;
    transition: color 0.3s ease;
}

.overlay-menu nav ul li a:hover {
    color: var(--secondary-color);
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white-color);
    font-size: 2.5rem;
    cursor: pointer;
}

/* --- HERO & PAGE HEADER --- */
.hero {
    background: linear-gradient(rgba(26, 35, 126, 0.8), rgba(26, 35, 126, 0.8)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    color: var(--white-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.hero-logo {
    max-width: 150px;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
}

.hero .slogan {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--secondary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white-color);
    font-size: 3rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -20px); }
    60% { transform: translate(-50%, -10px); }
}

.page-header {
    padding-top: 150px;
    padding-bottom: 3rem;
    text-align: center;
    background-color: var(--primary-color);
}

.page-header h1 {
    color: var(--white-color);
}

/* --- GENEL İÇERİK --- */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.content-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    font-size: 1.1rem;
    color: var(--gray-color);
}

.content-text ul {
    list-style-position: inside;
    padding-left: 1rem;
}

.address {
    margin-top: 2rem;
    font-style: normal;
    color: var(--gray-color);
}

.address i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

/* --- KARTLAR (MARKA, EKİP, HİZMET) --- */
.brands-grid, .team-grid, .services-grid, .presence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.brand-card, .team-card, .service-card, .presence-card {
    background: var(--white-color);
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.brand-card:hover, .team-card:hover, .service-card:hover, .presence-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.brand-logo-container {
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.brand-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-card h3, .presence-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.brand-card h3 a {
    color: var(--primary-color);
    transition: color 0.3s;
}

.brand-card h3 a:hover {
    color: var(--secondary-color);
}

.brand-card p, .presence-card p {
    color: var(--gray-color);
    flex-grow: 1;
}

.team-card {
    text-align: center;
}

.team-card .monogram {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    font-family: 'Roboto Slab', serif;
    margin: 0 auto 1.5rem auto;
}

.team-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-card .team-title {
    color: var(--gray-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-card .icon, .presence-card .icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-card h4 {
    color: var(--primary-color);
}

.service-card p {
    color: var(--gray-color);
}

/* --- FORM --- */
.form-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 3rem;
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: left;
}

.form-group input, .form-group select, .form-group textarea {
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    width: 100%;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.3);
}

/* --- BUTONLAR --- */
.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 2rem;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
}

.dark-section .btn {
    background-color: var(--white-color);
    color: var(--primary-color);
    border-color: var(--white-color);
}

.dark-section .btn:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border-color: var(--secondary-color);
}

/* --- FOOTER --- */
footer {
    background-color: var(--dark-color);
    color: #bdbdbd;
    text-align: center;
    padding: 4rem 2rem;
}

.footer-logo-collage {
    max-width: 300px;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--white-color);
    margin: 0 1rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-links a {
    color: #bdbdbd;
    margin: 0 10px;
    font-size: 0.9rem;
}

/* --- YARDIMCI SAYFALAR --- */
.full-page-centered {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--primary-color);
}

.centered-box {
    background: var(--white-color);
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    margin: 1rem;
}

.centered-box .icon {
    font-size: 5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.centered-box h2 {
    color: var(--primary-color);
}

/* --- RESPONSIVE DÜZELTMELERİ --- */
@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    h1 { font-size: 3.5rem }
    h2 { font-size: 2.2rem; }
    .hero h1 { font-size: 2.8rem; }
    .hero .slogan { font-size: 1rem; }
    .form-grid { grid-template-columns: 1fr; }
    .main-header { padding: 10px 15px; }
    .header-container { justify-content: space-between; }
    .nav-left { display: none; }
    .center-logo { position: static; transform: none; text-align: left; flex: 1; }
    .nav-right { flex: 0 0 auto; }
    .presence-grid { grid-template-columns: 1fr; } 
}
