/* About */

.about-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  color: var(--blue);
}

.about h2 {
  margin-bottom: 1rem;
  text-align: left;
}

.about p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.about-text {
  flex: 2;
  text-align: left;
}

.about-image {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 5rem auto;
}

.about-img {
  width: 400px;
  height: auto;
  display: block;
}

.label {
  position: absolute;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  max-width: 200px;
  text-align: left;
}

.about-image .label p {
  line-height: 1.2;
  font-size: 0.9rem;
  color: var(--orange);
}

.about-image .label .name {
  font-weight: bold;
  color: var(--blue);
}

/* Marina label positioning */
.marina-label {
  top: 0%;
  left: 45%;
}

/* Clint label positioning */
.clint-label {
  bottom: -5%;
  right: 40%;
}

/* Concepts */

.concepts-header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}

.concept-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  border-radius: 12px;
}

.concept-image {
  width: 30%;
  display: flex;
  justify-content: left;
  border-radius: 8px;
  padding: 1rem;
  margin-right: 1rem;
}

.concept-image img {
  max-width: 15rem;
  height: auto;
  display: block;
}

.concept-description {
  width: 40%;
  text-align: left;
  padding: 1rem;
  border-radius: 8px;
  margin-right: 1rem;
}

.concept-classification {
  color: var(--blue);
}

.rating-row {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
  gap: 0.5rem;
}

.rating-row span {
  display: inline-block;
  min-width: 80px;
  text-align: left;
}

.glasses {
  display: flex;
  flex-flow: row nowrap;
}

.glass-icon {
  height: clamp(16px, 2vw, 24px);
  width: auto;
  margin-left: 6px;
  vertical-align: middle;
  display: flex;
}

.concept-button-desktop {
  background-color: var(--orange);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  border-radius: 999px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 1rem;
  text-align: center;
  display: block;
}

.concept-button {
  background-color: var(--orange);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  border-radius: 999px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
  max-width: 200px;
}

/* Wrapper for mobile */
.concept-button-mobile {
  display: none;
}

.flower-separator {
  display: none;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0;
  width: 100%;
  text-align: center;
}

/* Concept Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 70%);
  animation: fadeIn 0.3s ease forwards;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: block;
}

.modal-content {
  top: clamp(3vw, 5vw, 10vw);
  background-color: white;
  margin: 5% auto;
  padding: 1rem;
  border-radius: 8px;
  width: 70%;
  max-width: 800px;
  text-align: center;
  position: relative;
  animation: scaleUp 0.3s ease forwards;
  
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  width: 200%;
  transition: transform 0.4s ease;
  touch-action: pan-y;
}

.slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: left;
  align-items: center;
}

.modal-image {
  max-width: 50%;
  height: auto;
  display: block;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgb(255 255 255 / 80%);
  color: rgb(0 0 0);
  font-size: 2rem;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 2;
}

.left {
  left: -10px;
}

.right {
  right: -10px;
}

.carousel-dots {
  text-align: center;
  margin-top: 1rem;
}

.carousel-dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 50%;
}

.carousel-dots .active {
  background-color: #333;
}

.modal.hide {
  animation: fadeOut 0.3s ease forwards;
}

.modal-content.hide {
  animation: scaleDown 0.3s ease forwards;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleUp {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes scaleDown {
  from {
    transform: scale(1);
    opacity: 1;
  }

  to {
    transform: scale(0.9);
    opacity: 0;
  }
}

/* Formats */

.formats {
  text-align: center;
}
.formats p {
  text-align: left;
}

.formats h2 {
  margin-bottom: 2rem;
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

.formats-table-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem auto;
  color: var(--blue);
}

.formats-space {
  flex: 1;
}

.formats-table {
  flex: 5;
  flex-basis: 60%;
  width: 100%;
}

.formats-legend {
  flex: 2;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  min-width: 260px;
  color: var(--blue);
  padding-top: 3rem;
  margin: 0 auto;
}

.legend-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.legend-symbol {
  width: 120px; /* fixed width to align all flower groups */
  display: flex;
  justify-content: flex-end;
  gap: 0.2rem;
}

.legend-text {
  text-align: left;
  white-space: nowrap;
  width: 120px;
}

