/* General reset and font */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Quicksand', sans-serif;
  color: #333;
  background-color: white; /* Updated background color */
  line-height: 1.6;
  display: block;
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem; /* kis belső margó, hogy ne érjen teljesen a széléig */
}

/* ==== NAVBAR STÍLUS ==== */

#navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

#navbar .logo img {
  height: 100px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* ==== NAV LINKS ==== */
#nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

#nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease;
}

#nav-links li a:hover {
  color: #ff7e5f; /* finom, meleg highlight szín */
}

/* ==== HAMBURGER MENU ==== */
#hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

#hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hamburger animáció aktív állapotban */
#hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

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

#hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ==== QUOTE SECTION ==== */

.quote-section {
  background-color: white; /* halvány pasztell háttér */
  padding: 4rem 2rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-section blockquote {
  font-size: 1.5rem;
  font-weight: 600;
  color: #444;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  padding: 1rem 2rem;
}

/* Dísz idézőjelek */
.quote-section blockquote::before,
.quote-section blockquote::after {
  content: '"';
  font-size: 2rem;
  color: #ff7e5f;
  font-weight: bold;
  vertical-align: top;
  margin: 0 0.25rem;
}

/* ABOUT SZEKCIÓ - GRID */

.hero-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem;
  align-items: center;
}

.hero-image {
  grid-row: 1 / 3; /* két soron át fusson le */
  grid-column: 1;
  max-width: 90%;
  justify-self: center;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.hero-content {
  grid-row: 1;
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content h3 {
  font-size: 1.5rem;
  color: #ff7e5f;
  margin-bottom: 1rem;
  text-align: center;
}

.hero-content p {
  text-align: justify;
}

.hero-button {
  grid-row: 2;
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%; /* fontos, hogy kitöltse a cellát */
  margin-top: 5rem;
}

/* GOMB STÍLUS */
.hero-button .btn {
  background-color: #FFCCB8; /* halvány pasztell szín */
  color: #333;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  border: none;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}


.hero-button .btn:hover {
  background-color: #FFB79F;
}



.services {
  margin-top: 4rem;
}

.services h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.service-item {
  margin-bottom: 2rem;
}

.service-item h3 {
  color: #ff7e5f;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.service-item p {
  color: #555;
  line-height: 1.6;
  text-align: justify;
}

#useful h2 {
  text-align: center;
}

.accordion {
    margin-top: 2rem;
    border-top: 1px solid #ccc;
  }

  .accordion-item {
    border-bottom: 1px solid #ccc;
  }

  .accordion-header {
    background-color: #FFE9E0; /* Softer beige header */
    padding: 1rem;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    text-align: left;
    border: none;
    width: 100%;
    outline: none;
    transition: background-color 0.3s ease;
    color: #000; /* force black text */
  	-webkit-touch-callout: none; /* prevent callout menu */
  	-webkit-text-size-adjust: none; /* prevent text resizing */
  }

  .accordion-header:hover {
    background-color: #FFCCB8;
  }

  .accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1rem;
    text-align: justify;
  }

  .accordion-body.show {
    padding: 1rem;
    max-height: none;
  }

/* Pricing */

.pricing {
  margin-top: 4rem;
}

.pricing h2 {
  text-align: center;
}

.pricing .price-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  background: #fffaf6; /* Softer beige card background */
  padding: 1.5rem;
  border-radius: 8px;
  width: 300px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* szétosztja a címet, leírást és árat */
  height: 100%;
}

.card .price {
  font-size: 1.4rem;
  font-weight: bold;
  color: #ff7e5f;
  margin-top: 1rem;
  align-self: center;
}

.pricing-note {
  text-align: center;
  font-style: italic;
  margin-top: 1rem;
  align-self: center;
}

/* Gallery Section */
.gallery {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #fff;
}

.gallery h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1rem;
}

.mobile-info {
  font-size: 1rem;
  color: #777;
  margin-bottom: 2rem;
}

/* Carousel Container */
.gallery-container {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

/* Track = Slide Wrapper */
.gallery-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Individual Slide */
.gallery-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0;
}

/* Images */
.gallery-image {
  width: 100%;
  max-width: 30%;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.03);
}

/* Nav Arrows */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  z-index: 10;
}

.nav-arrow:hover {
  background-color: rgba(255, 255, 255, 1);
}

.nav-left {
  left: 10px;
}

.nav-right {
  right: 10px;
}

/* Overlay View */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 999;
  padding: 1rem;
}

.overlay img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.overlay .nav-arrow {
  color: #000;
  background-color: #fff;
  font-size: 2.5rem;
  padding: 0.5rem 1rem;
}

.overlay .nav-left {
  left: 2%;
}

.overlay .nav-right {
  right: 2%;
}

.overlay.active {
  display: flex;
}

/* Contact Section */
.contact {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
  text-align: center;
  border-radius: 16px;
}

.contact h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1rem;
}

.contact p {
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto 3rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.contact-form label {
  font-weight: bold;
  text-align: left;
  color: #444;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #999;
  box-shadow: 0 0 0 3px rgba(150, 150, 150, 0.1);
}

.contact-form .btn {
  align-self: flex-end;
  background-color: #FFCCBB; /* halvány pasztell szín */
  color: #333;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  border: none;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
  width: fit-content;
  margin-top: 0.5rem;
  font-size: 0.8rem;
}


.contact-form .btn:hover {
  background-color: #FFB79F;
}

/* Extra Contact Info */
.contact-extra {
  margin-top: 2rem;
  color: #444;
}

.contact-extra p {
  margin-bottom: 0.5rem;
}

.contact-extra a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-extra a:hover {
  color: #666;
}

/* Social Links */
.social-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-left: 0;
}

.social-links li {
  display: inline-block;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1.2rem;
  color: #fff;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Facebook colors */
.social-links a[aria-label="Facebook"] {
  background-color: #1877f2;
}

.social-links a[aria-label="Facebook"]:hover {
  background-color: #145dbf;
  transform: scale(1.1);
}

/* Insta colors */
.social-links a[aria-label="Instagram"] {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, 
              #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-links a[aria-label="Instagram"]:hover {
  opacity: 0.9;
  transform: scale(1.1);
}

.social-links a:hover {
  background-color: #555;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 0;
  background-color: white; /* Slight contrast beige */
  font-size: 0.9rem;
}


@media (max-width: 768px) {
  .hero-about-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .hero-image {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-content {
    grid-column: 1;
    grid-row: 2;
    text-align: justify;
  }


  .hero-button {
    grid-column: 1;
    grid-row: 3;
  }

  #nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    gap: 1rem;
    display: none;
  }

  #nav-links.active {
    display: flex;
  }

  #hamburger {
    display: flex;
  }
  
  #navbar .logo img {
    height: 100px;
  }

   .gallery-slide {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }

  .gallery-image {
    max-width: 100%;
    width: 100%;
  }

  .nav-arrow {
    font-size: 1.5rem;
  }

  .overlay img {
    max-height: 60vh;
  }

  .contact-form {
    padding: 0 1rem;
  }

  .social-links {
    gap: 0.75rem;
  }
}
