/* ==========================================================================
   Cansın Endüstriyel Makine - "Dark Luxury" Premium Theme
   ========================================================================== */

/* 1. IMPORTS & VARIABLES */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Color Palette: Dark Luxury & Industrial Orange */
    --bg-main: #0B0C10;
    /* Deep Carbon Black */
    --bg-surface: #15161A;
    /* Matte Anthracite */
    --bg-surface-light: #1E2026;
    /* Hover / Lighter Anthracite */

    --accent-primary: #FF4500;
    /* Industrial Electric Orange */
    --accent-hover: #E03E00;

    --text-gold: #D4BD8A;
    /* Luxury Matte Gold/Bronze */
    --text-light: #FDFDFD;
    /* Pure White */
    --text-muted: #9CA3AF;
    /* Industrial Gray */

    --border-color: rgba(255, 255, 255, 0.06);
    --border-glass: rgba(255, 255, 255, 0.12);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Sizes */
    --header-height: 120px;
    --topbar-height: 40px;

    /* Radii & Shadows */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-lux: 0 20px 40px rgba(0, 0, 0, 0.4);

    /* Transitions */
    --trans-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    --trans-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 2. BASE RESET & TYPOGRAPHY */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-muted);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--trans-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-accent {
    color: var(--accent-primary);
}

.text-gold {
    color: var(--text-gold);
}

/* Base Sections */
.op-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

/* 3. BUTTONS */
.op-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all var(--trans-fast);
    cursor: pointer;
    border: 1px solid transparent;
}

.op-btn-primary {
    background: var(--accent-primary);
    color: #fff;
}

.op-btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 69, 0, 0.3);
}

.op-btn-outline {
    background: transparent;
    color: var(--text-light);
    border-color: var(--border-glass);
}

.op-btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-light);
    transform: translateY(-2px);
}

.op-btn i {
    font-size: 1.2rem;
}

.op-btn-whatsapp {
    background: transparent;
    color: #25D366;
    border: 1px solid #25D366;
}

.op-btn-whatsapp:hover {
    background: #25D366;
    color: #fff;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

/* 4. TOPBAR */
.op-topbar {
    background: #000;
    color: var(--text-muted);
    height: var(--topbar-height);
    font-size: 13px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 1001;
}

.op-topbar .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.op-topbar-left,
.op-topbar-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.op-topbar a:hover {
    color: var(--text-light);
}

.op-topbar i {
    color: var(--accent-primary);
    margin-right: 6px;
}

/* 5. HEADER (NAVBAR) */
.op-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(11, 12, 16, 0.45);
    /* Dark Glassmorphism */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--trans-smooth);
}

.op-header.scrolled {
    height: 90px;
    background: rgba(11, 12, 16, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.op-header .container {
    height: 100%;
}

.op-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.op-logo img {
    height: 70px;
    width: auto;
    max-width: 300px;
    transition: all var(--trans-smooth);
}

.op-header.scrolled .op-logo img {
    height: 50px;
}

.op-nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.op-nav-links a {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    letter-spacing: 0.5px;
    padding: 8px 0;
}

.op-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width var(--trans-fast);
}

.op-nav-links a:hover::after,
.op-nav-links a.active::after {
    width: 100%;
}

.op-nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.op-nav-search {
    position: relative;
}

.op-search-form {
    display: flex;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    padding: 4px 16px;
    overflow: hidden;
    transition: border-color var(--trans-fast);
}

.op-search-form:focus-within {
    border-color: var(--accent-primary);
}

.op-search-form input {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 14px;
    padding: 8px 0;
    outline: none;
    width: 120px;
    transition: width var(--trans-fast);
}

.op-search-form input:focus {
    width: 160px;
}

.op-search-form button {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0 4px;
    transition: color var(--trans-fast);
}

.op-nav-call {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ff6b00;
    /* Distinct orange color */
    color: #fff;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all var(--trans-smooth);
    position: relative;
    overflow: hidden;
    margin-left: 20px;
    border: 1px solid rgba(255, 107, 0, 0.4);
}

.op-nav-call::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.op-nav-call:hover {
    background: #e66000;
    border-color: #ff6b00;
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
    transform: translateY(-2px);
    color: #fff;
}

.op-nav-call:hover::before {
    left: 100%;
}

.op-nav-call i {
    font-size: 18px;
    transition: transform var(--trans-fast);
}

.op-nav-call:hover i {
    transform: rotate(15deg) scale(1.1);
}

.op-nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-surface-light);
    border: 1px solid var(--border-glass);
    color: var(--text-light);
    padding: 10px 24px;
    border-radius: 40px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--trans-fast);
}

