/* Opet Official Style Mimicry - Premium Corporate Look */
:root {
    /* Brand Colors */
    --opet-navy: #003087;
    /* Official-like dark blue */
    --opet-blue: #004a99;
    /* Primary bright blue */
    --opet-light-blue: #eef5ff;
    --opet-yellow: #ffc107;
    --opet-orange: #ff6a00;

    /* Text Colors */
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #ffffff;

    /* Structure */
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --header-height: 100px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-stack);
}

body {
    background-color: #f8fafd;
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.highlight-text {
    color: var(--opet-yellow);
}

.highlight-text-blue {
    color: var(--opet-blue);
}

.bg-blue-grad {
    background: linear-gradient(135deg, var(--opet-blue), var(--opet-navy));
}

.bg-dark-blue {
    background: var(--opet-navy);
}

.bg-yellow-grad {
    background: linear-gradient(135deg, #ffde59, var(--opet-yellow));
}

.text-yellow {
    color: var(--opet-yellow);
}

.text-white {
    color: #fff;
}

.text-blue {
    color: var(--opet-navy);
}

/* Buttons */
[class^="btn-"] {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 15px;
}

.btn-primary {
    background-color: var(--opet-orange);
    color: white;
    border: 2px solid var(--opet-orange);
    box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
}

.btn-primary:hover {
    background-color: #e65f00;
    border-color: #e65f00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 106, 0, 0.4);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--opet-navy);
}

.btn-online-islemler {
    background-color: var(--opet-orange);
    color: white;
    padding: 10px 22px;
    border-radius: 6px;
    /* Slightly squarer for corporate button */
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-online-islemler:hover {
    background-color: #d95a00;
}

/* Links */
.btn-link {
    color: var(--opet-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-link i {
    transition: transform 0.2s;
}

.btn-link:hover {
    color: var(--opet-orange);
}

.btn-link:hover i {
    transform: translateX(4px);
}

.btn-link.secondary {
    color: var(--text-muted);
    font-weight: 500;
}

.btn-link.secondary:hover {
    color: var(--opet-blue);
}

/* --- HEADER / NAVBAR --- */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    height: var(--header-height);
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Brand Logo */
.brand-logo {
    height: 70px;
    /* Adjust based on navbar height */
    width: auto;
    object-fit: contain;
    display: block;
}

.logo a {
    text-decoration: none;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-menu>li>a {
    text-decoration: none;
    color: var(--opet-navy);
    font-weight: 600;
    font-size: 15px;
    padding: 10px 0;
    position: relative;
    transition: color 0.2s;
}

.main-menu>li>a:hover {
    color: var(--opet-orange);
}

.main-menu>li>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--opet-orange);
    transition: var(--transition);
}

.main-menu>li:hover>a::after {
    width: 100%;
}

.fa-chevron-down {
    font-size: 10px;
    margin-left: 4px;
    color: #999;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: white;
    min-width: 580px;
    box-shadow: 0 15px 45px rgba(0, 48, 135, 0.12);
    border-radius: 12px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    
    transition: var(--transition);
    padding: 20px 10px;
    border-top: 4px solid var(--opet-orange);
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(3, auto);
    grid-template-columns: repeat(2, 1fr);
    gap: 0 10px;
}

.dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.submenu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.submenu li a:hover {
    background: var(--opet-light-blue);
    color: var(--opet-blue);
}


/* --- GALLERY SECTION --- */
.gallery-section {
    padding: 80px 5%;
    background: #fdfdfd;
}

.gallery-container {
    max-width: 1300px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 250px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 48, 135, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 30px;
}

/* --- LIGHTBOX --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: flex;
    /* Always flex to allow transition */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    transform: scale(0.85);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    pointer-events: none;
}

.lightbox-nav i {
    color: white;
    font-size: 40px;
    cursor: pointer;
    pointer-events: auto;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.lightbox-nav i:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .gallery-item {
        height: 150px;
    }
}

/* --- PAGE HEADERS --- */
.hero-section {
    position: relative;
    height: calc(100vh - var(--header-height));
    min-height: 600px;
}

.fullscreen-section {
    padding: 60px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.myHeroSwiper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.swiper-slide {
    overflow: hidden;
    position: relative;
    /* Removed flex to strictly use absolute positioning for content */
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 6s linear;
    /* Ken Burns effect base */
    transform: scale(1.05);
    /* initial scale */
}

/* Active slide slowly scales up */
.swiper-slide-active .slide-bg {
    transform: scale(1.15);
    /* end scale */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 48, 135, 0.9) 0%, rgba(0, 74, 153, 0.6) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.hero-content-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    color: white;
}

.hero-text-box {
    max-width: 600px;
}

.hero-badge {
    background-color: var(--opet-yellow);
    color: var(--opet-navy);
    font-weight: 700;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Animations for slide content */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.swiper-slide-active .animate-up {
    opacity: 1;
    transform: translateY(0);
}

/* Swiper Controls Custom Styling Premium */
.swiper-button-next,
.swiper-button-prev {
    color: white !important;
    background: rgba(0, 48, 135, 0.5);
    padding: 30px 20px;
    border-radius: 8px;
    transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--opet-orange);
    transform: scale(1.05);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px !important;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: white !important;
    opacity: 0.5 !important;
    width: 12px !important;
    height: 12px !important;
    transition: all 0.3s !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: var(--opet-yellow) !important;
    width: 30px !important;
    border-radius: 6px !important;
}

/* Quick Actions Bar Overlay */
.quick-actions-bar {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    width: 90%;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    z-index: 10;
    overflow: hidden;
}

.quick-action-item {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-right: 1px solid #eaeaea;
    cursor: pointer;
    transition: var(--transition);
}

.quick-action-item:last-child {
    border-right: none;
}

.quick-action-item:hover {
    background-color: var(--opet-light-blue);
}

.quick-action-item i {
    font-size: 28px;
    color: var(--opet-blue);
    transition: transform 0.3s;
}

.quick-action-item:hover i {
    transform: scale(1.1);
}

.qa-details {
    display: flex;
    flex-direction: column;
}

.qa-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--opet-navy);
}

.qa-desc {
    font-size: 13px;
    color: var(--text-muted);
}

.highlight-qa {
    background-color: var(--opet-navy);
}

.highlight-qa i {
    color: var(--opet-yellow);
}

.highlight-qa .qa-title {
    color: white;
}

.highlight-qa .qa-desc {
    color: #aaa;
}

.highlight-qa:hover {
    background-color: #002266;
}


/* --- SERVICES SECTION --- */
.services-section {
    padding: 60px 3% 60px;
    max-width: 1700px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--opet-navy);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: -20px;
    /* overlapping effect on padding */
}

