/* ==========================================
   CSS VARIABLES & RESET
   ========================================== */
:root {
    /* Colors */
    --primary-color: #0066cc;
    --primary-dark: #004c99;
    --primary-light: #3384d6;
    --secondary-color: #ff6b35;
    --accent-color: #00d4aa;
    --dark: #1a1a2e;
    --dark-alt: #16213e;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-hero: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    --gradient-eco: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --section-padding: 6rem 0;
    --container-width: 1200px;
    
    /* Effects */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.logo img:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.cta-nav {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px;
}

.cta-nav::after {
    display: none;
}

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* Language Switcher Dropdown */
.language-switcher {
    position: relative;
    display: flex;
    align-items: center;
}

.language-switcher .flag {
    display: inline-block;
    background-size: cover;
    background-position: center;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--gray-light);
    border: 2px solid transparent;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.lang-current:hover {
    background: rgba(0, 102, 204, 0.1);
    border-color: var(--primary-color);
}

.lang-current .flag {
    font-size: 1.4rem;
    line-height: 1;
    width: 24px;
    height: 18px;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.lang-current .arrow {
    font-size: 0.6rem;
    transition: var(--transition);
    opacity: 0.6;
}

.lang-current.active .arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 0.5rem;
    min-width: 70px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li {
    margin: 0;
}

.lang-option {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.65rem;
    background: transparent;
    border: none;
    color: var(--dark);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border-radius: 8px;
}

.lang-option:hover {
    background: var(--gray-light);
}

.lang-option.active {
    background: var(--primary-color);
    color: var(--white);
}

.lang-option .flag {
    font-size: 1.5rem;
    line-height: 1;
    width: 32px;
    height: 24px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* Old language button styles - remove */
.lang-btn {
    display: none;
}

/* RTL Support for Farsi */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-container {
    flex-direction: row-reverse;
}

[dir="rtl"] .about-content,
[dir="rtl"] .service-content {
    direction: rtl;
}

[dir="rtl"] .service-content.reverse {
    direction: rtl;
}

[dir="rtl"] .hero-buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .form-row {
    direction: rtl;
}

[dir="rtl"] .info-box {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

[dir="rtl"] .section-subtitle::before {
    left: auto;
    right: -50px;
}

[dir="rtl"] .section-subtitle::after {
    right: auto;
    left: -50px;
}

[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

[dir="rtl"] .lang-option {
    text-align: right;
    flex-direction: row-reverse;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.section {
    min-height: 100vh;
    position: relative;
}

.hero-section {
    background: var(--gradient-hero);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://static.wixstatic.com/media/11062b_2d8e665184934f8eac1ed3bfc63ccc1d~mv2.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -30px); }
    66% { transform: translate(-20px, 20px); }
}

.hero-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    position: relative;
    z-index: 2;
}

.hero-text {
    text-align: center;
    margin-bottom: 4rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-emergency {
    background: var(--danger);
    color: var(--white);
    border-color: var(--danger);
    font-size: 1.25rem;
    font-weight: 700;
}

.btn-emergency:hover {
    background: transparent;
    border-color: var(--danger);
    color: var(--danger);
    transform: scale(1.05);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    opacity: 0.9;
    font-size: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: scroll-bounce 2s ease-in-out infinite;
    z-index: 2;
}

.scroll-indicator span {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Animation classes */
.animate-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.animate-in:nth-child(1) { animation-delay: 0.1s; }
.animate-in:nth-child(2) { animation-delay: 0.2s; }
.animate-in:nth-child(3) { animation-delay: 0.3s; }
.animate-in:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   SECTIONS
   ========================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--section-padding);
    padding-left: 2rem;
    padding-right: 2rem;
}

.section {
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.section > .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.section-subtitle::before { left: -50px; }
.section-subtitle::after { right: -50px; }

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
    background: var(--light);
    position: relative;
}

.about-section::before {
    background-image: url('https://static.wixstatic.com/media/11062b_9ee224db4da044188bd9a0db3d89ea64~mv2.jpg/v1/fill/w_1920,h_1080,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/11062b_9ee224db4da044188bd9a0db3d89ea64~mv2.jpg');
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.02);
}

.about-text {
    position: relative;
    z-index: 1;
}

.about-text .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    min-width: 150px;
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 500;
}

/* ==========================================
   SERVICE SECTIONS
   ========================================== */
.service-section {
    background: var(--white);
    position: relative;
}

.service-section.alt {
    background: var(--light);
}

/* Heat Pumps Section Background */
#waermepumpen::before {
    background-image: url('https://static.wixstatic.com/media/fa0718dd1ddb4fc7a84cfd64cd424fc1.jpg/v1/fill/w_1920,h_1080,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/fa0718dd1ddb4fc7a84cfd64cd424fc1.jpg');
}

/* Bathroom Section Background */
#badsanierung::before {
    background-image: url('https://static.wixstatic.com/media/11062b_2d8e665184934f8eac1ed3bfc63ccc1d~mv2.jpeg/v1/fill/w_1920,h_1080,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/11062b_2d8e665184934f8eac1ed3bfc63ccc1d~mv2.jpeg');
}

/* Installation Section Background */
#hausinstallation::before {
    background-image: url('https://static.wixstatic.com/media/11062b_539e19dd46f9450dbedd7dcadd5d4e1c~mv2.jpeg/v1/fill/w_1920,h_1080,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/11062b_539e19dd46f9450dbedd7dcadd5d4e1c~mv2.jpeg');
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-content.reverse {
    direction: rtl;
}

.service-content.reverse > * {
    direction: ltr;
}

.service-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.service-text {
    position: relative;
    z-index: 1;
}

.service-text .lead {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--dark);
    line-height: 1.8;
}