.op-nav-cta:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
}

.op-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 28px;
    cursor: pointer;
}

/* 5.1 MOBILE MENU */
.op-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 300px;
    max-width: 85%;
    height: 100vh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-glass);
    z-index: 9999;
    transition: transform var(--trans-smooth);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.op-mobile-menu.open {
    transform: translateX(0);
}

.op-mobile-menu-inner {
    padding: 32px 24px;
    position: relative;
    height: 100%;
    overflow-y: auto;
}

.op-mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    transition: all var(--trans-fast);
}

.op-mobile-menu-close:hover {
    transform: rotate(90deg);
    color: var(--accent-primary);
}

.op-mobile-menu-links {
    list-style: none;
    margin-top: 60px;
}

.op-mobile-menu-links li {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.op-mobile-menu-links a {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 16px;
}

.op-mobile-menu-links a i {
    color: var(--accent-primary);
    font-size: 20px;
}

.op-mobile-menu-links a:hover {
    color: var(--accent-primary);
    padding-left: 8px;
}

/* 6. HERO SECTION */
.op-hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
}

.swiper,
.swiper-wrapper {
    width: 100%;
    height: 100%;
}

.op-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.op-slide {
    width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    /* Prevents Swiper slides from overlapping in flex contexts */
}

.op-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    /* Soft zoom effect handling in JS */
}

/* The true secret to Dark Luxury: The perfect gradient overlay */
.op-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(11, 12, 16, 0.95) 0%,
            rgba(11, 12, 16, 0.8) 40%,
            rgba(11, 12, 16, 0.4) 100%);
    z-index: 2;
}

.op-hero-container {
    position: relative;
    z-index: 3;
}

.op-hero-content {
    max-width: 900px;
}

.op-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--text-gold);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.op-hero-badge .badge-line {
    width: 40px;
    height: 2px;
    background: var(--text-gold);
}

.op-hero-title {
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 24px;
    line-height: 1.1;
    text-wrap: balance;
}

.op-hero-desc {
    font-size: 18px;
    color: #D1D5DB;
    /* Lighter reading gray */
    margin-bottom: 40px;
    max-width: 600px;
}

.op-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Premium Stats Box */
.op-hero-stats {
    display: inline-flex;
    align-items: center;
    background: rgba(21, 22, 26, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 24px 32px;
    gap: 40px;
}

.op-stat-item {
    display: flex;
    flex-direction: column;
}

.op-stat-num {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1;
    margin-bottom: 8px;
}

.op-stat-num::after {
    content: '+';
    color: var(--accent-primary);
}

.op-stat-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.op-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-glass);
}

/* Premium Swiper Pagination (Dots) */
.op-swiper-pagination {
    position: absolute;
    bottom: 40px !important;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.op-swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    margin: 0 6px !important;
    transition: all var(--trans-fast);
}

.op-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--accent-primary);
    transform: scale(1.2);
}

/* 7. SECTION UTILITIES */
.op-section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    position: relative;
    padding-left: 16px;
}

.op-section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
}

.op-section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.op-section-desc {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 48px;
}

/* 8. ABOUT SECTION */
.op-about {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

.op-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.op-about-desc p {
    font-size: 17px;
    margin-bottom: 24px;
    color: #D1D5DB;
}

.op-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.op-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.op-feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 69, 0, 0.1);
    color: var(--accent-primary);
    border-radius: var(--radius-sm);
    font-size: 20px;
}

.op-feature-text {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    color: var(--text-light);
}

.op-about-image-wrapper {
    position: relative;
    padding-left: 40px;
    padding-bottom: 40px;
}

