/* ===== DEVIS ELEKTRIK - SALI ELEKTRIK STYLE ===== */

/* CSS Variables */
:root {
    --primary-red: #dc2626;
    --primary-red-dark: #b91c1c;
    --primary-red-light: #fca5a5;
    --white: #ffffff;
    --light-gray: #f8fafc;

    --medium-gray: #e2e8f0;
    --dark-gray: #0f172a;
    --text-gray: #64748b;
    --border-gray: #e2e8f0;

    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
    --gradient-secondary: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 30px 80px rgba(220, 38, 38, 0.15);

    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);

    background: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    padding: 0 0.8rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

h3 {
    font-size: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}



.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    position: relative;
    z-index: 10001;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 6px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hide old hamburger - using new mobile-hamburger instead */
#hamburgerBtn,
.hamburger {
    display: none !important;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
    background: var(--primary-red);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
    background: var(--primary-red);
}

/* Existing CSS Variables remain the same */

/* Header Styles */
.header {

    background: var(--white);
    box-shadow: var(--shadow-soft);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;

}

.top-bar {
    background: var(--light-gray);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-gray);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.contact-info {
    display: flex;
    gap: 2rem;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.contact-info span {
    display: flex;
    align-items: center;

    gap: 0.5rem;
}

.contact-info i {
    color: var(--primary-red);
}


.search-container {
    display: flex;
    align-items: center;

}

.search-input {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-gray);
    border-radius: 4px 0 0 4px;
    outline: none;

    font-size: 0.875rem;
    width: 200px;
}

.search-btn {
    padding: 0.5rem 1rem;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;

    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary-red-dark);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
}

.logo-small {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.logo-highlight {
    color: var(--white);
}

/* Desktop navigation menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

/* Hide desktop nav menu on mobile */
@media (max-width: 768px) {
    .hero-nav .nav-menu li {
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
    }
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-red);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;

    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-red-dark);
}

/* Hero Section with Diagonal Split */
.hero-section {
    margin-top: 0;
    min-height: 100vh;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
}

.hero-diagonal-left {
    position: relative;
    width: 60%;
    background: var(--primary-red);
    clip-path: polygon(0 0, 85% 0, 70% 100%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    z-index: 2;
}

.hero-text-content {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    max-width: 450px;
    color: var(--white);
    z-index: 3;
}

/* Top Navigation Bar */
.top-nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 998;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.top-nav-bar.scrolled {
    transform: translateY(0);
}

.top-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    height: 100%;
    width: 100%;
}

.top-nav-logo {
    display: flex;
    align-items: center;
    margin-left: 0;
    flex-shrink: 0;
}

.top-nav-logo-image {
    height: 100px;
    width: auto;
    transition: var(--transition);
}

.top-nav-logo-image:hover {
    transform: scale(1.05);
}

.top-nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.top-nav-menu a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: var(--transition);
}

.top-nav-menu a:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
}

/* Static Logo */
.static-logo {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: all 0.3s ease;
}

.static-logo.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100px);
    pointer-events: none;
}

.logo-image {
    width: 200px;
    height: auto;
    transition: var(--transition);
}

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

.hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.6rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
    display: flex;
    flex-direction: column;
}

.hero-title .cursor {
    color: #fbbf24;
    animation: blink 1s infinite;
}

.hero-underline {
    width: 0;
    height: 3px;
    background: var(--white);
    margin-top: 0.5rem;
    opacity: 0;
    transition: width 0.8s ease-out, opacity 0.3s ease-out;
    border-radius: 2px;
}

