/* Section-Specific Styles */

/* Blackout Section */
.ios26-preview .blackout-section {
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 3vw, 2rem);
  flex-wrap: wrap;
  justify-content: center;
  align-items: start;
}

.ios26-preview .blackout-section .image-content {
  flex: 1;
  min-width: clamp(250px, 40vw, 300px);
  max-width: clamp(500px, 90vw, 600px);
  display: flex;
  align-items: flex-start;
}

.ios26-preview .blackout-section .text-content {
  flex: 1;
  min-width: clamp(250px, 40vw, 300px);
  max-width: clamp(300px, 90vw, 600px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ios26-preview .blackout-section .text-content p {
  color: var(--text-color, #000000);
}

.ios26-preview .blackout-section .blackout-photo {
  max-width: clamp(300px, 90vw, 600px) !important;
  width: 100%;
  display: block;
  margin: 0;
}

.ios26-preview .blackout-section .text-content p:first-child {
  margin-top: 0;
}

/* Contact Section */
.ios26-preview .contact-section {
  background: transparent;
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  transform: scale(0.95);
  width: 100%;
  display: flex;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}

.ios26-preview .contact-section.visible {
  opacity: 1;
  transform: scale(1);
}

.ios26-preview .contact-card {
  background-color: var(--card-bg);
  border: 2px solid #A6ABAF;
  border-radius: 12px;
  padding: clamp(0.75rem, 1.5vw, 1rem);
  max-width: clamp(200px, 40vw, 300px);
  margin: 2rem 0 2rem 1rem;
  text-align: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 0;
  transform: translateY(20px);
}

.ios26-preview .contact-card.visible {
  opacity: 1;
  transform: translateY(0);
  background-color: transparent;
}

.ios26-preview .contact-card p {
  margin: 0.4rem 0;
  font-size: clamp(0.8rem, 2vw, 1rem);
}

/* CTA Section */
.ios26-preview .cta-section {
  background: transparent;
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  transform: scale(0.95);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.ios26-preview .cta-section.visible {
  opacity: 1;
  transform: scale(1);
}

.ios26-preview .cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(1rem, 2vw, 1.5rem);
  width: 100%;
}

@media (max-width: 768px) {
  .ios26-preview .cta-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
  }
  
  .ios26-preview .cta-text {
    width: 100%;
    text-align: center;
    margin: 0;
  }
  
  .ios26-preview .cta-button-small {
    align-self: center;
    width: auto;
    margin: 0 auto;
    display: block;
  }
}

.ios26-preview .cta-text {
  flex: 1;
  min-width: 200px;
  color: var(--text-color, #000000);
}

.ios26-preview .cta-button-small {
  text-decoration: none;
  color: #ffffff !important;
  background-color: #e40044 !important;
  font-weight: bold;
  padding: clamp(0.3rem, 1vw, 0.5rem);
  border-radius: 0.25rem;
  border: none;
  transition: background-color 0.3s ease;
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
  cursor: pointer;
  white-space: nowrap;
  display: inline-block;
}

.ios26-preview .cta-button-small:hover {
  background-color: #d6003b !important;
}

/* Gallery Carousel */
.ios26-preview .gallery-carousel {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}

.ios26-preview .gallery-carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.ios26-preview .gallery-carousel-item {
  flex: 0 0 100%;
  cursor: pointer;
  text-align: center;
  width: 100%;
}

.ios26-preview .gallery-carousel-item img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.ios26-preview .gallery-carousel-prev,
.ios26-preview .gallery-carousel-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: clamp(0.5rem, 2vw, 1rem);
  cursor: pointer;
  z-index: 10;
  font-size: clamp(1rem, 3vw, 1.5rem);
}

.ios26-preview .gallery-carousel-prev {
  left: clamp(0.5rem, 2vw, 1rem);
}

.ios26-preview .gallery-carousel-next {
  right: clamp(0.5rem, 2vw, 1rem);
}

/* Modals */
.ios26-preview .modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.ios26-preview .modal-content {
  margin: auto;
  display: block;
  width: 90%;
  max-width: clamp(300px, 90vw, 1200px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ios26-preview .close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: bold;
  transition: 0.3s;
}

.ios26-preview .close:hover,
.ios26-preview .close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.ios26-preview .modal-prev,
.ios26-preview .modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: clamp(0.5rem, 2vw, 1rem);
  cursor: pointer;
  z-index: 101;
  font-size: clamp(1rem, 3vw, 1.5rem);
}

.ios26-preview .modal-prev {
  left: 1rem;
}

.ios26-preview .modal-next {
  right: 1rem;
}

.ios26-preview .modal-prev:hover,
.ios26-preview .modal-next:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* Form Modal */
.ios26-preview .form-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background-color: rgba(0,0,0,0.9);
}

.ios26-preview .form-modal-content {
  margin: auto;
  display: block;
  width: 90%;
  max-width: clamp(500px, 90vw, 900px);
  max-height: 90vh;
  min-height: 500px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: clamp(1rem, 2vw, 1.5rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 10000;
}

.ios26-preview .form-modal-content h2 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: clamp(0.5rem, 1vw, 1rem);
  text-align: center;
  color: var(--text-color);
  font-weight: normal;
}

/* Contact Form Styles */
.ios26-preview .contact-form {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem 0;
}

.ios26-preview .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ios26-preview .form-group label {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: var(--text-color, #000000);
  font-weight: 500;
}

.ios26-preview .form-group input,
.ios26-preview .form-group select {
  width: 100%;
  padding: clamp(0.5rem, 1.5vw, 0.75rem);
  font-size: clamp(0.9rem, 2vw, 1rem);
  border: 2px solid var(--border-color, #000000);
  border-radius: 4px;
  background-color: var(--background-color, #ffffff);
  color: var(--text-color, #000000);
  font-family: inherit;
  box-sizing: border-box;
}

.ios26-preview .form-group input::placeholder {
  color: rgba(var(--text-color-rgb, 0, 0, 0), 0.5);
}

.ios26-preview .form-group input:focus,
.ios26-preview .form-group select:focus {
  outline: none;
  border-color: #e40044;
}

.ios26-preview .form-submit-btn {
  width: 100%;
  padding: clamp(0.75rem, 2vw, 1rem);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: bold;
  color: #ffffff;
  background-color: #e40044;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}

.ios26-preview .form-submit-btn:hover {
  background-color: #d6003b;
}

.ios26-preview .form-submit-btn:active {
  background-color: #c50033;
}

.ios26-preview .form-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  z-index: 101;
}

.ios26-preview .form-close-btn:hover,
.ios26-preview .form-close-btn:focus {
  background-color: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  transform: scale(1.1);
}