.op-about-image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lux);
}

.op-about-image img,
.op-about-image video {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

/* Gold border accent */
.op-about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--border-glass);
    pointer-events: none;
    z-index: 2;
}

.op-about-experience {
    position: absolute;
    bottom: -40px;
    left: -40px;
    background: var(--bg-main);
    border: 1px solid var(--border-glass);
    padding: 32px 40px;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    z-index: 3;
}

.op-about-experience .exp-val {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--text-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.op-about-experience .exp-val::after {
    content: '+';
    font-size: 24px;
    color: var(--accent-primary);
    vertical-align: top;
}

.op-about-experience .exp-lbl {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* 9. SERVICES SECTION */
.op-services {
    background: var(--bg-main);
}

.op-services-header {
    text-align: center;
    margin-bottom: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.op-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.op-service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 48px 40px;
    border-radius: var(--radius-md);
    transition: all var(--trans-smooth);
    position: relative;
    overflow: hidden;
}

/* Hover background accent */
.op-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, rgba(255, 69, 0, 0.1) 0%, transparent 100%);
    transition: height var(--trans-smooth);
    z-index: 0;
}

.op-service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 69, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.op-service-card:hover::before {
    height: 100%;
}

.op-service-icon {
    font-size: 48px;
    color: var(--accent-primary);
    margin-bottom: 32px;
    display: inline-block;
    transition: transform var(--trans-fast);
    position: relative;
    z-index: 2;
    text-shadow: 0 0 15px rgba(255, 69, 0, 0.3);
}

.op-service-card:hover .op-service-icon {
    color: #fff;
}

.op-service-title {
    font-size: 22px;
    margin-bottom: 16px;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.op-service-desc {
    font-size: 16px;
    color: #D1D5DB;
    margin-bottom: 32px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.op-service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.op-service-link i {
    transition: transform var(--trans-fast);
}

.op-service-link:hover i {
    transform: translateX(4px);
}

/* ── Neden Biz & Border Glow ── */
.op-neden-biz {
    background: var(--bg-main);
    border-top: 1px solid var(--border-color);
}

.op-neden-biz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.op-border-glow {
    position: relative;
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    transition: transform var(--trans-smooth);
}

.op-border-glow:hover {
    transform: translateY(-5px);
}

.op-border-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0%, transparent 80%, rgba(255, 69, 0, 0.4) 100%);
    animation: rotateGlow 4s linear infinite;
    opacity: 0;
    transition: opacity var(--trans-smooth);
    z-index: 0;
}

.op-border-glow:hover::after {
    opacity: 1;
}

.op-border-glow>* {
    position: relative;
    z-index: 2;
}

/* Make sure text is visible inside the card */
.op-border-glow .op-service-title {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 15px;
}

.op-border-glow .op-service-desc {
    color: #D1D5DB;
    font-size: 15px;
    line-height: 1.6;
}

.op-border-glow .op-service-icon {
    font-size: 40px;
    color: var(--accent-primary);
    margin-bottom: 20px;
    display: inline-block;
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ── Üretim Altyapımız ── */
.op-uretim {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

.op-uretim-grid {
    display: flex;
    gap: 60px;
    align-items: stretch;
}

.op-uretim-image-wrapper {
    flex: 1;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 100%;
    box-shadow: var(--shadow-lux);
}

.op-uretim-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.op-uretim-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.op-uretim-image-wrapper:hover .op-uretim-image img {
    transform: scale(1.05);
}

.op-uretim-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.4) 0%, rgba(13, 13, 16, 0.2) 100%);
    z-index: 1;
}

.op-uretim-text {
    flex: 1;
}

.op-uretim-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.op-ulist-item {
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    transition: all var(--trans-fast);
    opacity: 1;
}

.op-ulist-item:hover {
    background: rgba(255, 69, 0, 0.05);
    border-color: rgba(255, 69, 0, 0.3);
    transform: translateX(10px);
}

.op-ulist-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-primary);
    opacity: 0.5;
    line-height: 1;
    transition: opacity var(--trans-fast);
}