/* 4 Cards inline using flex for services */
.services-section .cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.modern-card {
    background: white;
    border-radius: 16px;
    flex: 1;
    min-width: 200px;
    max-width: 100%;
    /* Removes previous max-width constraint for better row wrapping */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    position: relative;
    padding: 40px 25px 30px;
    margin-top: 40px;
    /* room for floating icon */
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

@media (min-width: 1200px) {
    .modern-card {
        max-width: calc(20% - 16px);
        min-width: 200px;
    }
}

@media (max-width: 1199px) and (min-width: 900px) {
    .modern-card {
        max-width: calc(33.33% - 20px);
    }
}

@media (max-width: 899px) and (min-width: 600px) {
    .modern-card {
        max-width: calc(50% - 20px);
    }
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 74, 153, 0.1);
    border-color: var(--opet-light-blue);
}

.card-image-wrapper {
    position: absolute;
    top: -30px;
    left: 25px;
}

.card-icon-floating {
    width: 65px;
    height: 65px;
    background: var(--opet-navy);
    /* Default color if not inline specified */
    color: white;
    /* Ensure icons stay white */
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.modern-card:hover .card-icon-floating {
    background: var(--opet-orange);
    box-shadow: 0 10px 20px rgba(255, 106, 0, 0.3);
    transform: rotate(5deg) scale(1.05);
}

.card-icon-floating i {
    color: white;
    font-size: 26px;
}

.card-content h3 {
    font-size: 20px;
    color: var(--opet-navy);
    margin-bottom: 12px;
}

.card-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.7;
    min-height: 70px;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}


/* --- BANNER SECTION (Sustainability) --- */
.banner-section {
    padding: 40px 5%;
}

