* {
    font-family: 'Sen', Arial;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

::-webkit-scrollbar-corner {
    background: #f1f1f1;
}

:root {
    --primary-color: #002E5B;
    --secondary-color: #6859A3;
    --tertiary-color: #ffd61f;
    --footer-bg: #222;
    --light-bg-color: #f7fafd;
}

.bg-primary { background-color: var(--primary-color); }
.text-primary { color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.text-secondary { color: var(--secondary-color); }
.border-secondary { border-color: var(--secondary-color); }
.bg-tertiary { background-color: var(--tertiary-color); }
.text-tertiary { color: var(--tertiary-color); }
.bg-light-bg { background-color: var(--light-bg-color); }

.heading-shape-left, .heading-shape-right {
    display: inline-block;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 0 10px;
    vertical-align: middle;
    opacity: 0.2;
}

h3 {
    font-size: 24px !important;
}

.heading-shape-tertiary {
     background-color: var(--tertiary-color);
     opacity: 1;
}

.btn-custom {
    background-color: var(--secondary-color);
    border-radius: 8px;
    font-size: 14px;
    text-transform: uppercase;
    padding: 10px 20px;
    transition: background-color 0.3s, color 0.3s;
}

.btn-custom:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.video-banner-overlay {
    background-color: rgba(0, 53, 132, 0.51); 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#video-banner {
    height: 100vh;
}

.header-scrolled {
    background-color: rgba(255,255,255,0.9) !important;
    backdrop-filter: saturate(180%) blur(10px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

#header .container,
#header .logo img {
    transition: all 0.3s ease;
}

#header.header-scrolled .logo img {
    max-height: 50px;
}

.header-scrolled .container {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.bg-customer-focus {
    background-color: var(--tertiary-color); 
    color: var(--primary-color);
    border-radius: 5px 5px 50px 5px !important;
}

.services-section-spacing {
    margin-top: 100px;
}

.parallax-section {
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('https://www.karitex.com.tr/wp-content/uploads/2024/07/Karitex-Iletisim.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    z-index: 1;
}

.parallax-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 46, 91, 0.7);
    z-index: 2;
}
.bg-customer-focus .text-tertiary {
    color: var(--primary-color);
}
.bg-customer-focus a:hover .text-tertiary {
    color: var(--secondary-color);
}

.icon-box-item {
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s, border-radius 0.3s, color 0.3s;
    border-top: 4px solid transparent;
}
.icon-box-item.border-secondary {
     border-color: var(--secondary-color);
}
.icon-box-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    background-color: var(--tertiary-color) !important;
    border-radius: 0px 0px 50px 0px !important;
}

.icon-box-item:hover .text-primary,
.icon-box-item:hover .text-gray-600,
.icon-box-item:hover h4,
.icon-box-item:hover p {
    color: var(--primary-color) !important;
}

.icon-box-item:hover .text-primary {
    color: var(--primary-color) !important;
}

.accordion-item {
    border: 1px solid #e5e5e5;
    margin-bottom: 1px; 
    border-radius: 0;
    overflow: hidden;
    background-color: white;
}
.accordion-title {
    cursor: pointer;
    padding: 15px 20px;
    background-color: white;
    color: var(--primary-color);
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}
.accordion-title:hover {
    background-color: #f7f7f7;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    background-color: #fafafa;
}
.accordion-content p {
    padding: 15px 20px;
    color: #666;
}
.accordion-item.active .accordion-content {
    max-height: 200px;
}
.accordion-icon i {
    transition: transform 0.3s;
}
.accordion-item.active .accordion-icon i {
    transform: rotate(45deg);
}
#contact-form input, #contact-form textarea {
    color: #333;
    background-color: white;
    border: 1px solid #e5e5e5;
}
#contact-form input::placeholder, #contact-form textarea::placeholder {
    color: #777;
}

.hero-text-area {
    background-color: #FFD61F;
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 10%;
    padding-right: 10%;
}

@media (min-width: 768px) {
    .hero-text-area {
        width: 50%;
        margin: 0 auto;
        border-radius: 50px 50px 0px 0px;
        padding: 1rem;
    }
}

.hero-title {
    color: #1a2952;
    font-size: 1.50rem;
    line-height: 2.0rem;
    font-weight: 600;
}

.contact-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(74, 87, 254, 0.4);
    transition: all 0.3s ease;
    animation: contactPulse 2s infinite;
    cursor: pointer;
    position: relative;
}

.contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(74, 87, 254, 0.6);
}

.contact-btn i,
.contact-btn svg {
    font-size: 24px;
    color: white !important;
    display: block;
    fill: white !important;
}

.contact-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 10px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.contact-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.contact-option:last-child {
    margin-bottom: 0;
}

.contact-option:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.contact-option-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 18px;
    color: white;
}

.contact-option-icon.whatsapp {
    background-color: #25D366;
}

.contact-option-icon.email {
    background-color: #EA4335;
}

.contact-option-icon.phone {
    background-color: #34A853;
}

.contact-option-text {
    font-weight: 600;
    font-size: 14px;
}

