/* ================================================
   STATIC PAGES (sayfa.php, iletisim.php, reklam.php)
   ================================================ */

.static-page {
    padding: 30px 0 60px;
    background: var(--color-bg);
}

.static-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* Static Sidebar */
.static-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.static-nav {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    overflow: hidden;
}

.static-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--color-border);
}

.static-nav-item:last-child {
    border-bottom: none;
}

.static-nav-item:hover {
    background: var(--color-surface);
    color: var(--color-text);
}

.static-nav-item.active {
    background: transparent;
    color: var(--color-text);
    font-weight: 600;
}

.static-nav-item .nav-arrow {
    flex-shrink: 0;
    color: var(--color-text);
}

.static-nav-divider {
    height: 0;
    border-bottom: 1px solid var(--color-border);
    margin: 0;
}

.static-nav-divider + .static-nav-item {
    border-top: none;
}

/* Mobile Dropdown Toggle */
.static-nav-toggle {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.static-nav-toggle:hover {
    border-color: var(--color-text-muted);
}

.static-nav-toggle svg {
    transition: transform 0.2s ease;
}

.static-nav-toggle.active svg {
    transform: rotate(180deg);
}

.static-nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 100;
    max-height: 400px;
    overflow-y: auto;
}

.static-nav-dropdown.show {
    display: block;
}

/* Static Page Header - Left Aligned */
.static-page-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.static-page-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.static-page-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

/* Static Main Content */
.static-main {
    min-width: 0;
}

/* Legacy static-header (kept for backward compatibility) */
.static-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--color-border);
}

.static-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--color-surface);
    border-radius: 12px;
    color: var(--color-primary);
}

.static-header-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.static-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.static-content p {
    margin-bottom: 16px;
}

.static-content h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin: 30px 0 16px;
}

.static-content h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text);
    margin: 24px 0 12px;
}

.static-content ul,
.static-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.static-content li {
    margin-bottom: 8px;
}

/* Kunye Section Title */
.kunye-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin: 24px 0 12px;
}

.kunye-section-title:first-child {
    margin-top: 0;
}

/* Kunye Card */
.kunye-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.kunye-row {
    display: grid;
    grid-template-columns: minmax(200px, 280px) auto 1fr;
    align-items: baseline;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    gap: 12px;
}

.kunye-row:last-child {
    border-bottom: none;
}

.kunye-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.6;
}

.kunye-separator {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.kunye-value {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-weight: 800;
}

.kunye-value a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.kunye-value a:hover {
    color: var(--color-primary);
}

/* RSS Table */
.rss-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.rss-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--color-surface);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.rss-item:hover {
    background: var(--color-border);
}

.rss-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

.rss-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--color-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.rss-link:hover {
    background: var(--color-primary-dark);
}

/* Principles Box */
.principles-box {
    background: var(--color-surface);
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
}

.principles-box ol {
    margin: 0;
    padding-left: 20px;
}

.principles-box li {
    margin-bottom: 12px;
    color: var(--color-text-secondary);
}

/* Contact Map */
.contact-map {
    width: 100%;
    height: 300px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact Info Section */
.contact-info-section {
    margin-top: 8px;
    margin-bottom: 30px;
}

.contact-company-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 8px;
}

.contact-address {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin: 0 0 20px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--color-text);
}

.contact-detail-item svg {
    flex-shrink: 0;
}

.contact-detail-item a {
    color: var(--color-text);
    text-decoration: none;
}

.contact-detail-item a:hover {
    color: var(--color-primary);
}

/* Contact Form - New Style */
.contact-form-new {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form-new .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form-new label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

.contact-form-new input,
.contact-form-new textarea {
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.contact-form-new input:focus,
.contact-form-new textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}

.contact-form-new textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form-new button[type="submit"] {
    padding: 14px 24px;
    background: var(--color-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-form-new button[type="submit"]:hover {
    background: var(--color-primary-dark);
}

/* ================================================
   RESPONSIVE - Tablet
   ================================================ */
@media (max-width: 991px) {
    .static-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .static-sidebar {
        position: relative;
        top: 0;
    }

    .static-nav-toggle {
        display: flex;
    }

    .static-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-top: 8px;
        z-index: 100;
        max-height: 400px;
        overflow-y: auto;
    }

    .static-nav.show {
        display: flex;
    }

    .static-page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .static-page-title {
        font-size: 22px;
    }

    .kunye-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .kunye-separator {
        display: none;
    }

    .kunye-label {
        font-size: 13px;
        color: var(--color-text-muted);
    }
}

/* ================================================
   RESPONSIVE - Mobile
   ================================================ */
@media (max-width: 575px) {
    .static-page {
        padding: 20px 0 40px;
    }

    .static-page-header {
        gap: 10px;
        padding-bottom: 16px;
    }

    .static-page-title {
        font-size: 20px;
    }

    .static-content {
        font-size: 14px;
    }

    .kunye-row {
        padding: 16px 20px;
    }

    .principles-box {
        padding: 16px;
    }
}
