/* Varázsfecskendő Kisállat Klinika - Main Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #4E9F8E;
  --primary-hover: #3d8072;
  --secondary: #5482b6; /* The brand blue color */
  --secondary-dark: #3f6b98; /* Darker blue for contrast */
  --dark: #1E272E;
  --light: #F4F7F9;
  --white: #FFFFFF;
  --text: #2C3E50;
  --text-muted: #7F8C8D;
  --border-color: #E2E8EE;
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--light);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
}

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

a:hover {
  color: var(--primary-hover);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--dark);
  font-weight: 600;
  line-height: 1.3;
}

/* FLUID BACKGROUNDS & BOXED CONTENT CONFIGURATION */

/* 1. Fluid Top Bar */
.top-bar {
  background-color: var(--secondary-dark);
  color: var(--white);
  padding: 10px 20px;
  font-size: 13.5px;
  width: 100%;
}

.top-bar-inner {
  max-width: 1300px; /* Aligns to header container */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.top-bar-info span {
  margin-right: 25px;
}

.top-bar-info a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.top-bar-info a:hover {
  color: var(--primary-hover);
}

.top-bar-info i {
  color: var(--primary);
  margin-right: 6px;
}

.top-bar-social a {
  color: var(--white);
  margin-left: 20px;
  font-size: 15px;
}

.top-bar-social a:hover {
  color: var(--primary);
}

/* 2. Fluid Header (Background color #5482b6, fluid container split into segments) */
.fluid-header {
  width: 100%;
  background-color: var(--secondary);
  display: flex;
  flex-direction: column;
}

/* Header Top (Syringe, Title text, Cross) */
.header-top {
  width: 100%;
  background-color: var(--secondary);
}

.header-top-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10px 10px 10px;
  position: relative; /* Set relative context for absolute cross positioning */
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-syringe {
  width: 619px;
  height: 55px;
  display: block;
}

.logo-cross {
  position: absolute;
  right: 10px;
  top: calc(100% + 23px); /* Position vertical center exactly in the middle of the navbar */
  transform: translateY(-50%);
  width: 100px;
  height: 101px;
  display: block;
  z-index: 110; /* Render on top of the navbar */
}



/* 3. Fluid Navigation Menu Bar (Overlaps the bottom cross element in layout) */
.navbar {
  width: 100%;
  background-color: var(--secondary-dark); /* Solid dark blue matching the top bar */
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 100;
}

.nav-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 10px;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 14px 22px;
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.nav-link:hover, .nav-item.active > .nav-link {
  background-color: var(--primary); /* Mint green hover */
  color: var(--white);
}

/* Dropdown Menu styling */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1000;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 12px 20px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  text-transform: none;
}

.dropdown-link:last-child {
  border-bottom: none;
}

.dropdown-link:hover {
  background-color: var(--light);
  color: var(--primary);
  padding-left: 25px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  padding: 15px;
}

/* Header Bottom (Slogan list & Animals) */
.header-bottom {
  width: 100%;
  background-color: var(--secondary);
}

.header-bottom-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 10px 10px 0 10px;
}

.header-slogan {
  color: var(--white);
  width: 650px;
  padding-bottom: 25px; /* Elevate list from bottom edge slightly */
}

.header-slogan h1 {
  font-size: 23px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
  font-family: var(--font-title);
  line-height: 1.25;
}

.header-slogan ul {
  list-style: none;
}

.header-slogan ul li {
  font-size: 14.5px;
  font-weight: 500;
  margin-bottom: 6px;
  position: relative;
  padding-left: 20px;
  color: var(--white);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.header-slogan ul li::before {
  content: "●";
  color: var(--white);
  position: absolute;
  left: 0;
  top: 0;
}

.header-animals-wrapper {
  display: flex;
  align-items: flex-end;
}

.header-animals {
  width: 562px;
  height: 249px;
  display: block;
}

/* 4. Boxed Content Container (wider 1300px layout) */
.content-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  background-color: var(--white);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.03);
}

.content-wrapper {
  padding: 50px 40px;
}

/* Startpage (Welcome Section) */
.welcome-section {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.welcome-text {
  flex: 1;
}

.welcome-text h1 {
  font-size: 15px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.welcome-text h2 {
  font-size: 30px;
  color: var(--secondary-dark);
  margin-bottom: 25px;
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
}

.welcome-text h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 65px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

.welcome-text p {
  font-size: 15.5px;
  color: var(--text);
  margin-bottom: 18px;
  text-align: justify;
}

.welcome-text strong {
  color: var(--secondary-dark);
}

.welcome-text .subheading {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-dark);
  margin-top: 30px;
  margin-bottom: 10px;
}

.welcome-img-column {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 350px;
  flex-shrink: 0;
}

.welcome-img-container {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--light);
}

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

.welcome-img-container:hover .welcome-img {
  transform: scale(1.05);
}

/* 5. Fluid Modern Footer (Background fluid color #5482b6, content boxed) */
.modern-footer {
  background-color: var(--secondary);
  color: #FFFFFF;
  font-size: 14px;
  border-top: 5px solid var(--primary);
  width: 100%;
}

