/*
Theme Name: Hidrokar
Theme URI: https://hidrokar.com
Author: Hidrokar
Author URI: https://hidrokar.com
Description: Hidrolik Hortum İmalatı, Rekor Çözümleri, İş Makineleri ve Forklift Servisi için profesyonel WordPress teması. Tamamen özelleştirilebilir modern endüstriyel tasarım.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hidrokar
Tags: industrial, hydraulic, construction, business, custom-menu, featured-images, translation-ready
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #fff;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

button, .btn {
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all 0.3s ease;
}

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
    --yellow: #F5A623;
    --yellow-dark: #E09400;
    --yellow-light: #FFB84D;
    --dark: #0D0D0D;
    --dark-soft: #1A1A1A;
    --dark-card: #222222;
    --gray: #666666;
    --gray-light: #F5F5F5;
    --white: #FFFFFF;
    --text: #333333;
    --shadow: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --container: 1200px;
}

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

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    border-bottom: 1px solid #eee;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
}

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

.logo-img {
    height: var(--logo-height, 78px);
    width: auto;
    max-width: 360px;
    object-fit: contain;
    display: block;
}

@media (max-width: 900px) {
    .logo-img {
        height: calc(var(--logo-height, 78px) * 0.75);
        max-width: 260px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: calc(var(--logo-height, 78px) * 0.6);
        max-width: 200px;
    }
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    color: #444;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    padding: 6px 0;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--dark);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--yellow);
}

/* Header Contact */
.header-contact {
    display: flex;
    align-items: center;
    gap: 16px;
}

.phone-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: var(--dark);
    font-size: 13px;
}

.phone-info .number {
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.phone-info .number svg {
    width: 16px;
    height: 16px;
    fill: var(--yellow);
}

.phone-info .support {
    font-size: 11px;
    color: #888;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-1px);
}

.btn-whatsapp svg {
    width: 18px;
    height: 18px;
    fill: white;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark);
    font-size: 28px;
    cursor: pointer;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 60px 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(245, 166, 35, 0.15);
    color: var(--yellow);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(245, 166, 35, 0.3);
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

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

.hero p {
    font-size: 17px;
    color: #ccc;
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--yellow);
    color: var(--dark);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 166, 35, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid rgba(255,255,255,0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

/* ============================================================
   SERVICES BAR
   ============================================================ */
.services-bar {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.service-icon {
    width: 52px;
    height: 52px;
    background: rgba(245, 166, 35, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--yellow);
}

.service-item h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.service-item p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.5;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.about-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 40px 30px 30px;
    color: white;
}

.about-overlay-text h3 {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
}

.about-overlay-text h3 span {
    color: var(--yellow);
}

.about-features {
    display: flex;
    gap: 24px;
    margin-top: 20px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #ddd;
}

.about-feature svg {
    width: 18px;
    height: 18px;
    fill: var(--yellow);
}

.about-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.about-content h2 span {
    color: var(--yellow);
}

.about-content .subtitle {
    font-size: 15px;
    color: var(--gray);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-content p {
    font-size: 15px;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 28px;
}

.about-side-image {
    margin-top: 30px;
    border-radius: var(--radius);
    overflow: hidden;
}

.about-side-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.products-section {
    padding: 80px 0;
    background: var(--dark);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    position: relative;
    display: inline-block;
}

.section-header h2::before,
.section-header h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 3px;
    background: var(--yellow);
}

.section-header h2::before {
    right: calc(100% + 16px);
}

.section-header h2::after {
    left: calc(100% + 16px);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.product-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.product-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.product-card h3 {
    padding: 16px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    text-align: center;
}

/* ============================================================
   BRANDS SECTION
   ============================================================ */
.brands-section {
    background: var(--white);
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.brands-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.brand-logos {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.brand-logo {
    font-size: 16px;
    font-weight: 800;
    color: #444;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.brand-logo:hover {
    opacity: 1;
}

.brand-tagline {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-tagline span {
    color: var(--yellow);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--dark);
    color: #aaa;
    padding: 60px 0 30px;
}

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

.footer-logo-img {
    height: 85px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-title {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    color: #aaa;
}

.footer-links a:hover {
    color: var(--yellow);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    fill: var(--yellow);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .main-nav {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .header-contact .phone-info {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary, .btn-outline {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile Nav Open */
.main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 20px;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-top: 1px solid #eee;
}

.main-nav.open a {
    color: #333;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* ============================================================
   INNER PAGES
   ============================================================ */
.page-hero {
    background: linear-gradient(135deg, #0D0D0D 0%, #1a1a1a 100%);
    padding: 70px 0 50px;
    text-align: center;
}
.page-hero h1 {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}
.page-hero p {
    color: #aaa;
    font-size: 17px;
}
.page-content-section {
    padding: 60px 0 80px;
    background: #f8f8f8;
}

/* About page */
.about-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}
.about-page-text h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 18px;
}
.about-page-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 14px;
}
.about-page-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}
.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}
.stat-item {
    text-align: center;
}
.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--yellow);
}
.stat-label {
    font-size: 13px;
    color: #666;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.value-card {
    background: #fff;
    padding: 28px 22px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.value-icon {
    font-size: 28px;
    margin-bottom: 12px;
}
.value-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}
.value-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* Services page */
.services-page-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.service-page-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.service-page-card.reverse {
    direction: rtl;
}
.service-page-card.reverse > * {
    direction: ltr;
}
.service-page-img img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}
.service-page-body {
    padding: 36px 32px;
}
.service-page-body h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}
.service-page-body p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 16px;
}
.service-page-body ul {
    list-style: none;
}
.service-page-body ul li {
    font-size: 14px;
    color: #444;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}
.service-page-body ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--yellow);
    font-weight: 700;
}