.contact-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: #f1f3f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    color: #666;
    transition: all 0.3s ease;
}

.contact-close:hover {
    background: #e8eaed;
    color: #333;
}

@keyframes contactPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 87, 254, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(74, 87, 254, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 87, 254, 0);
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
    background: linear-gradient(135deg, #002E5B 0%, #0055a9 50%, #002E5B 100%);
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.modal-close {
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 1;
}

.modal-close:hover {
    opacity: 0.7;
}

.modal-form {
    padding: 25px;
}

.form-group {
    margin-bottom: 20px;
}


.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-submit-btn {
    width: 100%;
    background: var(--tertiary-color);
    color: var(--primary-color);
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-submit-btn:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 214, 31, 0.3);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-form {
        padding: 20px;
    }
}

.hero-left-content {
    color: white;
    text-align: center;
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-btn {
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-btn-primary {
    background-color: var(--tertiary-color);
    color: var(--primary-color);
    font-weight: 700;
}

.hero-btn-primary:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    font-weight: 600;
}

.hero-btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-contact-form {
    background-color: rgba(255, 255, 255, 0.35);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    max-width: 400px;
    margin: 0 auto 1.5rem auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-bg-color);
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.quick-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-contact-form input,
.quick-contact-form textarea {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: white;
}

.quick-contact-form input:focus,
.quick-contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-submit-btn {
    background-color: var(--tertiary-color);
    color: var(--primary-color);
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 214, 31, 0.3);
}

.form-submit-btn:hover {
    background-color: #ffed4e;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 214, 31, 0.5);
}

@media (max-width: 768px) {
    .hero-main-title {
        font-size: 2.25rem;
        margin-bottom: 0.75rem;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    #video-banner {
        min-height: 85vh;
        padding-top: 48px;
        padding-bottom: 36px;
    }
    #video-banner .z-20.w-full.h-full.flex.items-center {
        align-items: flex-start;
    }
    .hero-left-content {
        margin-top: 0vh;
    }
    .hero-text-area {
        bottom: 8px;
        padding: 0.5rem 1rem;
    }
    #about-us .divide-x {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
        border: 0 !important;
    }
    #about-us .divide-x > div {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
.product-detail-page {
    min-height: 100vh;
}
.product-detail-grid {
    gap: 2rem;
}
.product-image-wrapper {
    transition: all 0.3s ease;
}
.product-main-image {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-main-image img {
    max-height: 600px;
    width: auto;
}
.composition-item {
    transition: all 0.2s ease;
}
.btn-product-contact {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
}
.btn-product-contact:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 10px 25px rgba(74, 87, 254, 0.3);
}
.tab-button {
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
}
.tab-button.active {
    color: var(--primary-color);
}
.tab-panel {
    animation: fadeIn 0.3s ease;
}
.tab-panel.hidden {
    display: none;
}
.tab-panel.active {
    display: block;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.related-product-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.related-product-card:hover {
    border-color: var(--secondary-color);
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.page-title{position:relative;display:inline-block;line-height:1.2;color:var(--primary-color);letter-spacing:-0.005em}
.page-title::before{content:"";position:absolute;left:0;bottom:-12px;width:140px;height:3px;border-radius:9999px;background:linear-gradient(90deg,#002E5B 0%, var(--secondary-color) 100%);box-shadow:0 6px 12px rgba(74,87,254,.14)}
.page-title::after{content:none}
.breadcrumb a {
    text-decoration: none;
}
/* a11y: focus visible outlines */
:focus-visible{outline:3px solid var(--secondary-color);outline-offset:2px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{box-shadow:0 0 0 3px rgba(104,89,163,.35)}
/* a11y: larger touch targets */
a,button{min-height:44px}
.btn-custom,.hero-btn{min-height:44px}
#lang-select,#lang-select-mobile{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23002E5B' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:12px;padding-right:36px}
/* a11y: anchored sections avoid header overlap */
#about-us,#products,#contact{scroll-margin-top:96px}
/* a11y: keyboard opens dropdown */
.group:focus-within .group-hover\:block{display:block !important}
/* a11y: reduced motion */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:0.001ms !important;animation-iteration-count:1 !important;transition-duration:0.001ms !important;scroll-behavior:auto !important}
}
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    .product-image-wrapper {
        position: static;
    }
}
@media (max-width: 768px) {
    .product-detail-page {
        padding-top: 100px;
    }
    .tabs-header {
        display: flex;
        overflow-x: auto;
    }
    .tab-button {
        white-space: nowrap;
        padding: 1rem 1.5rem;
    }
}
@media (min-width:1024px){.hero-left-content{margin-top:-164px}}
.product-group-badge{display:inline-block;font-weight:700;text-transform:uppercase;letter-spacing:0.5px;transition:all 0.3s ease}
.product-group-badge:hover{transform:scale(1.05);box-shadow:0 4px 12px rgba(0,46,91,0.3)}
.product-card{position:relative;text-decoration:none;color:inherit}
.product-card:hover{text-decoration:none}
.product-media{position:relative;overflow:hidden}
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}
@media (max-width:640px){.product-grid{grid-template-columns:1fr}}