/* =====================================================
   Öztürk Takograf - Modern Kurumsal Web Sitesi
   Renk Paleti:
   - Lacivert: #0C1A36
   - Mavi: #2A77B8
   - Beyaz: #ffffff
   - Gri: #e8e8e8
===================================================== */

/* CSS Variables */
:root {
    --color-navy: #0C1A36;
    --color-blue: #2A77B8;
    --color-white: #ffffff;
    --color-gray: #e8e8e8;
    --color-gray-dark: #6b7280;
    --color-text: #333333;
    --color-whatsapp: #25D366;
    --color-whatsapp-dark: #1da851;
    --font-primary: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-base: 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(12, 26, 54, 0.08);
    --shadow-md: 0 4px 20px rgba(12, 26, 54, 0.12);
    --shadow-lg: 0 8px 40px rgba(12, 26, 54, 0.15);
    --border-radius: 4px;
    --border-radius-lg: 12px;
    --container-max: 1200px;
    --section-padding: 100px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* =====================================================
   NAVIGATION
===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Navbar Logo Container - Circular */
.navbar-logo-container {
    width: 55px;
    height: 55px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.navbar-logo-container img {
    width: 70%;
    height: auto;
}

.logo:hover .navbar-logo-container {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-white);
    position: relative;
    padding: 8px 0;
    transition: color var(--transition-base);
}

.navbar.scrolled .nav-link {
    color: var(--color-navy);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-blue);
    transition: width var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-blue);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    position: relative;
    transition: background var(--transition-base);
}

.navbar.scrolled .hamburger,
.navbar.scrolled .hamburger::before,
.navbar.scrolled .hamburger::after {
    background: var(--color-navy);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: transform var(--transition-base);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================================================
   BUTTONS
===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--color-navy);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-navy);
    transform: translateY(-2px);
}

.btn-whatsapp-hero {
    background: var(--color-whatsapp);
    font-size: 1rem;
    padding: 16px 36px;
}

.btn-whatsapp-hero:hover {
    background: var(--color-whatsapp-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-hero svg {
    width: 22px;
    height: 22px;
}

.btn-full {
    width: 100%;
}

/* =====================================================
   HERO SECTION
===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-navy) 0%, #153b6b 50%, var(--color-blue) 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(42, 119, 184, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(42, 119, 184, 0.2) 0%, transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 24px 80px;
}

/* Hero Title - Firma ve Bakanlık Bilgisi */
.hero-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-white);
    margin: 0 auto 30px auto;
    line-height: 1.4;
    max-width: 1000px;
}

.hero-title-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.logo-circle {
    width: 70px;
    height: 70px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.firma-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.bakanlik-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.firma-name {
    font-weight: 700;
    white-space: nowrap;
}

.bakanlik-text {
    font-weight: 600;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =====================================================
   SECTIONS
===================================================== */
.section {
    padding: var(--section-padding) 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-navy);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-blue);
}

/* =====================================================
   ABOUT SECTION
===================================================== */
.section-about {
    background: var(--color-white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
    margin-bottom: 48px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--color-gray-dark);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-features {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.about-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.about-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-blue), var(--color-navy));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.about-feature-icon svg {
    width: 28px;
    height: 28px;
}

.about-feature span {
    font-weight: 600;
    color: var(--color-navy);
    font-size: 0.95rem;
}

/* =====================================================
   SERVICES SECTION
===================================================== */
.section-services {
    background: var(--color-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--color-white);
    padding: 40px 32px;
    text-align: center;
    border-radius: var(--border-radius);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    color: var(--color-blue);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--color-gray-dark);
    line-height: 1.6;
}

/* =====================================================
   BRANDS SECTION
===================================================== */
.section-brands {
    background: var(--color-white);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    width: 100%;
    padding: 32px 24px;
    background: var(--color-gray);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.brand-logo:hover {
    background: var(--color-white);
    border-color: var(--color-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.brand-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: 0.5px;
}

.brands-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-gray-dark);
    font-weight: 500;
}

/* =====================================================
   CONTACT SECTION
===================================================== */
.section-contact {
    background: var(--color-gray);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.contact-card {
    background: var(--color-white);
    padding: 40px 32px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-blue);
}

.contact-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-blue), var(--color-navy));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.contact-card-icon svg {
    width: 28px;
    height: 28px;
}

.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-navy);
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--color-gray-dark);
}

.contact-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-blue);
    transition: all 0.2s ease;
}

.contact-card:hover .contact-card-link {
    color: var(--color-navy);
}

/* Map Container */
.map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    display: block;
}

/* =====================================================
   WHATSAPP FLOATING BUTTON
===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--color-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-base);
}

.whatsapp-float:hover {
    background: var(--color-whatsapp-dark);
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* Pulse animation */
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--color-whatsapp);
    opacity: 0.4;
    animation: whatsappPulse 2s infinite;
    z-index: -1;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* =====================================================
   FOOTER
===================================================== */
.footer {
    background: var(--color-navy);
    padding: 32px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--color-blue);
}

.footer-divider {
    color: rgba(255, 255, 255, 0.3);
}

/* =====================================================
   RESPONSIVE DESIGN
===================================================== */
@media (max-width: 1024px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 80px;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-navy);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right var(--transition-base);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .nav-link {
        font-size: 1.25rem;
        color: var(--color-white);
    }

    .navbar.scrolled .nav-link {
        color: var(--color-white);
    }

    .hero-content {
        padding: 100px 24px 60px;
    }

    .hero-title {
        flex-direction: column;
        gap: 15px;
        font-size: 1.5rem;
    }

    .hero-title-section {
        flex-direction: row;
        gap: 10px;
    }

    .logo-circle {
        width: 60px;
        height: 60px;
    }

    .firma-logo,
    .bakanlik-logo {
        width: 45px;
        height: 45px;
    }

    .firma-name,
    .bakanlik-text {
        white-space: normal;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .services-grid {
        gap: 24px;
    }

    .service-card {
        padding: 32px 24px;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .brand-logo {
        padding: 24px 16px;
    }

    .about-features {
        gap: 32px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 1.25rem;
        gap: 12px;
    }

    .logo-circle {
        width: 50px;
        height: 50px;
    }

    .firma-logo,
    .bakanlik-logo {
        width: 35px;
        height: 35px;
    }

    .hero-title-section {
        gap: 8px;
    }

    .navbar-logo-container {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.1rem;
        gap: 10px;
    }

    .logo-circle {
        width: 45px;
        height: 45px;
    }

    .firma-logo,
    .bakanlik-logo {
        width: 30px;
        height: 30px;
    }

    .about-features {
        flex-direction: column;
        gap: 24px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* =====================================================
   ACCESSIBILITY & UTILITIES
===================================================== */
:focus-visible {
    outline: 2px solid var(--color-blue);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Selection colors */
::selection {
    background: var(--color-blue);
    color: var(--color-white);
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .whatsapp-float,
    .map-container {
        display: none;
    }

    .section {
        opacity: 1;
        transform: none;
        page-break-inside: avoid;
    }
}