.op-ulist-item:hover .op-ulist-number {
    opacity: 1;
}

.op-ulist-content {
    flex: 1;
}

.op-ulist-title {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 4px;
}

.op-ulist-desc {
    color: #e5e7eb;
    font-size: 14px;
    line-height: 1.5;
}

/* 10. GALLERY SECTION */
.op-gallery {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

.op-gallery-header {
    text-align: center;
    margin-bottom: 64px;
}

.op-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.op-gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    border: 1px solid var(--border-glass);
}

.op-gallery-img {
    width: 100%;
    height: 100%;
    transition: transform var(--trans-smooth);
}

.op-gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.op-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 12, 16, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--trans-fast);
}

.op-gallery-overlay i {
    font-size: 32px;
    color: var(--text-light);
    transform: translateY(20px);
    transition: transform var(--trans-fast);
}

.op-gallery-item:hover .op-gallery-img {
    transform: scale(1.05);
}

.op-gallery-item:hover .op-gallery-overlay {
    opacity: 1;
}

.op-gallery-item:hover .op-gallery-overlay i {
    transform: translateY(0);
}

/* 11. CTA BLOCKS & EXTRAS */
.op-cta {
    background: var(--bg-main);
    padding: 120px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.op-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.op-cta-title {
    font-size: clamp(3rem, 4vw, 4rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.op-cta-desc {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.op-areas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}

.op-area-tag {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
}

.op-contact-map {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    border-radius: 0 !important;
    border: none !important;
}

.op-contact-map iframe {
    width: 100% !important;
    display: block;
}

/* 12. FOOTER (Strict 4-Column Grid) */
.op-footer {
    background: #000;
    border-top: 1px solid var(--border-color);
    padding-top: 100px;
    /* Daha premium boşluk */
}

.op-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    /* Sıkışık durmaması için */
    margin-bottom: 80px;
}

.op-footer-brand img {
    height: auto;
    width: 100%;
    max-width: 200px;
    /* Logo daha büyük ve orantılı */
    margin-bottom: 10px;
    /* Negatif boşluk eklendi (logo içindeki boşluk için) */
}

.op-footer-brand p {
    color: var(--text-muted);
    font-size: 16px;
    /* Okunabilirlik artırıldı */
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 380px;
}

.op-footer-social {
    display: flex;
    gap: 16px;
}

.op-footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    color: var(--text-light);
    transition: all var(--trans-fast);
}

.op-footer-social a:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    /* Şık interaktivite */
}

.op-footer h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--text-light);
    position: relative;
    padding-bottom: 12px;
}

.op-footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-primary);
}

.op-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.op-footer-links li {
    margin-bottom: 16px;
}

.op-footer-links a {
    color: var(--text-muted);
    font-size: 16px;
    transition: all var(--trans-fast);
    display: inline-block;
    /* Kayma sorunu için fix */
}

.op-footer-links a:hover {
    color: var(--accent-primary);
    transform: translateX(6px);
    /* padding yerine transform ile kaydırma daha akıcıdır */
}

.op-footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-muted);
}

/* 13. FLOATING BUTTONS */
.op-float-btn {
    position: fixed;
    right: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    z-index: 1000;
    box-shadow: var(--shadow-lux);
    transition: all var(--trans-fast);
}

.op-float-btn:hover {
    transform: translateY(-4px);
}

.op-float-whatsapp {
    bottom: 140px;
    background: #25D366;
}

.op-float-phone {
    bottom: 80px;
    background: var(--accent-primary);
}

.op-float-top {
    bottom: 20px;
    background: var(--bg-surface-light);
    border: 1px solid var(--border-glass);
    opacity: 0;
    visibility: hidden;
}

.op-float-top.visible {
    opacity: 1;
    visibility: visible;
}

.op-sticky-call {
    display: none;
}

/* 14. RESPONSIVE QUERIES */

@media (max-width: 1024px) {
    .op-about-grid {
        gap: 40px;
    }

    .op-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .op-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .op-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .op-neden-biz-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .op-uretim-grid {
        flex-direction: column;
        gap: 24px;
    }

    .op-uretim-image-wrapper {
        min-height: 400px;
        width: 100%;
    }
}

