/* ========================================
   InstalServis - Static CSS
   ======================================== */

/* CSS Variables */
:root {
  /* Primary - Deep Professional Blue */
  --primary: hsl(215, 80%, 25%);
  --primary-light: hsl(215, 70%, 35%);
  --primary-foreground: hsl(0, 0%, 100%);
  
  /* Secondary - Warm Orange Accent */
  --secondary: hsl(25, 95%, 53%);
  --secondary-light: hsl(35, 95%, 55%);
  --secondary-foreground: hsl(0, 0%, 100%);
  
  /* Background */
  --background: hsl(210, 20%, 98%);
  --foreground: hsl(215, 25%, 15%);
  
  /* Cards */
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(215, 25%, 15%);
  
  /* Muted */
  --muted: hsl(210, 15%, 95%);
  --muted-foreground: hsl(215, 15%, 45%);
  
  /* Accent */
  --accent: hsl(210, 60%, 95%);
  --accent-foreground: hsl(215, 80%, 25%);
  
  /* Borders */
  --border: hsl(210, 20%, 90%);
  
  /* Radius */
  --radius: 0.75rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px -2px hsla(215, 25%, 15%, 0.08);
  --shadow-md: 0 8px 24px -8px hsla(215, 25%, 15%, 0.12);
  --shadow-lg: 0 16px 48px -12px hsla(215, 25%, 15%, 0.18);
  --shadow-accent: 0 8px 32px -8px hsla(25, 95%, 53%, 0.35);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Icons */
.icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.icon-check {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--secondary);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: var(--secondary-foreground);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px -8px hsla(25, 95%, 53%, 0.45);
}

.btn-secondary {
  background: var(--card);
  color: var(--primary);
  border: 2px solid hsla(0, 0%, 100%, 0.2);
}

.btn-secondary:hover {
  background: hsla(0, 0%, 100%, 0.9);
  transform: scale(1.05);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}

.header-scrolled {
  background: hsla(0, 0%, 100%, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 0;
  height: 74px;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  display: block; height:43px; width:auto;
}

.footer .logo img {
  padding:5px 10px; 
  background:#FFF;
  border-radius: 0.5rem;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--secondary), hsl(35, 95%, 55%));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--foreground);
}

.logo-text-white {
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
}

/* ========================================
   CSS only hamburger menu
   ======================================== */

.menu {
  display: flex; flex-direction: row;
  list-style-type: none;
  margin: 0; padding: 0;
  font-size:18px;
}

.menu a { text-decoration:none;  white-space:nowrap; display:block; padding:10px; color:#000;}
.menu a:hover { color:#0174c4;}

.menu > li {
  margin: 0 0.1rem;
  overflow: hidden;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
  z-index:9999;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: var(--secondary);
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

@media (max-width: 1000px) {
  .menu-button-container {
    display: flex; z-index:99999;
  }
  .menu {
    position: absolute;
    top: 0;
    margin-top: 74px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center; z-index:9999;
  }
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle:checked ~ .menu li {
    border-top: 1px solid #baccda;
    height: 2.5em;
/*    padding: 0.5em 0;*/
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
   #menu-toggle:checked ~ .menu li:hover { background:#e5ebf1;}
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: #f6f9fc;
  }
  .menu > li:not(:last-child) {
    border-bottom: 1px solid #baccda;
  }
}






.nav {
  display: none;
  gap: 2rem;
}

@media (min-width: 1000px) {
  .nav {
    display: flex;
  }
}

.nav-link {
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary);
}

.header-cta {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 1000px) {
  .header-cta {
    display: flex;
  }
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--secondary);
}


/* ----- CSS Images slider ----------*/
.css-img-slider { position:absolute; left:0; top: 0; width:100%; height:100%; /*z-index:3;*/
animation: slideanim 50s infinite; 
}

@keyframes slideanim {
	 0% {background: url("../images/hero-image-1.jpg");
		background-repeat: no-repeat; 
		background-size: cover;
		}
	 25% {background: url("../images/hero-image-2.jpg");
		background-repeat: no-repeat; 
		background-size: cover;
		} 
	50% { background: url("../images/hero-image-3.jpg");
		background-repeat: no-repeat; 
		background-size: cover;
		} 
	75% { background: url("../images/hero-image-4.jpg");
		background-repeat: no-repeat; 
		background-size: cover;
		}
	100% {background: url("../images/hero-image-1.jpg");
		background-repeat: no-repeat; 
		background-size: cover;
		}
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsla(215, 80%, 20%, 0.95), hsla(215, 80%, 25%, 0.8), hsla(215, 80%, 25%, 0.4));
}

