/* ============================================
   HYDROFIX.GR - Professional Plumbing Services
   Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #0066cc;
    --primary-dark: #004d99;
    --primary-light: #3385d6;
    --secondary-color: #ff6b35;
    --secondary-dark: #e55a2b;
    --accent-color: #00a8e8;
    --dark-color: #1a1a2e;
    --darker-color: #0f0f1a;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.25);
    
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 20px;
    
    --container-max-width: 1200px;
    --header-height: 80px;
    --header-height-mobile: 70px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.25rem); }

p {
    margin-bottom: 1rem;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo-text span {
    color: var(--secondary-color);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    font-weight: 600;
    color: var(--gray-700);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    transition: var(--transition-normal);
}

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

.phone-btn i {
    font-size: 1.1rem;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition-normal);
    opacity: 0.6;
}

.lang-btn:hover,
.lang-btn.active {
    border-color: var(--primary-color);
    opacity: 1;
}

.lang-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition-normal);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--darker-color) 100%);
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../images/hero-plumber.jpg') center/cover no-repeat;
    opacity: 0.3;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, var(--dark-color), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 60px 0;
}

.hero-subtitle {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-title span {
    color: var(--accent-color);
}

.hero-description {
    color: var(--gray-400);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.btn-accent {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-accent:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.hero-feature i {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-color);
}

.hero-feature span {
    font-weight: 600;
}

/* ============================================
   SECTIONS GENERAL
   ============================================ */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

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

.section-title {
    margin-bottom: 15px;
}

.section-description {
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    background: var(--gray-100);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-top: -55px;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.service-description {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
}

.service-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-us-section {
    background: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us-image {
    position: relative;
}

.why-us-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.why-us-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: var(--border-radius-lg);
    z-index: -1;
}

.why-us-content h2 {
    margin-bottom: 20px;
}

.why-us-content > p {
    color: var(--gray-600);
    margin-bottom: 30px;
}

.why-us-features {
    display: grid;
    gap: 20px;
}

.why-us-feature {
    display: flex;
    gap: 15px;
}

.why-us-feature i {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.why-us-feature h4 {
    margin-bottom: 5px;
}

.why-us-feature p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ============================================
   EMERGENCY CTA SECTION
   ============================================ */
.emergency-section {
    background: var(--secondary-color);
    padding: 40px 0;
}

.emergency-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.emergency-text {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--white);
}

.emergency-text i {
    font-size: 3rem;
}

.emergency-text h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.emergency-text p {
    margin-bottom: 0;
    opacity: 0.9;
}

.emergency-btn {
    background: var(--white);
    color: var(--secondary-color);
    padding: 15px 40px;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-normal);
}