.banner-container {
    background: var(--opet-navy);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.banner-content {
    padding: 60px;
    color: white;
    max-width: 600px;
    z-index: 2;
}

.banner-tag {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
}

.banner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.banner-content p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.banner-image {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50%;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.2), rgba(0, 119, 182, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.sustainability-graphic {
    font-size: 180px;
    color: rgba(255, 255, 255, 0.4);
    transform: rotate(15deg);
}


/* --- CAMPAIGNS SECTION --- */
.campaigns-section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header .view-all-link {
    color: var(--opet-orange);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.campaign-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--opet-blue) #eee;
}

.campaign-carousel::-webkit-scrollbar {
    height: 8px;
}

.campaign-carousel::-webkit-scrollbar-thumb {
    background: var(--opet-blue);
    border-radius: 4px;
}

.campaign-card {
    min-width: 320px;
    flex: 1;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.campaign-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.camp-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.camp-info {
    padding: 25px;
}

.camp-info h4 {
    font-size: 18px;
    color: var(--opet-navy);
    margin-bottom: 10px;
}

.camp-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.camp-date {
    font-size: 12px;
    color: var(--opet-orange);
    font-weight: 700;
    background: #fff4ea;
    padding: 4px 10px;
    border-radius: 4px;
}


/* --- QUICK CONTACT SECTION --- */
.quick-contact-section {
    padding: 60px 4% 80px;
    background: transparent;
    border-top: 1px solid #E3E3E3;
}

.quick-contact-container {
    max-width: 1364px;
    margin: 0 auto;
}

.quick-contact-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 48, 135, 0.08);
    display: flex;
    overflow: hidden;
    flex-wrap: wrap;
}

.quick-contact-info {
    flex: 1;
    min-width: 300px;
    background: var(--opet-navy);
    color: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quick-contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--opet-yellow);
}

.quick-contact-info p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.quick-contact-form-wrapper {
    flex: 1.5;
    min-width: 300px;
    padding: 50px;
}

.qform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.qform-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qform-group.full-width {
    grid-column: 1 / -1;
}

.qform-group label {
    font-weight: 600;
    color: var(--opet-navy);
    font-size: 14px;
}

.qform-group input,
.qform-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.qform-group input:focus,
.qform-group textarea:focus {
    border-color: var(--opet-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.1);
}

.qform-consent {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: var(--text-muted);
}

.qform-consent input {
    margin-top: 3px;
}

.btn-whatsapp-submit {
    margin-top: 25px;
    background: var(--opet-orange);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-whatsapp-submit:hover {
    background: #d95a00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 102, 0, 0.3);
}

@media (max-width: 768px) {
    .qform-grid {
        grid-template-columns: 1fr;
    }

    .quick-contact-info,
    .quick-contact-form-wrapper {
        padding: 30px;
    }
}

/* --- FOOTER --- */
.main-footer {
    background-color: var(--opet-navy);
    color: white;
    padding-top: 80px;
}

.footer-top {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 3% 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2.2fr 1.6fr;
    gap: 50px;
}

.footer-group-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 logos per row */
    gap: 15px;
    margin-top: 5px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 440px;
}

.group-logo-item {
    background: white;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 90px;
}

/* 5. logoyu (tek kalan) iki sÃ¼tuna yayarak ortalar */
.group-logo-item:last-child:nth-child(odd) {
    grid-column: span 2;
    width: calc(50% - 8px);
    /* YanÄ±ndaki boÅŸlukla uyumlu geniÅŸlik */
    justify-self: center;
}

.group-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border-color: var(--opet-yellow);
}

.group-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.footer-summary {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b3c6ff;
    font-size: 14px;
    line-height: 1.6;
    width: 100%;
    text-align: center;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--opet-yellow);
    color: var(--opet-navy);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
    color: #b3c6ff;
    font-size: 14px;
}

.footer-col ul li a {
    color: #b3c6ff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--opet-yellow);
}

.contact-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--opet-yellow);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    background-color: #002266;
    padding: 20px 5%;
}

.footer-bottom-flex {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #8caeff;
}

.legal-links a {
    color: #8caeff;
    text-decoration: none;
    margin-left: 20px;
}