.hero-decorative {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.decorative-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.circle-1 {
  top: 25%;
  right: 25%;
  width: 18rem;
  height: 18rem;
  background: hsla(25, 95%, 53%, 0.2);
  animation: float 6s ease-in-out infinite;
}

.circle-2 {
  bottom: 25%;
  right: 33%;
  width: 12rem;
  height: 12rem;
  background: hsla(35, 95%, 55%, 0.1);
  animation: float 6s ease-in-out infinite 0.4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.hero-content {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.hero-content::after {
  content: '';
  position: absolute;
  top: 1px;
  right: 1px;
  width: 150px;
  height: 150px;
  background: url(../images/kvalita-logo.png) no-repeat;
  background-size: 100% 100%;
}

.hero-text {
  max-width: 48rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: hsla(0, 0%, 100%, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid hsla(0, 0%, 100%, 0.2);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  color: hsla(0, 0%, 100%, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
}

.badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: hsl(142, 76%, 56%);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.text-gradient {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: hsla(0, 0%, 100%, 0.8);
  margin-bottom: 2rem;
  max-width: 36rem;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsla(0, 0%, 100%, 0.9);
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.hero-wave svg {
  width: 100%;
  display: block;
}

/* ========================================
   Sections
   ======================================== */
.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.section-label {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-title.text-left {
  text-align: left;
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}
.section-description strong { color:var(--foreground);}
.section-description a { color:var(--secondary-light);}
.section-description a:hover { color:var(--secondary);}


/* ========================================
   portfolio category list
   ======================================== */

.portfolio-category__list {
    display: flex;
    flex-wrap: wrap;
	gap: 1em;
	margin: 3em 0;
}

.portfolio-item {
    display: grid;
    width: 32%;
	padding-top:32%; /* older browser ratio hack*/
	position: relative; /* If you want content inside of it */
/*    aspect-ratio: 1/1;*/ /* FF 89 and more */
    place-items: center;
    background: #e8eaed;
	overflow:hidden;
	-moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px;
}
@media (max-width: 940px) {
	.portfolio-item  {width: 47%;}
}
@media (max-width: 500px) {
	.portfolio-item  {width: 100%;}
}


.portfolio-item:hover {transform: scale(1.03);
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
	box-shadow: 0 .75rem 2.75rem 0 rgba(161,165,178,1);
	}

.portfolio-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: absolute;
	top:0; left:0;
	color:#e8eaed;
}

.portfolio-item span:hover {
	background-color: rgba(34, 124, 209, 0.8);
	color: rgba(255, 255, 255, 1);
	-webkit-transition: all .5s; -moz-transition: all .5s; transition: all .5s;}

.portfolio-item span { padding:0; margin:0;
	background-color: rgba(34, 124, 209, 0.1);
    color: rgba(255, 255, 255, 1); 
	text-align:center; font-size:24px;
	}

.portfolio-item img {
    height: 100%;
    object-fit: cover;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
	  filter: none; -webkit-filter: grayscale(0);
}
.portfolio-item:hover img {
    transform: scale(1.1);
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
	filter: gray; /* IE6-9 */ filter: grayscale(1); /* Firefox 35+ */ -webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
}

.portfolio-item__title {
    display: grid;
    position: absolute;
    left: 0;
    top: 0;
    color: white;
    place-items: center;
    width: 100%;
    height: 100%;
    z-index: 1;
	background-image: linear-gradient(to bottom, transparent , rgba(0,0,0,0.4));
}

.portfolio-item:hover .portfolio-item__title {
    display: grid;
}

/* ========================================
   galerie
   ======================================== */

.portfolio-gallery {
    display: grid;
    /* mrizka 14em x 14em */
    grid-template-columns: repeat(auto-fit, minmax(14em, 1fr));
	/*opakuj sloupce mrizka, vsechnybunky vyplnidostupne misto, budou mit stejnou sirku jako ostatni bunky (1 fraction) minimalne 14em */
    grid-template-rows: repeat(auto-fit, minmax(14em, 1fr));
    gap: 1em;
	margin:3em 0;
}

.portfolio-gallery a {
    display: block;
	background: #0084d2;
	-moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px;
	overflow: hidden;
}

.portfolio-gallery img:hover {
    opacity: 0.5;
    filter: alpha(opacity=50);
    transform: scale(1.1);
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
}

.portfolio-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   butony
   ======================================== */

a.buton, input.buton, button.buton, p.buton {color:#FFF; font-size:18px; font-weight: normal; line-height:52px; height:52px; padding:10px 30px; text-decoration:none; position:relative; white-space:nowrap; margin:10px;
-moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px; background: linear-gradient(135deg, var(--secondary), var(--secondary-light));}
 p.buton { cursor:pointer; display: inline-block;}
a.buton:hover, input:hover.buton, button:hover.buton, p:hover.buton, a.buton-grey:hover {color:#fff; background:#000;
box-shadow: 0 .75rem 2.75rem 0 rgba(0,164,242,0.2);
padding:12px 32px;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .15s;
}

/* ========================================
   Services Section
   ======================================== */
.section-services {
  background: var(--background);
}

.services-grid {
  display: grid;
  gap: 1.5rem;
  margin: 0 auto 66px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  cursor: pointer;
  position:relative;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card a { 
  position:absolute; 
  display:block; 
  text-decoration:none; 
  width:100%; 
  height:100%;
}

.service-card a span { 
  visibility:hidden;
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, hsla(25, 95%, 53%, 0.1), hsl(35, 100%, 95%));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--secondary);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.service-card:hover .service-title {
  color: var(--secondary);
}

.service-description {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.service-line {
  margin-top: 1.5rem;
  height: 4px;
  width: 0;
  background: linear-gradient(to right, var(--secondary), var(--secondary-light));
  border-radius: 9999px;
  transition: width 0.5s ease;
}

.service-card:hover .service-line {
  width: 100%;
}

/* ========================================
   About Section
   ======================================== */
.section-about {
  background: var(--muted);
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-content .section-title {
  text-align: left;
}

.about-text {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-text-secondary {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.benefits-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.benefit-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
}

.benefit-item span:last-child {
  font-weight: 500;
  color: var(--foreground);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.stat-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.stat-card-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, hsla(25, 95%, 53%, 0.1), hsl(35, 100%, 95%));
}

.stat-card-primary .stat-icon {
  background: hsla(0, 0%, 100%, 0.2);
}

.stat-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--secondary);
}

.stat-card-primary .stat-icon svg {
  color: white;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .stat-value {
    font-size: 2.5rem;
  }
}

.stat-card-primary .stat-value {
  color: white;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.stat-card-primary .stat-label {
  color: hsla(0, 0%, 100%, 0.8);
}

/* ========================================
   Testimonials Section
   ======================================== */
.section-testimonials {
  background: var(--background);
}

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.testimonial-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.quote-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: hsla(25, 95%, 53%, 0.2);
  margin-bottom: 1rem;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--secondary);
}

.testimonial-text {
  color: var(--foreground);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), hsla(215, 70%, 35%, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
}

.author-name {
  font-weight: 600;
  color: var(--foreground);
}

.author-location {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ========================================
   Contact Section
   ======================================== */
.section-contact {
  background: var(--muted);
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
  }
}


#returnmessage{ display:block; position:absolute; top:25%; left:0px; z-index:99999; background:#2cbe0f; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px; color:#fff; text-align:center; width:94%; padding:10% 3%;}
#returnmessage:empty { display:none; }

.contact-form-wrapper {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position:relative;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gdpr { font-size:11px;}
.midle { text-align:center;}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  font-size: 1rem;
  font-family: inherit;
  color: var(--foreground);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px hsla(25, 95%, 53%, 0.1);
}

.form-group textarea {
  resize: none;
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--card);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.contact-info-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, hsla(25, 95%, 53%, 0.1), hsl(35, 100%, 95%));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
  transform: scale(1.1);
}

.contact-info-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--secondary);
}

.contact-info-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.3s ease;
}

.contact-info-card:hover .contact-info-value {
  color: var(--secondary);
}

.emergency-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-top: 0.5rem;
}

.emergency-card h4 {
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.emergency-card p {
  color: hsla(0, 0%, 100%, 0.8);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.emergency-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--primary);
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}

.emergency-btn:hover {
  background: hsla(0, 0%, 100%, 0.9);
}

.emergency-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--primary);
  color: white;
}

.footer .container {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  }
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-description {
  color: hsla(0, 0%, 100%, 0.7);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: hsla(0, 0%, 100%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.social-link:hover {
  background: var(--secondary);
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-links h4,
.footer-contact h4 {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: hsla(0, 0%, 100%, 0.7);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-contact a,
.footer-contact span {
  color: hsla(0, 0%, 100%, 0.7);
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid hsla(0, 0%, 100%, 0.1);
}

.footer-bottom .container {
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom .container {
    flex-direction: row;
    justify-content: space-between;
    padding: 1.5rem 2rem;
  }
}

.footer-bottom p {
  color: hsla(0, 0%, 100%, 0.6);
  font-size: 0.875rem;
  text-align: center;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: hsla(0, 0%, 100%, 0.6);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover, 
.footer p a:hover{
  color: var(--secondary);
}