/* Products page */
.products-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}
.product-page-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}
.product-page-card:hover {
    transform: translateY(-6px);
}
.product-page-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.product-page-body {
    padding: 22px;
}
.product-page-body h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}
.product-page-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}
.btn-outline-dark {
    display: inline-flex;
    padding: 10px 18px;
    border: 2px solid var(--dark);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
}
.btn-outline-dark:hover {
    background: var(--dark);
    color: #fff;
}
.brands-box {
    background: #fff;
    padding: 36px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.brands-box h3 {
    font-size: 20px;
    font-weight: 700;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    padding: 30px 14px 14px;
    font-size: 13px;
    font-weight: 600;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}
.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.contact-card {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.contact-card-icon {
    font-size: 28px;
    margin-bottom: 10px;
}
.contact-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}
.contact-card p {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}
.contact-card a {
    color: var(--dark);
}
.contact-card a:hover {
    color: var(--yellow);
}
.contact-note {
    font-size: 12px;
    color: #999;
}
.contact-form-box {
    background: #fff;
    padding: 36px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.contact-form-box h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
}
.form-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 24px;
}
.form-row {
    margin-bottom: 18px;
}
.form-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}
.form-row input,
.form-row textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
}
.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--yellow);
}
.form-success {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
}
.whatsapp-cta {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}
.whatsapp-cta p {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

/* CTA box */
.cta-box {
    background: var(--dark);
    color: #fff;
    text-align: center;
    padding: 50px 30px;
    border-radius: 12px;
    margin-top: 50px;
}
.cta-box h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
}
.cta-box p {
    color: #aaa;
    margin-bottom: 24px;
}

/* Responsive inner pages */
@media (max-width: 900px) {
    .about-page-grid,
    .service-page-card,
    .service-page-card.reverse,
    .contact-grid {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    .values-grid,
    .products-page-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    .contact-info-cards {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .values-grid,
    .products-page-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .about-stats {
        flex-direction: column;
        gap: 16px;
    }
    .page-hero h1 {
        font-size: 28px;
    }
}

/* WordPress editor content */
.wp-content-area {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}
.wp-content-area img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}
.wp-content-area figure {
    margin: 20px 0;
}
.wp-content-area h2 {
    font-size: 26px;
    font-weight: 800;
    margin: 28px 0 12px;
}
.wp-content-area h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 22px 0 10px;
}
.wp-content-area ul, .wp-content-area ol {
    margin: 12px 0 12px 24px;
}
.wp-content-area li {
    margin-bottom: 6px;
}
.wp-content-area p {
    margin-bottom: 14px;
}

/* ========== PATTERN: Ürün kartları ========== */
.hk-product-card {
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}
.hk-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.hk-product-card img,
.hk-product-card .wp-block-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin: 0;
    border-radius: 0;
}
.hk-product-grid .wp-block-column {
    margin-bottom: 16px;
}

/* ========== PATTERN: Açılır galeri ========== */
.hk-lightbox-gallery {
    --gap: 12px;
}
.hk-lightbox-gallery .wp-block-image {
    cursor: zoom-in;
    border-radius: 10px;
    overflow: hidden;
}
.hk-lightbox-gallery .wp-block-image img {
    transition: transform 0.35s;
}
.hk-lightbox-gallery .wp-block-image:hover img {
    transform: scale(1.05);
}

/* Lightbox overlay */
.hk-lb-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.hk-lb-overlay.is-open {
    display: flex;
}
.hk-lb-overlay img {
    max-width: min(95vw, 1100px);
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.hk-lb-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    z-index: 2;
}
.hk-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hk-lb-nav:hover { background: rgba(255,255,255,0.3); }
.hk-lb-prev { left: 16px; }
.hk-lb-next { right: 16px; }

/* ========== PATTERN: Slayt ========== */
.hk-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
    max-width: 100%;
}
.hk-slider-track {
    display: flex;
    transition: transform 0.45s ease;
}
.hk-slide {
    min-width: 100%;
    position: relative;
}
.hk-slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}
.hk-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 18px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}
.hk-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(245, 166, 35, 0.95);
    color: #0D0D0D;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    z-index: 2;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hk-slider-btn:hover { background: #fff; }
.hk-prev { left: 12px; }
.hk-next { right: 12px; }
.hk-slider-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}
.hk-slider-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 0;
}
.hk-slider-dots button.is-active {
    background: #F5A623;
}
@media (max-width: 600px) {
    .hk-slide img { height: 260px; }
}
