/* Yalıkavak Ofset - Ana Stil Dosyası */

:root {
    --primary-color: #003366; /* Lacivert (Logodan esinlenen) */
    --accent-color: #E31E24;  /* Kırmızı (Logodan esinlenen) */
    --text-color: #333333;
    --light-bg: #F9FAFB;
    --white: #FFFFFF;
    --footer-bg: #001F3D;
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --header-height: 80px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Başlık (Header) --- */
.main-header {
    height: var(--header-height);
    background-color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.main-header.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary-color);
}

.logo .accent {
    color: var(--accent-color);
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-list a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--primary-color);
    position: relative;
}

.nav-list a:hover {
    color: var(--accent-color);
}

.nav-btn {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
}

.nav-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* --- Mobil Navigasyon --- */
.mobile-nav-toggle {
    display: none;
    cursor: pointer;
    background: transparent;
    border: 0;
    padding: 10px;
    z-index: 9999;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 5px;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.primary-navigation[data-visible="true"] {
    transform: translateX(0%);
}

/* --- Ana Sayfa Hero Bölümü --- */
.hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 100px;
    background: linear-gradient(135deg, #003366 0%, #001F3D 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--white);
    transform: skewY(-2deg);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    color: var(--white);
}

.hero span {
    color: var(--accent-color);
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.hero .btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-block;
    cursor: pointer;
}

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

.btn-secondary {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* --- Sectionlar --- */
section {
    padding: 100px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.section-title span {
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 auto;
}

/* --- Hizmet Kartları Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.03);
    border: 1px solid #eee;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--primary-color);
}

/* --- Footer --- */
.main-footer {
    background-color: var(--footer-bg);
    color: rgba(255,255,255,0.8);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.footer-logo .accent {
    color: var(--accent-color);
}

.footer-nav ul li { margin-bottom: 12px; }
.footer-nav ul a:hover { color: var(--accent-color); padding-left: 5px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 30px 0;
    text-align: center;
}

/* --- SSS Akordeon --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

details {
    margin-bottom: 16px;
    background: var(--light-bg);
    border-radius: 8px;
    transition: var(--transition);
}

summary {
    padding: 20px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
    position: relative;
}

summary::after {
    content: '+';
    float: right;
    font-size: 1.2rem;
}

details[open] summary::after {
    content: '-';
}

details p {
    padding: 0 20px 20px;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* --- WhatsApp Butonu --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

/* --- İletişim Formu --- */
.contact-form {
    display: grid;
    gap: 15px;
}

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

.form-group label {
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.form-group input, 
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

.form-status {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- Image Helper --- */
.img-container {
    overflow: hidden;
    border-radius: 12px;
}

.img-container img {
    transition: var(--transition);
}

.img-container:hover img {
    transform: scale(1.05);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .main-header {
        height: 70px;
    }

    .nav-list {
        display: none; /* Desktop menu hidden */
    }

    .mobile-nav-toggle {
        display: block;
        position: relative;
    }

    .primary-navigation {
        position: fixed;
        inset: 0 0 0 30%;
        background: var(--white);
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        padding: min(20vh, 10rem) 2rem;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        display: block; /* Ensure it is block when toggled */
    }

    .primary-navigation[data-visible="true"] {
        transform: translateX(0%);
    }

    .nav-list {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 0.95rem; }
    
    .btn-group {
        flex-direction: column !important;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }

    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}