.hero-slogan {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1rem;
    font-weight: 400;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

 .hero-image-right {
     position: absolute;
     right: 0;
     top: 0;
     width: 100%;
     height: 100%;
     z-index: 1;
 }

 /* Hero Slideshow */
 .hero-slideshow {
     width: 100%;
     height: 100%;
     position: relative;
 }

 .hero-slide {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-size: cover;
     background-position: center;
     background-repeat: no-repeat;
     transform: translateX(100%);
     transition: transform 1.5s ease-in-out;
     z-index: 1;
 }

 .hero-slide.active {
     transform: translateX(0);
     z-index: 2;
 }

 .hero-slide.sliding-in {
     transform: translateX(0);
     z-index: 3;
 }

 .hero-slide.sliding-out {
     transform: translateX(-100%);
     z-index: 1;
 }

 /* Hero Navigation */
 .hero-nav {
     position: fixed;
     top: 2rem;
     right: 2rem;
     z-index: 999;
 }

 .hero-nav-menu {
    display: flex;
     list-style: none;
     gap: 2rem;
     margin: 0;
     padding: 0;
 }

 .hero-nav-menu a {
    color: var(--primary-red);
    text-decoration: none;

    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.hero-nav-menu a:hover {
    color: var(--primary-red-dark);
    border-bottom-color: var(--primary-red-dark);
}

 /* Language Switcher */
 .language-switcher {
     position: absolute;
     bottom: 2rem;
     right: 2rem;
     background: rgba(255, 255, 255, 0.9);
     padding: 0.5rem 1rem;
     border-radius: 25px;
     display: flex;
    align-items: center;
     gap: 0.5rem;
     cursor: pointer;
     transition: var(--transition);
     z-index: 10;
 }

 .language-switcher:hover {
    background: var(--white);

     transform: translateY(-2px);
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
 }

 .flag-icon {
     width: 20px;
     height: 15px;
     border-radius: 2px;
 }

 .language-switcher span {
     font-weight: 600;
    color: var(--dark-gray);

     font-size: 0.875rem;
}


 .language-switcher i {
    color: var(--text-gray);

     font-size: 0.75rem;
 }

/* Add media queries and other existing styles as needed */

.btn-primary {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.5rem;
    background: transparent;
    color: var(--primary-red);
    text-decoration: none;
    border: 2px solid var(--primary-red);
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);

}

/* Right Side - Image */
.hero-image-right {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slideshow {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateX(100%);
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.hero-slide.active {
    transform: translateX(0);
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}



/* Quality Section */
.quality-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

.quality-grid {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}


.quality-item {
    background: var(--white);

    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-soft);

    transition: var(--transition);
    border: 1px solid var(--border-gray);
}


.quality-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-red);
}


.quality-item i {
    font-size: 3rem;
    color: var(--primary-red);

    margin-bottom: 1.5rem;
}


.quality-item h3 {
    margin-bottom: 1rem;
    color: var(--dark-gray);

    font-size: 1.5rem;
}


.quality-item p {
    color: var(--text-gray);

    margin: 0;
}

/* Stats Section */
.stats {

    padding: 6rem 0;
    background: var(--gradient-primary);
    color: var(--white);
}

.stats-grid {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;

    padding: 2rem;
}

.stat-item h3 {

    font-size: 3rem;
    margin-bottom: 0.5rem;

    font-weight: 700;
    color: var(--white);
}

.stat-item p {

    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Catalogs Section */
.catalogs {

    padding: 6rem 0;
    background: var(--white);
}

.catalogs-subtitle {
    text-align: center;

    font-size: 1.1rem;
    color: var(--text-gray);

    margin-bottom: 3rem;
}

.catalogs-grid {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.catalog-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid var(--border-gray);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.catalog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
    transition: var(--transition);
}

.catalog-card:hover::before {
    background: rgba(255, 255, 255, 0.85);
}

.catalog-card > * {
    position: relative;
    z-index: 2;
}

.catalog-card:nth-child(1) {
    background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
}

.catalog-card:nth-child(2) {
    background-image: url('https://images.unsplash.com/photo-1558002038-1055907df827?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
}

.catalog-card:nth-child(3) {
    background-image: url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
}


.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-red);
}

.catalog-card i {
    font-size: 3rem;
    color: var(--primary-red);

    margin-bottom: 1.5rem;
}

.catalog-card h3 {

    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.catalog-card p {

    margin-bottom: 2rem;
    color: var(--text-gray);
}

.catalog-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
    border: 2px solid var(--primary-red);
}

.catalog-btn:hover {
    background: var(--white);
    color: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
}