@media (max-width: 768px) {

    /* Hide Topbar */
    .op-topbar {
        display: none;
    }

    /* Premium Mobile Header Redesign */
    .op-header {
        height: 100px;
        background: rgba(11, 12, 16, 0.95);
        top: 0;
    }

    .op-header.scrolled {
        height: 80px;
        top: 0;
    }

    .op-navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .op-logo {
        display: flex;
        align-items: center;
        max-width: calc(100% - 60px);
        /* Strictly leave room for toggle */
        height: 100%;
        overflow: hidden;
    }

    .op-logo img {
        max-width: 100%;

        max-height: 150px;
        /* Premium, balanced size */
        object-fit: contain;
        object-position: left center;
        transform: none;
    }

    .op-header.scrolled .op-logo img {
        max-height: 50px;
    }

    .op-nav-right {
        display: flex;
        align-items: center;
    }

    .op-footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .op-footer {
        padding-top: 30px;
    }

    .op-footer-brand img {
        margin-bottom: -15px;
        /* In case the PNG has baked in whitespace */
    }

    .op-footer-brand p {
        margin-bottom: 15px;
        font-size: 14px;
    }

    .op-nav-links,
    .op-nav-cta,
    .op-nav-call,
    .op-search-form {
        display: none !important;
    }

    .op-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        font-size: 24px;
        color: var(--text-light);
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--border-glass);
        border-radius: var(--radius-sm);
        transition: all var(--trans-fast);
        outline: none;
    }

    .op-mobile-toggle:active {
        background: rgba(255, 69, 0, 0.2);
        border-color: var(--accent-primary);
        transform: scale(0.95);
    }

    .op-hero-container {
        margin-top: 0;
        /* Reverted negative pull, handled by fixed header now */
    }

    .op-hero-title {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
        line-height: 1.2;
    }

    .op-hero-stats {
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        width: 100%;
    }

    .op-stat-divider {
        display: none;
    }

    .op-about-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .op-about-image-wrapper {
        padding-left: 20px;
        padding-bottom: 20px;
    }

    .op-about-experience {
        left: -20px;
        bottom: -20px;
        padding: 24px;
    }

    .op-section {
        padding: 60px 0;
    }

    .op-services-header {
        margin-bottom: 32px;
    }

    .op-section-desc {
        margin-bottom: 24px;
    }

    .op-service-icon {
        margin-bottom: 16px;
    }

    .op-service-card {
        padding: 32px 24px;
    }

    .op-services-grid,
    .op-neden-biz-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .op-gallery-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 24px;
        margin-left: -24px;
        margin-right: -24px;
        padding-left: 24px;
        padding-right: 24px;
        width: calc(100% + 48px);
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .op-gallery-grid::-webkit-scrollbar {
        display: none;
    }

    .op-gallery-item {
        flex: 0 0 calc(85% - 16px);
        scroll-snap-align: center;
        aspect-ratio: 4 / 3;
    }

    .op-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .op-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .op-sticky-call {
        display: none !important;
    }

    .op-float-btn {
        right: 16px;
    }

    .op-float-whatsapp {
        bottom: 80px;
    }

    .op-float-phone {
        bottom: 20px;
    }



    .op-float-top {
        bottom: 20px;
        display: none;
    }

    /* Hide back to top on mobile with sticky bar */
}

@media (max-width: 480px) {
    .op-hero-actions {
        flex-direction: column;
    }

    .op-features-grid {
        grid-template-columns: 1fr;
    }
}

/* Lightbox Premium Styles */
#opLightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 12, 16, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

#opLightbox.active,
#opLightbox.open {
    opacity: 1;
    visibility: visible;
}

#opLightbox img {
    max-width: 95%;
    max-height: 85vh;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
    border-radius: var(--radius-sm);
    transform: scale(0.95) translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1) 0.1s;
    object-fit: contain;
}

#opLightbox.active img,
#opLightbox.open img {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.op-lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.op-lightbox-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
}

@media (max-width: 768px) {
    .op-lightbox-close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}