.legal-links a:hover {
    color: white;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--opet-navy);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--opet-orange);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .quick-actions-bar {
        position: relative;
        bottom: 0;
        transform: none;
        left: 0;
        width: 100%;
        border-radius: 0;
        grid-template-columns: 1fr 1fr;
    }

    .services-section {
        padding-top: 60px;
    }

    .hero-section {
        height: 500px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Mobile Menu Dropdown */
    .main-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 0;
        z-index: 999;
        text-align: center;
        border-top: 1px solid #eee;
    }

    .main-menu.show {
        display: flex;
    }

    .main-menu>li {
        width: 100%;
    }

    .main-menu>li>a {
        display: block;
        padding: 15px 5%;
        border-bottom: 1px solid #eee;
    }

    .main-menu>li>a::after {
        display: none;
        /* Hide hover underline effect on mobile */
    }

    /* Mobile Submenu */
    .submenu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding: 0;
        border-left: none;
        background-color: #f8fafd;
        margin: 0;
        border-top: none;
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
        min-width: 100%;
    }

    /* Allow showing submenu on hover/touch temporarily */
    .dropdown:hover .submenu {
        display: block;
    }

    .services-section .cards-grid {
        padding-top: 20px;
    }

    .banner-container {
        flex-direction: column;
    }

    .banner-image {
        position: relative;
        width: 100%;
        height: 200px;
        clip-path: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: -150px;
    /* Hidden state */
    left: 0;
    width: 100%;
    background-color: #f8fafd;
    border-top: 2px solid var(--opet-navy);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-consent-banner.show {
    bottom: 0;
    /* Visible State */
}

.cookie-content {
    flex: 1;
    max-width: 800px;
    margin-right: 30px;
}

.cookie-content p {
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.6;
}

.cookie-content a {
    color: var(--opet-navy);
    font-weight: 600;
}

.cookie-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    white-space: nowrap;
}

.btn-cookie-accept {
    background-color: var(--opet-orange);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-family: var(--font-stack);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-cookie-accept:hover {
    background-color: #d95a00;
}

.btn-cookie-details {
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-consent-banner {
        flex-direction: column;
        padding: 20px;
        text-align: center;
        gap: 15px;
    }

    .cookie-content {
        margin-right: 0;
    }
}

/* KVKK Modal Styles */
.kvkk-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.kvkk-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: fadeInModal 0.3s ease-in-out;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kvkk-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.kvkk-close:hover,
.kvkk-close:focus {
    color: var(--opet-orange);
    text-decoration: none;
}

.kvkk-modal-content h2 {
    color: var(--opet-navy);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--opet-orange);
    padding-bottom: 10px;
    font-size: 1.5rem;
}

.kvkk-text {
    line-height: 1.6;
    color: var(--text-main);
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 15px;
}

.kvkk-text h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--opet-blue);
    font-size: 1.2rem;
}

.kvkk-text p {
    margin-bottom: 15px;
    text-align: justify;
}

/* Custom scrollbar for KVKK text area */
.kvkk-text::-webkit-scrollbar {
    width: 6px;
}

.kvkk-text::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.kvkk-text::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.kvkk-text::-webkit-scrollbar-thumb:hover {
    background: var(--opet-navy);
}

/* HakkÄ±mÄ±zda SayfasÄ± Stilleri */
.page-header {
    position: relative;
    padding: 80px 5% 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 48, 135, 0.85), rgba(0, 102, 204, 0.65));
}

.page-header-content {
    position: relative;
    z-index: 2;
    color: white;
}

.header-badge {
    display: inline-block;
    background: var(--opet-yellow);
    color: var(--opet-navy);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.page-header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.page-header-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.6;
}

.about-page-section {
    padding: 100px 5%;
    background-color: #fff;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text-content {
    flex: 1;
}

.about-image-content {
    flex: 1;
    position: relative;
}

.about-image-content img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--opet-navy);
    color: white;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 48, 135, 0.3);
    border: 3px solid var(--opet-yellow);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--opet-yellow);
}

.experience-badge .text {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--opet-blue);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Responsive DÃ¼zenlemeler */
@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
    }

    .experience-badge {
        bottom: -20px;
        left: 20px;
        padding: 20px;
    }

    .page-header-content h1 {
        font-size: 2.5rem;
    }
}