.formats-table th,
.formats-table td {
  border: 1px solid var(--blue);
  padding: 0.8rem;
  text-align: left;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.formats-table table {
  width: 100%;
  border-collapse: collapse;
}

/* Accordion container */
.formats-accordion {
  display: none;
  flex-direction: column;
  gap: 1.2rem;
}

/* Accordion item */
.accordion-item {
  border: 2px solid #0957a2;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff5e1;
  margin: 7px auto;
}

/* Header bar with icon, title, and arrow */
.accordion-header {
  min-height: 70px;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  background-color: #fdf0da;
  color: var(--blue);
  font-weight: bold;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.accordion-header.with-subtitle {
  flex-direction: row;
  align-items: stretch;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.accordion-header-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.accordion-subtitle {
  font-size: 0.9rem;
  color: var(--orange);
  margin-top: 0.2rem;
  line-height: 1.3;
  font-weight: normal;
}

.accordion-icon {
  height: 36px;
  width: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}

.accordion-title {
  flex-grow: 1;
}

/* Down/up arrow toggle */
.accordion-arrow {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
}

/* Collapsible content */
.accordion-content {
  display: none;
  padding: 0;
  background-color: var(--cream);
  color: var(--blue);
}

.accordion-dark {
  background-color: #fdf0da;
  color: var(--blue);
}

.accordion-bright {
  background-color: var(--cream);
  color: var(--blue);
}

.price-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 0.5rem;
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  margin-bottom: 0.5rem;
}

.price-label {
  color: var(--blue);
  font-weight: bold;
  white-space: nowrap;
}

.price-dots {
  border-bottom: 1px dotted var(--blue);
  width: 100%;
  height: 0.9em;
}

.price-value {
  color: var(--blue);
  white-space: nowrap;
  text-align: right;
}

.price-value small {
  font-size: clamp(0.6rem, 1.2vw, 0.85rem);
  margin-left: 0.25em;
}

.accordion-item.active .accordion-content {
  display: block;
}

/* Label and flowers per row */
.accordion-content p {
  display: flex;
  gap: 0.2rem;
  align-items: center;
  text-align: left;
}

.label-text {
  display: inline-block;
  min-width: 200px; /* Adjust width based on longest label */
  font-weight: bold;
}

.flower-container {
  display: flex;
  justify-content: left;
  align-items: center;
  flex-wrap: nowrap; /* never wrap flowers */
  gap: 2px;
}

.flower {
  width: clamp(16px, 2vw, 24px);
  height: clamp(16px, 2vw, 24px);
  margin: 0;
  vertical-align: middle;
}

.no-wrap {
  white-space: nowrap;
}


/* Pricing */

.pricing {
  text-align: center;
  color: #0957a2;
}

.pricing-content {
  margin: 0 auto;
  text-align: left;
}

.pricing-content p {
  margin-bottom: 2rem;
}

.pricing-table {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.pricing-table th,
.pricing-table td {
  padding: 1rem;
  text-align: left;
}

.pricing-table thead th {
  color: var(--orange);
  font-weight: bold;
}

.pricing-table tbody td:first-child {
  text-align: left;
}

.pricing-table tbody td small {
  display: block;
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  margin-top: 0.3rem;
}

.brochure {
  text-align: center;
  padding: 1rem;
}

.brochure-download {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.brochure-button {
  background-color: var(--orange);
  color: white;
  padding: 0.8rem 2rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: bold;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
}

.contact {
  text-align: center;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.contact-left,
.contact-right {
  flex: 1 1 300px;
  max-width: 500px;
}

.contact-left a {
  text-decoration: none;
  font-weight: bold;
}

.contact-left a:hover {
  text-decoration: underline;
}

.contact-cards {
  display: flex;
  justify-content: center; /* center the row */
  align-items: flex-start;
  gap: 2rem; /* space between cards */
  flex-flow: row nowrap;
  margin-top: 2rem;
}

.contact-card {
  background-color: #fff5e1;
  border-radius: 12px;
  padding: 2rem;
  width: clamp(40px, 25vw, 200px);
  text-align: center;
  box-shadow: 0 4px 8px rgb(0 0 0 / 10%);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgb(0 0 0 / 20%);
}

.contact-image {
  width: 80%;
  height: auto;
  max-width: 8rem;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 1rem;
  position: relative;
  transition: transform 0.3s ease;
}

.contact-card:hover .contact-image {
  transform: scale(1.2);
}

.contact-info p {
  margin: 0.3rem 0;
}

.contact-info a {
  color: var(--blue);
  text-decoration: none;
  font-weight: bold;
}

.contact-person {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-direction: column;
}

.contact-message {
  margin-top: 1rem;
  text-align: center;
}

.contact-email {
  color: var(--orange);
  font-weight: bold;
  text-decoration: none;
}

.contact-email:hover {
  text-decoration: underline;
}

.contact-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-right p {
  margin: 0.5rem 0;
  text-align: left;
  color: var(--orange);
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
}

.contact-right ul {
  padding: 0;
  margin-left: 2rem;
  text-align: left;
  color: var(--blue);
}

.contact-right li {
  margin-bottom: 0.1rem;
}

.contact-logo img {
  width: 200px;
  margin: 2rem 0;
}

.contact-qr-codes {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.contact-qr-codes img {
  width: 100px;
  height: auto;
}

.qr-code {
  transition: transform 0.3s ease;
  cursor: pointer;
}

.qr-code:hover {
  transform: scale(1.1);
}

.flower-list {
  list-style: none;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.flower-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.flower-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 16px;
  height: 16px;
  background-image: url("../Images/Format/blume.png");
  background-size: contain;
  background-repeat: no-repeat;
}