.footer-cards-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 20px 30px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Solid white card design on fluid #5482b6 background */
.footer-card {
  background-color: var(--white);
  color: var(--text);
  border: none;
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.footer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.footer-card h2 {
  color: var(--secondary-dark);
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.footer-card h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 45px;
  height: 2.5px;
  background-color: var(--primary);
}

/* Column 1 contents: Contact & Hours */
.contact-item {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  font-size: 14px;
}

.contact-item strong {
  color: var(--secondary-dark);
  min-width: 80px;
  display: inline-block;
  font-weight: 600;
}

.hours-list {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed var(--border-color);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 13.5px;
}

.hours-day {
  color: var(--secondary-dark);
  font-weight: 600;
}

.hours-time {
  color: var(--text);
}

/* Column 2 contents: Benefits */
.benefits-list {
  list-style: none;
}

.benefit-item {
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: var(--text);
}

.benefit-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 16px;
}

/* Column 3 contents: Specific Food */
.partner-logo-container {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.partner-logo {
  max-width: 100%;
  height: auto;
  max-height: 80px;
  display: block;
}

/* Fluid bottom bar (Content boxed) */
.footer-bottom {
  background-color: var(--secondary-dark);
  padding: 25px 20px;
  width: 100%;
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom-inner {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
  font-size: 13.5px;
}

.footer-bottom p {
  margin-bottom: 5px;
}

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

.footer-bottom-links a {
  color: var(--white);
  margin: 0 10px;
  font-weight: 500;
  transition: var(--transition);
}

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

/* 6. About Us Page (bemutatkozas.php) Styles */
.about-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.about-section {
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border-color);
}

.about-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-section h2 {
  font-size: 28px;
  color: var(--secondary-dark);
  margin-bottom: 25px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.about-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

.about-clinic p {
  font-size: 15.5px;
  color: var(--text);
  margin-bottom: 18px;
  text-align: justify;
}

.about-quote {
  font-size: 17px;
  font-weight: 500;
  color: var(--secondary-dark);
  border-left: 4px solid var(--primary);
  padding-left: 15px;
  margin: 30px 0 10px 0;
}

/* Doctor Section styling */
.doctor-bio-wrapper {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.doctor-text {
  flex: 1;
}

.doctor-text h2 {
  font-size: 28px;
  color: var(--secondary-dark);
  margin-bottom: 25px;
}

.doctor-text p {
  font-size: 15.5px;
  color: var(--text);
  margin-bottom: 18px;
  text-align: justify;
}

.doctor-img-container {
  width: 320px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--light);
}

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

.doctor-img-container:hover .doctor-img {
  transform: scale(1.05);
}

/* Gallery styling */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid var(--white);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--light);
}

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

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