.emergency-btn:hover {
    background: var(--dark-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    background: var(--gray-100);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.testimonial-stars {
    color: var(--warning-color);
    margin-bottom: 15px;
}

.testimonial-text {
    color: var(--gray-600);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-info h4 {
    margin-bottom: 2px;
}

.testimonial-info span {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Google Reviews Badge */
.google-reviews {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.google-reviews img {
    height: 40px;
}

.google-reviews-info {
    text-align: left;
}

.google-reviews-stars {
    color: var(--warning-color);
}

.google-reviews-text {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-section {
    padding: 0;
}

.map-container {
    height: 400px;
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: var(--gray-400);
    margin-bottom: 20px;
}

.footer-gemh {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray-400);
    transition: var(--transition-normal);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--gray-400);
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 3px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-color);
    color: var(--white);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: var(--transition-normal);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-text p {
    margin-bottom: 5px;
}

.cookie-text a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    white-space: nowrap;
}

.cookie-btn:hover {
    background: var(--primary-light);
}

/* ============================================
   ACCESSIBILITY WIDGET
   ============================================ */
.accessibility-widget {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;
}

.accessibility-toggle {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.accessibility-toggle:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.accessibility-panel {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    transform-origin: right center;
    width: 280px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 20px;
    opacity: 0;
    transition: var(--transition-normal);
    pointer-events: none;
}

.accessibility-panel.show {
    transform: translateY(-50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.accessibility-panel h4 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-200);
}

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

.accessibility-group h5 {
    font-size: 0.85rem;
    color: var(--gray-600);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.accessibility-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 5px;
    color: var(--gray-700);
    transition: var(--transition-fast);
}

.accessibility-btn:hover,
.accessibility-btn.active {
    background: var(--gray-100);
    color: var(--primary-color);
}

.accessibility-btn i {
    width: 24px;
    text-align: center;
}

/* Accessibility Modes */
body.bigger-text {
    font-size: 18px;
}

body.bigger-text h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
body.bigger-text h2 { font-size: clamp(2rem, 5vw, 3rem); }

body.high-contrast {
    filter: contrast(150%);
}

body.grayscale {
    filter: grayscale(100%);
}

body.hide-images img {
    display: none !important;
}

body.pause-animations * {
    animation: none !important;
    transition: none !important;
}

body.highlight-links a {
    background: yellow !important;
    color: black !important;
    outline: 2px solid black !important;
}

body.readable-font {
    font-family: 'Comic Sans MS', 'Arial', sans-serif !important;
}

body.increased-line-height {
    line-height: 2 !important;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 140px 0 60px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 10px;
}

.page-header p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: rgba(255,255,255,0.5);
}

.breadcrumb .current {
    color: var(--white);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content > p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.team-section {
    background: var(--gray-100);
}

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

.team-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 20px;
    color: var(--white);
    font-size: 3rem;
}

.team-info {
    padding: 0 20px 30px;
}

.team-info h4 {
    margin-bottom: 5px;
}

.team-info span {
    color: var(--primary-color);
    font-weight: 600;
}

.team-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: var(--gray-600);
    font-weight: 600;
}

.team-phone:hover {
    color: var(--primary-color);
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.service-detail {
    background: var(--white);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-detail:nth-child(even) .service-detail-grid {
    direction: rtl;
}

.service-detail:nth-child(even) .service-detail-content {
    direction: ltr;
}

.service-detail-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.service-detail-content h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-detail-content p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.service-features-list {
    display: grid;
    gap: 10px;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-700);
}

.service-features-list i {
    color: var(--success-color);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: 30px;
}

.contact-cards {
    display: grid;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--border-radius-md);
}

.contact-card i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-card h4 {
    margin-bottom: 5px;
}

.contact-card p {
    color: var(--gray-600);
    margin-bottom: 0;
}

.contact-card a {
    color: var(--primary-color);
    font-weight: 600;
}

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

.contact-phones {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-phones a {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================================
   FAQ PAGE
   ============================================ */
.faq-section {
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.faq-question i {
    transition: var(--transition-normal);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 20px;
}

.faq-answer p {
    color: var(--gray-600);
    margin-bottom: 0;
}

/* ============================================
   PAYMENT METHODS PAGE
   ============================================ */
.payment-section {
    background: var(--white);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.payment-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--gray-100);
    border-radius: var(--border-radius-lg);
    transition: var(--transition-normal);
}

.payment-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.payment-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.payment-card h4 {
    margin-bottom: 10px;
}

.payment-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-section {
    background: var(--white);
    padding: 60px 0;
}

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

.legal-content h2 {
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--gray-600);
    margin-bottom: 15px;
}

.legal-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.legal-content li {
    color: var(--gray-600);
    margin-bottom: 8px;
}

/* ============================================
   SITEMAP PAGE
   ============================================ */
.sitemap-section {
    background: var(--white);
}

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

.sitemap-group h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.sitemap-links li {
    margin-bottom: 10px;
}

.sitemap-links a {
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

/* ============================================
   404 PAGE
   ============================================ */
.error-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gray-100);
    padding: 140px 20px 60px;
}

.error-content {
    max-width: 500px;
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 20px;
}

.error-content h2 {
    margin-bottom: 15px;
}

.error-content p {
    color: var(--gray-600);
    margin-bottom: 30px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .why-us-grid,
    .about-grid,
    .service-detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-detail:nth-child(even) .service-detail-grid {
        direction: ltr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        height: var(--header-height-mobile);
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height-mobile);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: var(--transition-normal);
        gap: 15px;
    }
    
    .nav-menu.show {
        transform: translateY(0);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .phone-btn span {
        display: none;
    }
    
    .hero::before {
        width: 100%;
        opacity: 0.2;
    }
    
    .hero::after {
        width: 100%;
        background: linear-gradient(to top, var(--dark-color), transparent);
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .emergency-content {
        flex-direction: column;
        text-align: center;
    }
    
    .emergency-text {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .accessibility-widget {
        right: 10px;
        bottom: 80px;
        top: auto;
        transform: none;
    }
    
    .accessibility-panel {
        right: 0;
        bottom: 60px;
        top: auto;
        transform: scale(0);
        transform-origin: bottom right;
    }
    
    .accessibility-panel.show {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .error-code {
        font-size: 5rem;
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
