/* Modern Tel Örgü Website Styles - Professional Version */

:root {
    --primary-color: #dc3545;
    --primary-dark: #c82333;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --border-color: #dee2e6;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --sidebar-width: 280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.bg-primary{
    background-color: #dc3545 !important;
}
.text-primary{
    color: #dc3545 !important;
}
.btn-check:focus+.btn, .btn:focus{
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    box-shadow: none !important;
}
body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
    background-color: #ffffff;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Top Bar */
.top-bar {
    font-size: 14px;
    background: var(--primary-color);
}

.top-bar a {
    transition: opacity 0.3s ease;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    z-index: 1030;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-brand {
    padding: 0;
}

.brand-wrapper {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 2rem;
    font-weight: 900;
    color: var(--dark-color);
    line-height: 1;
    letter-spacing: -1px;
}

.brand-tagline {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    background-color: var(--dark-color);
    padding: 2px 8px;
    display: inline-block;
    margin-top: 2px;
    letter-spacing: 0.5px;
    text-align: center;
}

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Main Wrapper */
.main-wrapper {
    min-height: calc(100vh - 200px);
    position: relative;
}

/* Sidebar */
.sidebar {
    background-color: #2c3e50;
    position: fixed;
    top: 80px;
    left: 0;
    width: 280px;
    max-height: calc(100vh - 80px);
    padding: 0;
    z-index: 1020;
    align-self: flex-start;
}

.sidebar-toggle {
    display: none;
    width: 100%;
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 1001;
    position: relative;
}

.sidebar-toggle:hover {
    background-color: #1a252f;
}

.sidebar-toggle i {
    margin-right: 0.5rem;
}

.sidebar-toggle i {
    margin-right: 0.5rem;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
}

.sidebar-content {
    padding: 2rem 0;
}

.sidebar-title {
    background-color: #1a252f;
    color: white;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    border-bottom: 2px solid var(--primary-color);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background-color: var(--primary-color);
    color: white;
    padding-left: 2rem;
}

.sidebar-menu a i {
    width: 20px;
    text-align: center;
}

/* Main Content */
.main-content {
    background-color: #ffffff;
    padding: 2rem 0;
}
.main-content-left{
    margin-left: 280px !important;
}

/* Breadcrumb */
.breadcrumb-nav {
    background-color: var(--light-color);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    margin: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

/* Content Box */
.content-box {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

/* Page Title */
.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Section Title */
.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

/* Lead Text */
.lead-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.lead-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    padding: 2rem 0;
}

.hero-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.hero-image-wrapper img {
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover img {
    transform: scale(1.05);
}

/* CTA Section */
.cta-section {
    margin: 2rem 0;
}

/* Services Detail */
.services-detail-section {
    padding: 2rem 0;
}

.alert-info {
    background-color: #e7f3ff;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.alert-heading {
    color: var(--primary-color);
    font-weight: 700;
}

/* Service Areas */
.service-areas-section {
    padding: 2rem 0;
}

.service-area-item {
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-area-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-area-item i {
    font-size: 1.2rem;
}

/* Features */
.features-section {
    padding: 2rem 0;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-item p {
    color: var(--secondary-color);
    line-height: 1.7;
}

.feature-item p strong {
    color: var(--primary-color);
}

/* Pricing Section */
.pricing-section {
    padding: 2rem 0;
}

/* Services Section */
.services-section {
    padding: 2rem 0;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

/* Gallery */
.gallery-section {
    padding: 2rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
    padding: 2rem 0;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    border-radius: 8px 8px 0 0;
}

.form-body {
    border: 1px solid var(--border-color);
    border-top: none;
}

.form-control {
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.contact-info {
    margin-top: 2rem;
}

.contact-info-item {
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-info-item h5 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-info-item a {
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: var(--primary-dark);
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-float i {
    margin-top: 2px;
}

/* Call Float Button */
.call-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: pulse 2s infinite;
    text-decoration: none;
}

.call-float.show {
    display: flex;
}

.call-float:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.6);
    color: white;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 4px 20px rgba(220, 53, 69, 0.6);
    }
}

/* Footer */
.footer {
    margin-top: 4rem;
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    transition: color 0.3s ease, padding-left 0.3s ease;
    color: #fff !important;
}

.footer-links a:hover {
    color: var(--primary-color) !important;
    padding-left: 5px;
}

.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-contact i {
    width: 20px;
    color: var(--primary-color);
}

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

/* Responsive */
@media (max-width: 991px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .sidebar-toggle {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }
    
    .sidebar-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .main-content {
        margin-left: 0 !important;
    }
    
    .main-wrapper .row {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 991px) {
    .brand-name {
        font-size: 1.5rem;
    }
    
    .brand-tagline {
        font-size: 0.65rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .content-box {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none !important;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .brand-name {
        font-size: 1.25rem;
    }
    
    .brand-tagline {
        font-size: 0.6rem;
        padding: 1px 6px;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .lead-text {
        font-size: 1rem;
    }
    
    .content-box {
        padding: 1rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        left: 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .lead-text {
        font-size: 0.95rem;
    }
    
    .cta-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Performance Optimizations */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin-top: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 3;
    color: white;
    text-align: center;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out;
}

.slide-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.slide-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10;
    pointer-events: none;
}

.slider-btn {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background-color: var(--primary-color);
    border-color: white;
    transform: scale(1.2);
}

/* About Section */
.about-section {
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.about-bg-gradient {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.03) 0%, rgba(220, 53, 69, 0.08) 100%);
    z-index: 0;
}

.about-image-wrapper {
    position: relative;
    z-index: 1;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: translateY(-10px);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
    text-align: center;
    z-index: 2;
}

.badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.about-content {
    position: relative;
    z-index: 1;
    padding-left: 2rem;
}

.section-label {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title-large {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.lead-text-large {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Products Section */
.products-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.product-item {
    background: white;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 300px;
}

.product-item[style*="background-image"] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.product-item[style*="background-image"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 0;
    border-radius: 20px;
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    border-radius: 20px;
}

.product-item:hover::before {
    opacity: 0.05;
}

.product-item[style*="background-image"]:hover::after {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.product-item-large {
    grid-column: span 2;
}

.product-content {
    position: relative;
    z-index: 1;
}

.product-icon-large {
    display: none;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.product-item[style*="background-image"] .product-title {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.product-item:hover .product-title {
    color: var(--primary-color);
}

.product-item[style*="background-image"]:hover .product-title {
    color: white;
}

.product-description {
    color: var(--secondary-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.product-item[style*="background-image"] .product-description {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.product-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-item[style*="background-image"] .product-link {
    color: white;
    background: rgba(220, 53, 69, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.product-item[style*="background-image"] .product-link:hover {
    background: rgba(220, 53, 69, 1);
    color: white;
}

.product-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.product-link i {
    transition: transform 0.3s ease;
}

.product-link:hover i {
    transform: translateX(5px);
}

/* References Section */
.references-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.reference-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.reference-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.reference-item-large {
    grid-column: span 2;
}

.reference-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.reference-item-large .reference-image {
    height: 400px;
}

.reference-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reference-item:hover .reference-image img {
    transform: scale(1.15);
}

.reference-content {
    padding: 2rem;
    background: white;
}

.reference-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.reference-item:hover .reference-title {
    color: var(--primary-color);
}

.reference-desc {
    color: var(--secondary-color);
    margin: 0;
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
    background-color: var(--light-color);
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 8px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background-color: white;
    font-weight: 600;
    color: var(--dark-color);
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-body {
    padding: 1.5rem;
    background-color: white;
}

/* Responsive Slider */
@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-subtitle {
        font-size: 1.1rem;
    }
    
    .slide-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .slide-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-controls {
        padding: 0 1rem;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.product-item.animate-on-scroll {
    transition-delay: 0.1s;
}

.reference-item.animate-on-scroll {
    transition-delay: 0.2s;
}

/* Responsive Modern Sections */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-item-large {
        grid-column: span 2;
    }
    
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reference-item-large {
        grid-column: span 2;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 3rem;
    }
    
    .about-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .section-title-large {
        font-size: 2rem;
    }
    
    .lead-text-large {
        font-size: 1.1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-item-large {
        grid-column: span 1;
    }
    
    .references-grid {
        grid-template-columns: 1fr;
    }
    
    .reference-item-large {
        grid-column: span 1;
    }
    
    .reference-item-large .reference-image {
        height: 300px;
    }
    
    .about-badge {
        bottom: 20px;
        right: 20px;
        padding: 1rem 1.5rem;
    }
    
    .badge-number {
        font-size: 2rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .about-bg-gradient {
        width: 100%;
        height: 50%;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .sidebar,
    .whatsapp-float,
    footer,
    .btn,
    .hero-slider {
        display: none;
    }
    
    .main-content {
        padding: 0;
    }
}