/* Gallery Section */
.gallery {

    padding: 6rem 0;
    background: var(--light-gray);
}

.gallery-subtitle {
    text-align: center;

    font-size: 1.1rem;
    color: var(--text-gray);

    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {

    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;

    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}


.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.gallery-placeholder {
    width: 100%;

    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: var(--white);
}

.gallery-placeholder i {

    font-size: 3rem;
    margin-bottom: 1rem;
}

.gallery-placeholder span {

    font-size: 1.1rem;
    font-weight: 600;
}

/* Photo Modal */
.photo-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);

    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;

    max-width: 90%;
    max-height: 90%;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--white);

    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;

    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

}

.close-modal:hover {
    background: rgba(0, 0, 0, 0.7);
}

.modal-image-container {

    position: relative;
}

.modal-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.modal-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.nav-btn {

    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: var(--white);

    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: var(--transition);
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.photo-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    background: rgba(0, 0, 0, 0.7);
    color: var(--white);

    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

/* About Section */
.about-section {
    padding: 3rem 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* About section heading - override to center align */
.about-text h2 {
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.about-stats .stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border: 2px solid var(--primary-red);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.about-stats .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.about-stats .stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-red);
    font-weight: 700;
}

.about-stats .stat-item p {
    color: var(--primary-red);
    margin: 0;
    font-weight: 500;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Modern Services Section */
.services-modern {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.services-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

/* Unified section heading style */
section h2, .services-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
}

.services-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-card-modern {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.05), transparent);
    transition: left 0.6s ease;
}

.service-card-modern:hover::before {
    left: 100%;
}

.service-card-modern:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(220, 38, 38, 0.15);
    border-color: var(--primary-red);
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.2), transparent);
    transition: transform 0.4s ease;
}

.service-card-modern:hover .service-icon-wrapper {
    transform: rotate(10deg) scale(1.1);
}

.service-card-modern:hover .service-icon-wrapper::before {
    transform: translateX(100%);
}

.service-icon-wrapper i {
    font-size: 2rem;
    color: var(--white);
    z-index: 1;
    position: relative;
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-card-modern:hover .service-content h3 {
    color: var(--primary-red);
}

.service-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    background: rgba(220, 38, 38, 0.1);
    color: var(--primary-red);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-card-modern:hover .feature-tag {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
}



.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }


.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid var(--border-gray);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-red);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-gray);
    font-size: 1.3rem;
}

.service-card p {
    margin: 0;
    color: var(--text-gray);
}

/* Emergency Call Section */
.emergency-call {
    padding: 4rem 0;
    background: var(--gradient-primary);
    color: var(--white);
}

.emergency-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Emergency section heading - override unified style for white color */
.emergency-info h2 {
    color: var(--white);
    text-align: left;
}

.emergency-info p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1.1rem;
}

.emergency-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--white);
    color: var(--primary-red);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1.1rem;
}

.emergency-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.emergency-btn i {
    font-size: 1.2rem;
}

/* Projects Section */
.projects-section {
    padding: 3rem 0;
    background: var(--white);
}

.projects-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.project-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid var(--border-gray);
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        display: flex;
        align-items: center;

    justify-content: center;
}

.project-image i {
    font-size: 4rem;
    color: var(--white);
}

.project-item h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    margin: 0;
    color: var(--dark-gray);
}

.project-item p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: var(--text-gray);
}