/* Footer Mobile Optimization */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-group-grid {
        margin: 0 auto 30px;
        justify-content: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col ul li {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .footer-col ul li i {
        margin-right: 0;
        margin-bottom: 5px;
        color: var(--opet-yellow);
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .legal-links {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .legal-links a {
        margin-left: 0;
    }

    .footer-summary {
        text-align: center;
    }
}

/* --- SERVICE PAGE SIDEBAR LAYOUT --- */
.service-layout-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    padding: 80px 4%;
    align-items: flex-start;
}

.service-sidebar {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
}

.service-main-content {
    flex: 1;
}

.sidebar-widget {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 48, 135, 0.05);
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #f0f4f8;
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    color: var(--opet-navy);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--opet-yellow);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 8px;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: #f8fbff;
    color: var(--opet-navy);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.sidebar-menu li a i {
    font-size: 0.8rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    background: var(--opet-navy);
    color: white;
    transform: translateX(5px);
}

.sidebar-menu li a:hover i,
.sidebar-menu li a.active i {
    opacity: 1;
    color: var(--opet-yellow);
}

.sidebar-contact-card {
    background: var(--opet-navy);
    border-radius: 15px;
    padding: 30px;
    color: white;
    text-align: center;
}

.sidebar-contact-card i {
    font-size: 2.5rem;
    color: var(--opet-yellow);
    margin-bottom: 15px;
    display: block;
}

.sidebar-contact-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.sidebar-contact-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.sidebar-btn {
    display: block;
    background: var(--opet-orange);
    color: white !important;
    padding: 12px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.sidebar-btn:hover {
    background: #d95a00;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .service-layout-container {
        flex-direction: column;
        padding-top: 60px;
    }

    .service-sidebar {
        width: 100%;
        position: static;
        order: 2;
    }

    .service-main-content {
        order: 1;
        width: 100%;
    }
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0) !important;
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-down {
    transform: translateY(-50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(0.9);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }


/* Ekinci Exact Layout & Typography Replication */
.ekinci-wrapper {
    width: 100%;
    font-family: 'Roboto', sans-serif;
    color: #1D1D1B;
}

.ekinci-intro {
    max-width: 1364px;
    margin: 0 auto 80px;
    padding: 80px 20px;
    text-align: center;
}

.ekinci-intro h2 {
    font-size: 40px;
    color: var(--opet-navy); /* EkincioÄŸlu uses navy for main titles typically, or #0C1C8C */
    font-weight: 500;
    margin-bottom: 25px;
}

.ekinci-intro p {
    font-size: 18px;
    line-height: 1.57;
    font-weight: 300;
    max-width: 1000px;
    margin: 0 auto;
}

.ekinci-two-list {
    margin-top: 50px;
}

.ekinci-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 0;
    padding: 80px 0;
    background-color: white;
    transition: var(--transition);
}

.ekinci-item:nth-child(even) {
    background-color: #f8fafd;
}

.ekinci-item-text {
    width: 48%;
    max-width: 660px;
    padding: 20px 40px;
    box-sizing: border-box;
}

.ekinci-item-img {
    width: 48%;
    max-width: 660px;
    padding: 20px 40px;
    box-sizing: border-box;
}

.ekinci-item-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    display: block;
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* 2nd Item reverse direction */
.ekinci-item:nth-child(2n) {
    flex-direction: row-reverse;
}

.ekinci-item:nth-child(2n) .ekinci-item-text {
    padding-left: 40px;
}

.ekinci-item:nth-child(2n) .ekinci-item-img {
    padding-right: 40px;
}

/* Typography */
.ekinci-title {
    color: var(--opet-navy);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: 20px;
}

.ekinci-text {
    color: #1D1D1B;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.57;
    margin-bottom: 25px;
}

.ekinci-highlight {
    color: var(--opet-orange);
    font-weight: 500;
    font-size: 16px;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ekinci-item:nth-child(even) .ekinci-highlight {
    color: var(--opet-blue);
}

/* Responsive */
@media (max-width: 980px) {
    .ekinci-item {
        align-items: flex-start;
    }
    .ekinci-title {
        font-size: 23px;
    }
}

@media (max-width: 640px) {
    .ekinci-item {
        flex-direction: column-reverse !important;
        padding: 30px 20px;
    }
    .ekinci-item-text,
    .ekinci-item-img,
    .ekinci-item:nth-child(2n) .ekinci-item-text,
    .ekinci-item:nth-child(2n) .ekinci-item-img {
        width: 100%;
        padding: 0;
        max-width: none;
    }
    .ekinci-item-img img {
        height: auto;
    }
    .ekinci-item-text {
        margin-top: 20px;
    }
    .ekinci-intro h2 {
        font-size: 25px;
    }
    .ekinci-text {
        font-size: 16px;
    }
}


/* Footer Services Column Split */
.footer-submenu {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 40px;
    min-width: 320px;
    list-style: none;
    padding: 0;
}

.footer-submenu li {
    margin-bottom: 12px;
    white-space: nowrap;
}
/* --- GLOBAL MOBILE RESPONSIVENESS FIXES --- */
@media (max-width: 600px) {
    /* Homescreen Service Cards: Force stack vertically */
    .services-section .cards-grid {
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .modern-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 50px !important;
    }

    /* Typography: Adjust Hero title size for mobile */
    .hero-title {
        font-size: 2.2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }

    /* Footer: Collapse service columns into 1 */
    .footer-submenu {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        min-width: unset !important;
    }
    
    .footer-submenu li {
        white-space: normal !important;
    }

    /* Header: Adjust height and logo for mobile */
    .header-main {
        height: 80px !important;
    }
    
    .brand-logo {
        height: 50px !important;
    }
    
    /* Reveal animations mobile offset */
    .reveal-up {
        transform: translateY(30px);
    }
}

/* --- MOBILE MENU FIXES --- */
@media (max-width: 768px) {
    .main-menu {
        text-align: left !important;
        padding: 10px 0 !important;
    }
    
    .main-menu > li {
        border-bottom: 1px solid #f2f2f2;
    }

    .main-menu > li > a {
        padding: 15px 20px !important;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        background: #fff;
    }

    /* Submenu (Hizmetler) styling for mobile */
    .submenu {
        display: block !important; /* Always visible in mobile for now as a list */
        position: static !important;
        width: 100% !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: #f9f9f9 !important;
        padding: 0 !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: none !important;
        box-shadow: none !important;
        border-top: none !important;
    }

    .submenu li {
        width: 100% !important;
        border-bottom: 1px solid #eee;
    }

    .submenu li a {
        padding: 12px 35px !important; /* Indented for submenu parent-child feel */
        text-align: left !important;
        font-size: 14px !important;
        color: #555 !important;
        display: block !important;
    }
    
    .submenu li:last-child {
        border-bottom: none;
    }

    /* Dropdown chevron rotation/hiding on mobile */
    .fa-chevron-down {
        display: none; /* Hide chevron on mobile to avoid confusion if it doesn't toggle */
    }
}

/* --- MOBILE MENU ACCORDION LOGIC --- */
@media (max-width: 768px) {
    .submenu {
        display: none !important; /* Hide by default on mobile */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    .submenu.open {
        display: block !important; /* Show when toggled via JS */
        max-height: 2000px; /* Large enough to fit all links */
    }

    .main-menu > li > a i {
        display: inline-block !important; /* Show chevron on mobile for rotation */
        transition: transform 0.3s ease;
    }
}

/* --- PROFESSIONAL SCROLLABLE MOBILE MENU --- */
@media (max-width: 768px) {
    /* Ana menü konteynerını ekran yüksekliğine göre ayarla ve kaydırılabilir yap */
    .main-menu {
        position: fixed !important;
        top: 80px !important; /* Header yüksekliği kadar aşağıdan başla */
        left: 0 !important;
        width: 100% !important;
        height: calc(100vh - 80px) !important;
        background: #ffffff !important;
        overflow-y: auto !important; /* İçeriğin kaymasına izin ver */
        -webkit-overflow-scrolling: touch;
        padding-bottom: 50px !important; /* En alttaki linklerin rahat görünmesi için */
        z-index: 1001 !important;
    }

    .main-menu.show {
        display: flex !important;
    }

    /* Hizmetler açıldığında diğer menüleri aşağı iter */
    .submenu.open {
        display: block !important;
        max-height: none !important; /* İçerik kadar uzasın */
        padding-bottom: 10px !important;
    }

    /* Sayfa kaymasını engellemek için yardımcı class (isteğe bağlı JS ile eklenebilir) */
    body.menu-open {
        overflow: hidden !important;
    }
}

/* --- SERVICE CARD SPACING ADJUSTMENT --- */
.card-content p {
    margin-bottom: 10px !important; /* Boşluğu azalttık */
    line-height: 1.5 !important;   /* Satır arası mesafeyi daralttık */
    min-height: 0 !important;      /* Sabit yükseklik engelini kaldırdık */
}
.card-content h3 {
    margin-bottom: 15px !important;
}

/* --- RECAPTCHA BRANDING IN-FORM (Hidden Float) --- */
.grecaptcha-badge {
    
}