.service-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.info-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    transition: var(--transition);
}

.info-box:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.info-box h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.info-box p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* ==========================================
   ECO SECTION
   ========================================== */
.eco-section {
    background: var(--gradient-eco);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.eco-section::before {
    background-image: url('https://static.wixstatic.com/media/8af8dc_3d967d381db24ecb989194fc2c03ab66~mv2.jpg/v1/fill/w_1920,h_1080,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/8af8dc_3d967d381db24ecb989194fc2c03ab66~mv2.jpg');
    opacity: 0.5;
}

.eco-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.eco-section .section-subtitle,
.eco-section .section-title {
    color: var(--white);
}

.eco-section .section-subtitle::before,
.eco-section .section-subtitle::after {
    background: var(--white);
}

.eco-section .container {
    position: relative;
    z-index: 1;
}

.eco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.eco-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
}

.eco-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.eco-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.eco-card h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.eco-card p {
    opacity: 0.9;
    line-height: 1.8;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
    background: var(--light);
    position: relative;
}

.contact-section::before {
    background-image: url('https://static.wixstatic.com/media/11062b_30e1c59cc99f4fe1b137d99fff539a22~mv2.jpg/v1/fill/w_1920,h_1080,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/11062b_30e1c59cc99f4fe1b137d99fff539a22~mv2.jpg');
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-card p {
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-card.emergency {
    background: var(--gradient-secondary);
    color: var(--white);
}

.contact-card.emergency h3 {
    color: var(--white);
}

.emergency-note {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 1rem;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-col p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--white);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-contact {
    font-size: 0.9rem;
}

.footer-credits {
    margin-top: 1.5rem;
    opacity: 0.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* ==========================================
   MODAL
   ========================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    overflow-y: auto;
    padding: 2rem;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--white);
    max-width: 800px;
    width: 100%;
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-scroll {
    max-height: 60vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gray-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.modal-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.modal-content h4 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.modal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* ==========================================
   SCROLL ANIMATIONS
   ========================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   EMERGENCY FLOAT BUTTON
   ========================================== */
.emergency-float-btn {
    position: fixed;
    top: 100px;
    right: 2rem;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
    animation: pulse-emergency 2s infinite;
}

.emergency-float-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.emergency-icon {
    font-size: 1.2rem;
    animation: shake 3s infinite;
}

.emergency-text {
    display: none;
}

@keyframes pulse-emergency {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(220, 53, 69, 0.5);
    }
}

@keyframes shake {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: rotate(-10deg);
    }
    20%, 40%, 60%, 80% {
        transform: rotate(10deg);
    }
}

/* ==========================================
   RESPONSIVE DESIGN
   =========================================== */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        gap: 1.5rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .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);
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .about-content,
    .service-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-content.reverse {
        direction: ltr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .section-subtitle::before,
    .section-subtitle::after {
        width: 30px;
    }
    
    .section-subtitle::before { left: -35px; }
    .section-subtitle::after { right: -35px; }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        height: 70px;
    }
    
    .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    .hero-content {
        padding: 6rem 1rem 2rem;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .container {
        padding: 4rem 1rem;
    }
    
    .section-subtitle::before,
    .section-subtitle::after {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .eco-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .language-switcher {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .lang-dropdown {
        right: 50%;
        transform: translateX(50%) translateY(-10px);
    }
    
    .lang-dropdown.active {
        transform: translateX(50%) translateY(0);
    }
    
    .modal {
        padding: 1rem;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
    }
    
    .service-image img {
        min-height: 300px;
    }
    
    /* Emergency Button - Mobile */
    .emergency-float-btn {
        top: 85px;
        right: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .emergency-text {
        display: inline;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 45px;
    }
    
    .hero-headline {
        font-size: 1.75rem;
    }
    
    .feature-icon,
    .eco-icon {
        font-size: 3rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* ==========================================
   UTILITIES
   ========================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
    .navbar,
    .hero-section,
    .scroll-indicator,
    .contact-form-wrapper,
    .modal {
        display: none;
    }
}
