/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a2b4c; /* Lacivert - Hukuk/Güven */
    --secondary-color: #c5a880; /* Gold/Bej - Prestij */
    --text-color: #333333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.divider {
    height: 3px;
    width: 70px;
    background-color: var(--secondary-color);
    margin: 0 auto 20px auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #a88d66;
}

/* Header & Nav */
.site-header {
    background-color: #000000;
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    gap: 12px;
    position: relative;
}

.logo-img {
    max-height: 48px;
    width: auto;
    display: block;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    color: var(--white);
    flex-shrink: 0;
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-nav .nav-list li a {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.site-nav .nav-list li a:hover {
    color: var(--secondary-color);
}

.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

@media (min-width: 901px) {
    .nav-backdrop {
        display: none !important;
    }
}

.nav-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

body.nav-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1002;
        background: #0a0a0a;
        border-top: 1px solid #222;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    }

    .site-nav.is-open {
        max-height: min(70vh, 420px);
        overflow-y: auto;
    }

    .site-nav .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0 16px;
    }

    .site-nav .nav-list li a {
        display: block;
        padding: 14px 20px;
        white-space: normal;
        border-bottom: 1px solid #1f1f1f;
    }

    .site-nav .nav-list li:last-child a {
        border-bottom: none;
    }

    .nav-backdrop {
        display: block;
    }

    .nav-backdrop[hidden] {
        display: none !important;
    }
}

/* Hero Section */
.hero {
    height: 80vh;
    min-height: 420px;
    background: url('images/bodrumbackground.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 700px;
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-animate {
    opacity: 0;
    animation: heroReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-animate--1 {
    animation-delay: 0.12s;
}

.hero-animate--2 {
    animation-delay: 0.38s;
}

.hero-animate--3 {
    animation-delay: 0.62s;
}

@media (prefers-reduced-motion: reduce) {
    .hero-animate {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

.hero-content h2 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #e0e0e0;
}

/* Hakkımızda */
.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Faaliyet Alanları */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card a {
    display: block;
    height: 100%;
    color: inherit;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--secondary-color);
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 200px);
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.card-content p {
    font-size: 0.95rem;
    color: #666;
    flex-grow: 1;
    margin-bottom: 15px;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.card:hover .read-more {
    gap: 10px;
}

/* Subpage Specific Styles */
.page-header {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin: 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.content-wrapper h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.content-wrapper h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.content-wrapper p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.content-wrapper ul {
    margin-bottom: 30px;
}

.content-wrapper ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.content-wrapper ul li i {
    color: var(--secondary-color);
    margin-top: 5px;
}

.contact-cta {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    text-align: center;
}

.contact-cta h3 {
    margin-top: 0;
}

.contact-cta p {
    margin-bottom: 20px;
}

/* Ekibimiz */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.team-member {
    background-color: var(--light-bg);
    padding: 40px 30px;
    border-radius: 5px;
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.team-member--staff {
    border-top-color: #555;
}

.member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.member-info .role {
    display: block;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.85rem;
    line-height: 1.4;
    text-transform: none;
}

/* İletişim */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h4 {
    margin-bottom: 5px;
}

.info-item p {
    color: #666;
}

.info-item a {
    color: var(--primary-color);
    font-weight: 600;
}

.info-item a:hover {
    color: var(--secondary-color);
}

.map-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.95rem;
}

.contact-map {
    margin-top: 48px;
}

.contact-map-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
    text-align: center;
}

.contact-map-frame {
    width: 100%;
    height: 360px;
    border: 0;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-note {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 18px;
    line-height: 1.5;
}

.contact-honey {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form {
    position: relative;
}

.contact-form-status {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 4px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-form-status--success {
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #a5d6a7;
}

.contact-form-status--error {
    background: #ffebee;
    color: #b71c1c;
    border: 1px solid #ffcdd2;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: #000000;
    color: var(--white);
    padding: 40px 0 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo-img {
    max-height: 50px;
    width: auto;
    margin-bottom: 10px;
    display: block;
}

.footer-logo p {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-social a {
    color: var(--white);
    font-size: 1.2rem;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-map-frame {
        height: 280px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}