/* Sekra Global - Professional ECM Repair Style - COMPLETE */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #1a1a1a;
    color: white;
    padding: 20px 0;
    position: relative;
    z-index: 100;
    overflow: visible;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    overflow: visible;
    position: relative;
}

.logo {
    flex-shrink: 0;
}

.main-nav {
    flex-grow: 1;
    justify-content: flex-end;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
}

.main-nav {
    display: flex;
    gap: 5px;
    align-items: center;
    flex-wrap: wrap;
    overflow: visible;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 12px;
    white-space: nowrap;
    padding: 8px 10px;
    transition: color 0.3s;
    display: inline-block;
}

.main-nav .dropdown {
    flex-shrink: 0;
}

.main-nav a:hover {
    color: #0066cc;
}

.main-nav a:active,
.main-nav a:focus {
    outline: none;
}

/* Dropdown Menu - FIXED */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown > a {
    display: block;
    padding: 8px 10px;
    color: white;
    text-decoration: none;
    font-size: 12px;
    white-space: nowrap;
    transition: color 0.3s;
    cursor: pointer;
}

.dropdown > a:hover {
    color: #0066cc;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 220px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    padding: 10px 0;
    top: 100%;
    left: 0;
    border-radius: 8px;
    margin-top: 2px;
}

.dropdown-content a {
    color: #333 !important;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: all 0.2s;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #0066cc !important;
    padding-left: 25px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Section - Dynamic from Admin */
.hero-section {
    min-height: 400px;
    display: flex;
    align-items: center;
    padding: 80px 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    filter: brightness(1.1);
}

/* Banner Style Animations */
.hero-style4 {
    animation: gradient-shift 10s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsive hero section */
@media (max-width: 768px) {
    .hero-section {
        min-height: 300px;
        padding: 60px 20px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .hero-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* Services Title */
.services-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin: 60px 0 10px;
    color: #1a1a1a;
}

.services-subtitle {
    text-align: center;
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 40px;
}

/* Categories Grid - FIXED */
.categories-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0 60px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.category-item {
    text-align: center;
    width: 140px;
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-icon {
    width: 110px;
    height: 110px;
    border: 3px solid #e0e0e0;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    transition: all 0.3s;
}

.category-item:hover .category-icon {
    border-color: #0066cc;
    transform: scale(1.05);
}

.category-item h3 {
    font-size: 13px;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
}

/* Featured Products Section - FIXED */
.featured-products {
    margin: 60px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.featured-products h2 {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #1a1a1a;
}

/* Products Grid - FIXED: Sabit Boyut, Responsive */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive Grid - Sabit boyutlar korunuyor */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    background: white;
    display: flex;
    flex-direction: column;
    max-width: 280px;
    margin: 0 auto;
    width: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Product Image - FIXED: Sabit Yükseklik */
.product-image {
    height: 200px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #999;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #dc3545;
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 12px;
    z-index: 10;
}

.product-card h3 {
    padding: 12px;
    font-size: 15px;
    color: #1a1a1a;
    min-height: 45px;
    margin: 0;
    line-height: 1.3;
}

.product-desc {
    padding: 0 12px;
    color: #6c757d;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 10px;
    min-height: 40px;
    flex-grow: 1;
}

.price {
    padding: 0 15px 10px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.new-price {
    color: #dc3545;
    font-size: 20px;
    font-weight: bold;
}

.btn-cart {
    width: 100%;
    background: #000;
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-cart:hover {
    background: #333;
}

/* Testimonials Carousel */
.testimonials {
    background: #f8f9fa;
    padding: 50px 40px;
    margin: 60px auto;
    border-radius: 10px;
    max-width: 1200px;
}

.testimonials h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.testimonials-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonials-carousel {
    overflow: hidden;
    flex: 1;
}

.testimonials-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: calc((100% - 40px) / 3); /* 3 cards visible */
    flex-shrink: 0;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.avatar-green { background: #28a745; }
.avatar-blue { background: #0066cc; }
.avatar-purple { background: #6f42c1; }
.avatar-orange { background: #fd7e14; }
.avatar-teal { background: #20c997; }

.testimonial-name {
    font-size: 16px;
    font-weight: bold;
    color: #1a1a1a;
}

.stars {
    color: #ffc107;
    font-size: 16px;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    background: white;
    border: 2px solid #ddd;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.carousel-btn:hover:not(:disabled) {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator-dot:hover {
    background: #999;
}

.indicator-dot.active {
    background: #0066cc;
    width: 30px;
    border-radius: 6px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 10px 16px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.pagination-btn:hover {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
}

.pagination-btn.active {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
    pointer-events: none;
}

.testimonial-card p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 14px;
}

/* How to Repair Section - FIXED */
.how-to-repair {
    background: #2c2c2c;
    padding: 50px 40px;
    margin: 60px 0;
}

.how-to-repair h2 {
    color: white;
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Steps Grid - FIXED: Equal Height & Centered */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

.step {
    text-align: center;
    color: white;
    background: rgba(255,255,255,0.05);
    padding: 30px 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 200px;
}

.step-icon {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1;
}

.step p {
    font-size: 14px;
    line-height: 1.6;
    color: #ddd;
}

/* Footer - FIXED: 4 Columns Responsive */
.site-footer {
    background: #2c2c2c;
    color: #ccc;
    padding: 50px 20px 20px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-column {
    min-width: 0;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
}

.footer-column p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-column ul,
.footer-menu,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li,
.footer-menu li,
.footer-contact li {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #0066cc;
}

.social-links,
.social-icons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.social-links a,
.social-icons span {
    font-size: 24px;
    display: inline-block;
}

/* Footer Bottom - FIXED */
.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
    gap: 15px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

.payment-icons {
    display: flex;
    gap: 8px;
    font-size: 28px;
}

/* Responsive Header */
/* Page Elements */
.page-title {
    font-size: 36px;
    font-weight: bold;
    margin: 40px 0 20px;
    color: #1a1a1a;
    text-align: center;
}

.product-desc {
    padding: 0 15px;
    color: #6c757d;
    font-size: 13px;
    line-height: 1.5;
    margin: 10px 0;
    min-height: 60px;
}

/* Info Content */
.info-content {
    margin: 60px 0;
}

.info-content h3 {
    font-size: 24px;
    color: #1a1a1a;
    margin: 40px 0 20px;
}

.info-content p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    background: #0066cc;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn:hover {
    background: #0052a3;
}

/* Social Share */
.social-share {
    margin: 40px 0;
}

.btn-facebook {
    background: #1877f2;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 16px;
    margin-right: 15px;
    cursor: pointer;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

/* Cart and Account Icons */
.cart-icon,
.account-icon {
    font-size: 20px;
    padding: 8px;
}

/* Mobile Hamburger Menu Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 150;
    transition: all 0.3s;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 90;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Responsive Testimonials & Pagination */
@media (max-width: 1024px) {
    .testimonial-card {
        min-width: calc((100% - 20px) / 2); /* 2 cards on tablet */
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        min-width: 100%; /* 1 card on mobile */
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    
    .testimonials {
        padding: 40px 20px;
    }
    
    .testimonials-carousel-wrapper {
        gap: 10px;
    }
    
    .pagination-btn {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    /* Show hamburger button */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hide desktop menu by default */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #1a1a1a;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 20px 20px;
        gap: 0;
        overflow-y: auto;
        transition: right 0.3s ease;
        z-index: 100;
        box-shadow: -2px 0 10px rgba(0,0,0,0.3);
    }
    
    .main-nav.mobile-open {
        right: 0;
    }
    
    .main-nav a {
        width: 100%;
        padding: 15px 20px;
        font-size: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        display: block;
    }
    
    .main-nav a:hover {
        background: rgba(0, 102, 204, 0.1);
    }
    
    /* Mobile Dropdown Styles */
    .main-nav .dropdown {
        width: 100%;
        position: relative;
    }
    
    .main-nav .dropdown > a {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .main-nav .dropdown-content {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        width: 100%;
        background: rgba(255,255,255,0.05);
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
    }
    
    .main-nav .dropdown.mobile-dropdown-open .dropdown-content {
        display: block;
    }
    
    .main-nav .dropdown-content a {
        padding: 12px 20px 12px 40px;
        font-size: 14px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .main-nav .dropdown-content a:hover {
        background: rgba(0, 102, 204, 0.15);
    }
    
    /* Cart and Account icons in mobile */
    .cart-icon,
    .account-icon {
        font-size: 18px;
        padding: 15px 20px;
    }
    
    /* Other responsive adjustments */
    .hero-content h1 {
        font-size: 32px;
    }
    
    .services-title {
        font-size: 28px;
    }
    
    .featured-products h2,
    .how-to-repair h2 {
        font-size: 28px;
    }
    
    .testimonials {
        padding: 40px 20px;
    }
    
    .header-content {
        flex-wrap: nowrap;
    }
    
    .logo h1 {
        font-size: 20px;
    }
}

/* Tablet Optimization (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .main-nav {
        gap: 8px;
    }
    
    .main-nav a {
        font-size: 11px;
        padding: 8px 8px;
    }
    
    .logo h1 {
        font-size: 22px;
    }
}