/* 8. Services Page (szolgaltatasok.php) Styles */
.services-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.services-intro h2 {
  font-size: 28px;
  color: var(--secondary-dark);
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.services-intro h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

.services-intro p {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.6;
}

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

.services-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.services-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(84, 130, 182, 0.2);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(78, 159, 142, 0.1); /* 10% opacity of mint green */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.service-icon i {
  color: var(--primary);
  font-size: 26px;
}

.services-card h3 {
  font-size: 20px;
  color: var(--secondary-dark);
  font-weight: 700;
  margin-bottom: 18px;
}

.services-card ul {
  list-style: none;
}

.services-card ul li {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
  line-height: 1.5;
}

.services-card ul li::before {
  content: "•";
  color: var(--primary);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 16px;
  line-height: 1.2;
}

.services-outro-info {
  margin-top: 20px;
}

.info-box {
  background-color: rgba(84, 130, 182, 0.05);
  border-left: 5px solid var(--secondary);
  border-radius: var(--radius);
  padding: 25px 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-box i {
  color: var(--secondary);
  font-size: 28px;
  margin-top: 2px;
}

.info-box h4 {
  font-size: 16px;
  color: var(--secondary-dark);
  font-weight: 700;
  margin-bottom: 6px;
}

.info-box p {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.5;
}

/* 9. Tudnivalók Page (tudnivalok.php) Styles */
.info-page-container {
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.info-intro h2 {
  font-size: 28px;
  color: var(--secondary-dark);
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.info-intro h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

.info-intro p {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.6;
}

.info-section {
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-color);
}

.info-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-row {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.reverse-row {
  flex-direction: row-reverse;
}

.info-content-col {
  flex: 1;
}

.info-img-col {
  width: 320px;
  flex-shrink: 0;
  position: sticky;
  top: 30px;
}

.pet-img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--white);
}

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

.pet-img-frame:hover .pet-info-img {
  transform: scale(1.03);
}

.section-title-wrapper {
  margin-bottom: 35px;
}

.pet-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.badge-dog {
  background-color: rgba(84, 130, 182, 0.1);
  color: var(--secondary-dark);
}

.badge-cat {
  background-color: rgba(78, 159, 142, 0.1);
  color: var(--primary);
}

.info-content-col h3 {
  font-size: 24px;
  color: var(--secondary-dark);
  font-weight: 700;
}

/* Timeline component styling */
.timeline {
  position: relative;
  border-left: 3px solid var(--light);
  margin-left: 45px;
  padding-left: 35px;
  margin-bottom: 35px;
}

.timeline-item {
  position: relative;
  margin-bottom: 25px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-badge {
  position: absolute;
  left: -73.5px; /* Centers 72px wide badge exactly on the 3px line */
  top: 0;
  background-color: var(--white);
  border: 2px solid var(--secondary);
  color: var(--secondary-dark);
  border-radius: 12px;
  padding: 3px 6px;
  font-size: 11px;
  font-weight: 700;
  width: 72px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.timeline-item:hover .timeline-badge {
  background-color: var(--secondary);
  color: var(--white);
}

.timeline-badge.badge-warn {
  border-color: #e74c3c;
  color: #e74c3c;
}

.timeline-item:hover .timeline-badge.badge-warn {
  background-color: #e74c3c;
  color: var(--white);
}

.timeline-badge.badge-primary {
  border-color: var(--primary);
  color: var(--primary);
}

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

.timeline-panel {
  padding: 2px 0;
}

.timeline-panel h4 {
  font-size: 16px;
  color: var(--secondary-dark);
  font-weight: 600;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.timeline-panel p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Badge tags inside timeline headers */
.badge-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-danger {
  background-color: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
}

.tag-required {
  background-color: rgba(78, 159, 142, 0.1);
  color: var(--primary);
}

/* Additional info card */
.additional-info-card {
  background-color: var(--light);
  border-left: 4px solid var(--primary);
  padding: 20px 25px;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}

/* 10. Partnerek Page (partnerek.php) Styles */
.partners-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.partners-hero {
  display: flex;
  gap: 50px;
  align-items: center;
}

.hero-content {
  flex: 1;
}

.partners-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  background-color: rgba(84, 130, 182, 0.1);
  color: var(--secondary-dark);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.partners-hero h2 {
  font-size: 28px;
  color: var(--secondary-dark);
  margin-bottom: 20px;
  font-weight: 700;
}

.lead-text {
  font-size: 17px;
  font-weight: 600;
  color: var(--secondary-dark);
  line-height: 1.5;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 15px;
}

.hero-content p:last-child {
  margin-bottom: 0;
}

.hero-logo-box {
  width: 350px;
  flex-shrink: 0;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow-lg);
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.partners-details {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 50px 0;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.details-block h3 {
  font-size: 20px;
  color: var(--secondary-dark);
  margin-bottom: 15px;
  font-weight: 700;
}

.details-block p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  text-align: justify;
}

.partners-pillars h3 {
  font-size: 24px;
  color: var(--secondary-dark);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pillar-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(84, 130, 182, 0.2);
}

.pillar-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(78, 159, 142, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.pillar-icon i {
  color: var(--primary);
  font-size: 26px;
}

.pillar-card h4 {
  font-size: 18px;
  color: var(--secondary-dark);
  font-weight: 700;
  margin-bottom: 15px;
}

.pillar-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  text-align: justify;
}

.additional-info-card h5 {
  font-size: 15px;
  color: var(--secondary-dark);
  font-weight: 700;
  margin-bottom: 8px;
}

.additional-info-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

/* 11. Kapcsolat Page (kapcsolat.php) Styles */
.contact-page-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-intro h2 {
  font-size: 28px;
  color: var(--secondary-dark);
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.contact-intro h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

.contact-intro p {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  align-items: flex-start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-group-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  box-shadow: var(--shadow);
}

.info-group-card h3 {
  font-size: 20px;
  color: var(--secondary-dark);
  font-weight: 700;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--light);
  padding-bottom: 10px;
}

.contact-detail-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-detail-row:last-child {
  margin-bottom: 0;
}

.detail-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(78, 159, 142, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.detail-icon i {
  color: var(--primary);
  font-size: 18px;
}

.detail-text {
  flex: 1;
}

.detail-text strong {
  display: block;
  font-size: 14px;
  color: var(--secondary-dark);
  margin-bottom: 4px;
}

.detail-text span {
  font-size: 15px;
  color: var(--text);
  line-height: 1.4;
}

.detail-text span a {
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
}

.detail-text span a:hover {
  color: var(--primary);
}

.company-card ul {
  list-style: none;
}

.company-card ul li {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 10px;
}

.company-card ul li:last-child {
  margin-bottom: 0;
}

.company-card ul li strong {
  color: var(--secondary-dark);
  font-weight: 600;
  min-width: 130px;
  display: inline-block;
}

.contact-map-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--white);
  height: 460px;
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.map-navigation-link {
  text-align: center;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--primary);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14.5px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.nav-button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 25px;
  right: 25px;
  max-width: 380px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: none; /* Hidden by default */
  animation: slideInUp 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.cookie-content p {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 20px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.btn-cookie {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

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

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

.btn-cookie-reject {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--text);
}

.btn-cookie-reject:hover {
  background-color: var(--light);
  border-color: rgba(0, 0, 0, 0.15);
}

@media (max-width: 480px) {
  .cookie-banner {
    bottom: 15px;
    right: 15px;
    left: 15px;
    max-width: calc(100% - 30px);
    padding: 20px;
  }
}