/* ===== PHOTO GALLERY SECTION ===== */
.gallery-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(220, 53, 69, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(220, 53, 69, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.gallery-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    color: #333;
    font-weight: 700;
}

.gallery-section p {
    text-align: center;
    margin-bottom: 4rem;
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    aspect-ratio: 4/3;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    image-rendering: optimizeQuality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(220, 53, 69, 0.9) 0%,
        rgba(255, 107, 107, 0.8) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s ease;
    color: white;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

.gallery-overlay span {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding: 0 1rem;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
}

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

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.gallery-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

.gallery-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-close:hover {
    background: var(--primary-red);
    transform: scale(1.1);
}

.gallery-modal-image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}

.gallery-modal-caption {
    padding: 1.5rem;
    background: white;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.gallery-nav-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav-btn:hover {
    background: var(--primary-red);
    transform: scale(1.1);
}

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

.gallery-nav-btn:disabled:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: none;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

/* Contact section heading - using unified section h2 style */

.contact-section p {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-top: 0.25rem;
}

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

.contact-item span {
    color: var(--text-gray);
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
        display: flex;
        align-items: center;
        justify-content: center;

    width: 40px;
    height: 40px;
        background: var(--primary-red);
        color: var(--white);

    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-red-dark);
        transform: translateY(-2px);
    }
    

.footer-bottom {
        text-align: center;

    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Enable hardware acceleration for smoother animations */
    * {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    /* Optimize scrolling on iOS */
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Old hamburger styles removed - using mobile-hamburger instead */
    .contact-info {
    flex-direction: column;
        gap: 1rem;
    }
    
    .search-container {
        display: none;
    }
    
    .nav-menu {
        position: fixed !important;
        left: -100% !important;
        top: 0 !important;
        flex-direction: column !important;
        background-color: rgba(220, 38, 38, 0.98) !important;
        width: 100% !important;
        height: 100vh !important;
        text-align: center !important;
        transition: left 0.3s ease !important;
        box-shadow: var(--shadow-medium) !important;
        padding: 6rem 0 2rem !important;
        z-index: 10000 !important;
        backdrop-filter: blur(10px) !important;
        list-style: none !important;
        margin: 0 !important;
        justify-content: flex-start !important;
        align-items: center !important;
        overflow-y: auto !important;
        display: flex !important;
        gap: 0 !important;
    }

    .nav-menu.active {
        left: 0 !important;
    }
    
    .nav-menu a {
        color: var(--white) !important;
        font-size: 1.2rem;
        padding: 1rem 2rem;
        margin: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        display: block;
        transition: all 0.3s ease;
        text-decoration: none;
        border-radius: 8px;
        width: 90%;
        max-width: 300px;
    }
    
    .nav-menu a:hover,
    .nav-menu a:focus {
        background: rgba(255, 255, 255, 0.15);
        color: var(--white) !important;
        transform: translateX(5px);
        border-left: 4px solid var(--white);
        outline: none;
    }
    
    .nav-menu a:active {
        background: rgba(255, 255, 255, 0.2);
        transform: translateX(3px);
    }
    
    /* Old hero-nav hamburger removed - using mobile-hamburger instead */
    

    
    /* Mobile Hero Section - Optimized desktop-style sliding */
    .hero-section {
        margin-top: 0;
        min-height: 100vh;
        height: 100vh;
        flex-direction: column;
        position: relative;
        overflow: hidden;
        display: flex;
        transform: translateZ(0);
        will-change: auto;
    }
    
    /* Mobile carousel container - full screen coverage */
    .hero-image-right {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        right: auto !important;
        z-index: 1;
    }
    
    /* Mobile slideshow - full coverage */
    .hero-slideshow {
        width: 100%;
        height: 100%;
        position: relative;
    }
    
    .hero-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        transform: translateX(100%);
        transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
    
    .hero-slide.active {
        transform: translateX(0);
    }
    
    /* Mobile text overlay - no background, directly over photos */
    .hero-diagonal-left {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: none;
        clip-path: none;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        z-index: 10;
    }
    
    .hero-text-content {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        max-width: 100%;
        text-align: center;
        z-index: 11;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border-radius: 15px;
        padding: 2rem 1.5rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
        will-change: auto;
        transform: translateZ(0);
    }
    
    /* Mobile hero title styling - optimized shadows */
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 3rem);
        color: var(--white);
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
        margin-bottom: 1rem;
        font-weight: 700;
        transform: translateZ(0);
        -webkit-font-smoothing: antialiased;
    }
    
    .hero-slogan {
        font-size: clamp(1rem, 4vw, 1.4rem);
        color: var(--white);
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
        margin-top: 1rem;
        transform: translateZ(0);
        -webkit-font-smoothing: antialiased;
    }
    
    .hero-underline {
        margin: 1rem auto;
        width: 60px;
        background: var(--white);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
        transform: translateZ(0);
    }
    
    .static-logo {
        top: 15px;
        left: 15px;
    }
    
    .logo-image {
        width: 170px;
    }
    
    .hero-image-right {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        z-index: 1 !important;
    }
    
    /* Show hamburger menu but hide desktop nav items initially */
    .hero-nav {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        z-index: 9999 !important;
    }
    
    .hero-nav .nav-menu {
        position: fixed !important;
        left: -100% !important;
        top: 0 !important;
        flex-direction: column !important;
        background-color: rgba(220, 38, 38, 0.98) !important;
        width: 100% !important;
        height: 100vh !important;
        text-align: center !important;
        transition: left 0.3s ease !important;
        box-shadow: var(--shadow-medium) !important;
        padding: 6rem 0 2rem !important;
        z-index: 10000 !important;
        backdrop-filter: blur(10px) !important;
        list-style: none !important;
        margin: 0 !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 0 !important;
    }

    .hero-nav .nav-menu.active {
        left: 0 !important;
    }
    
    .hero-nav .nav-menu a {
        color: var(--white) !important;
        font-size: 1.2rem;
        padding: 1rem 2rem;
        margin: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        display: block;
        transition: all 0.3s ease;
        text-decoration: none;
        border-radius: 8px;
        width: 90%;
        max-width: 300px;
    }
    
    .hero-nav .nav-menu a:hover,
    .hero-nav .nav-menu a:focus {
        background: rgba(255, 255, 255, 0.15);
        color: var(--white) !important;
        transform: translateX(5px);
        border-left: 4px solid var(--white);
        outline: none;
    }
    
    .top-nav-bar {
        display: none !important;
    }
    
    .static-logo {
        display: block !important;
        position: fixed !important;
        top: 20px !important;
        left: 20px !important;
        z-index: 10000 !important;
    }
    
    .static-logo .logo-image {
        width: 170px !important;
        height: auto !important;
    }
    
    .language-switcher {
        display: none !important;
    }
    
    /* Old hamburger styles removed - using mobile-hamburger instead */
    
    /* Modern Services Mobile */
    .services-grid-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card-modern {
        padding: 2rem;
    }
    
    /* Unified section headings mobile style - Made bigger */
    section h2, .services-header h2 {
        font-size: 2.2rem;
    }
    
    /* Make other headings bigger on mobile too */
    h2 {
        font-size: clamp(1.6rem, 4vw, 2.2rem) !important;
    }
    
    /* Specific section headings */
    .about-section h2,
    .quality-section h2,
    .catalogs h2,
    .services-modern h2,
    .contact-section h2,
    .emergency-info h2 {
        font-size: 2.4rem !important;
        font-weight: 700 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .services-subtitle {
        font-size: 1rem;
    }
    
    .service-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .service-icon-wrapper i {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .emergency-content {
        grid-template-columns: 1fr;

        text-align: center;
        gap: 2rem;
    }


    .contact-details {
        gap: 1rem;
        max-width: 100%;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
    
    /* Gallery responsive styles */
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
        min-height: 200px;
    }
    
    .gallery-item img {
        object-fit: cover;
        object-position: center;
        image-rendering: auto;
    }
    
    .gallery-overlay {
        backdrop-filter: blur(2px);
    }
    
    .gallery-overlay i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .gallery-overlay span {
        font-size: 0.95rem;
        line-height: 1.2;
    }
    
    .gallery-modal-content {
        max-width: 95vw;
        max-height: 95vh;
        margin: 1rem;
        border-radius: 10px;
        position: relative;
        z-index: 10001;
    }
    
    .gallery-modal-image {
        max-height: 75vh;
        object-fit: contain;
        width: 100%;
        height: auto;
        display: block;
        background: white;
    }
    
    .gallery-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
    
    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .gallery-modal-caption {
        padding: 1rem;
        font-size: 1rem;
    }

    /* Contact section heading now uses unified mobile style above */
    
    .contact-section p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .container {

        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    /* Gallery styles for very small screens */
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .gallery-item {
        aspect-ratio: 1;
        min-height: 180px;
        border-radius: 12px;
    }
    
    .gallery-item img {
        border-radius: 12px;
    }
    
    .gallery-section {
        padding: 60px 0;
    }
    
    .gallery-section h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .gallery-section p {
        margin-bottom: 2.5rem;
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .gallery-overlay i {
        font-size: 1.8rem;
    }
    
    .gallery-overlay span {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
    
    .gallery-modal {
        z-index: 99999 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        overflow: hidden !important;
    }
    
    .gallery-modal.active {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
    }
    
    .gallery-modal-content {
        max-width: 98vw;
        max-height: 98vh;
        margin: 0;
        border-radius: 8px;
        position: relative;
        z-index: 100000;
        background: white;
        transform: translateY(0);
    }
    
    .gallery-modal-image {
        max-height: 70vh;
        width: 100%;
        height: auto;
        display: block !important;
        object-fit: contain;
        background: white;
        min-height: 200px;
    }
    
    .gallery-modal-caption {
        padding: 0.8rem;
        font-size: 0.9rem;
        background: white;
        color: #333;
    }

    /* Ensure hero section remains full screen on very small devices */
    .hero-section {
        min-height: 100vh !important;
        height: 100vh !important;
    }
    
    /* Adjust text overlay for very small screens */
    .hero-text-content {
        padding: 1.5rem 1rem !important;
        max-width: 95% !important;
    }
    
    /* Optimize slideshow for small screens */
    .hero-slideshow {
        width: 100% !important;
        height: 100% !important;
    }
    
    .hero-slide {
        background-size: cover !important;
        background-position: center !important;
    }
    
    /* Old hamburger styles removed - using mobile-hamburger instead */
    
    /* Adjust logo for very small screens */
    .static-logo {
        top: 15px !important;
        left: 15px !important;
    }
    
    .static-logo .logo-image {
        width: 150px !important;
    }
    
    /* Hide other navigation elements but keep logo and hamburger */
    .top-nav-bar,
    .language-switcher {
        display: none !important;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .slide-content h1 {
        font-size: 1.4rem;
    }
    
    .slide-subtitle {
        font-size: 0.9rem;
    }
    
    .slide-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .slide-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .product-item, .service-item {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.animate-in {
    animation: slideInUp 0.6s ease-out;
}

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

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ===== NEW MOBILE HAMBURGER MENU ===== */

/* Mobile Hamburger Button */
.mobile-hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--primary-red);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    gap: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.mobile-hamburger:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

.hamburger-line {
    width: 30px;
    height: 3px;
    background: var(--primary-red);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(220, 38, 38, 0.98);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    text-align: center;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-link {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Show mobile hamburger on mobile devices */
@media (max-width: 768px) {
    .mobile-hamburger {
        display: flex !important;
    }
}

/* Hide mobile elements on desktop */
@media (min-width: 769px) {
    .mobile-hamburger,
    .mobile-menu-overlay,
    .hamburger,
    #hamburgerBtn {
        display: none !important;
        visibility: hidden !important;
    }
}

/* ===== BACK TO TOP BUTTON ===== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-red-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(220, 38, 38, 0.4);
}

.back-to-top:active {
    transform: translateY(-1px);
}

/* Mobile adjustments for back to top button - ALWAYS STATIC */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1rem;
        z-index: 10002 !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        position: fixed !important;
        /* Force static visibility - no scroll-based hiding */
        transform: none !important;
        transition: transform 0.3s ease, background 0.3s ease !important;
    }
    
    /* Mobile hover state */
    .back-to-top:hover {
        background: var(--primary-red-dark) !important;
        transform: translateY(-2px) !important;
    }
}

/* Small mobile adjustments - ALWAYS STATIC */
@media (max-width: 480px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
        z-index: 10002 !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        position: fixed !important;
        /* Force static visibility on small mobile */
        transform: none !important;
        transition: transform 0.3s ease, background 0.3s ease !important;
    }
    
    /* Small mobile hover state */
    .back-to-top:hover {
        background: var(--primary-red-dark) !important;
        transform: translateY(-1px) !important;
    }
}