/* Custom CSS for standalone contact page */

/* ============================================
   Animated Offer Banner
   ============================================ */
.offer-banner {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9998;
  width: 220px;
  height: 220px;
  animation: slideDown 0.8s ease-out, pulse 2s infinite 2s;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.02);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.offer-banner__content {
  background: linear-gradient(135deg, #fc466b 0%, #3f5efb 50%, #00dbde 100%);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  border-radius: 50%;
  width: 220px;
  height: 220px;
  padding: 30px 20px;
  box-shadow: 0 10px 40px rgba(252, 70, 107, 0.5);
  position: relative;
  text-align: center;
  border: 3px solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.offer-badge {
  display: block;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  color: #fff;
  backdrop-filter: blur(10px);
}

.offer-text {
  color: #fff;
  margin: 8px 0;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 300;
}

.offer-text strong {
  display: block;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.offer-code {
  display: block;
  background: rgba(255, 255, 255, 0.95);
  color: #fc466b;
  padding: 6px 15px;
  border-radius: 20px;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  letter-spacing: 2px;
  margin: 10px auto 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  width: fit-content;
}

.offer-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 20px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
  padding: 0;
  backdrop-filter: blur(10px);
}

.offer-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .offer-banner {
    top: 85px;
    width: 180px;
    height: 180px;
  }
  
  .offer-banner__content {
    width: 180px;
    height: 180px;
    padding: 25px 15px;
  }
  
  .offer-badge {
    font-size: 9px;
    padding: 3px 8px;
    margin-bottom: 6px;
  }
  
  .offer-text {
    font-size: 11px;
    line-height: 1.4;
  }
  
  .offer-text strong {
    font-size: 16px;
    margin-bottom: 4px;
  }
  
  .offer-code {
    font-size: 12px;
    padding: 5px 12px;
    margin-top: 6px;
  }
  
  .offer-close {
    width: 24px;
    height: 24px;
    font-size: 18px;
    top: 8px;
    right: 8px;
  }
}

/* Make the inner section visible by default (not animated in) */
.inner {
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  min-height: 100vh;
}

/* Ensure blocks container is visible */
.blocks-container {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Make inner__media visible and properly sized */
.inner__media {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* Adjust for standalone page without navigation */
body {
  overflow-x: hidden;
}

/* Social media icons styling */
.social-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  opacity: 0.9;
  transition: all 0.3s ease;
}

/* Make social links more clickable and obvious */
.social-links-with-icons {
  list-style: none;
  padding: 0;
}

.social-links-with-icons li {
  margin-bottom: 10px;
}

.social-links-with-icons a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.social-links-with-icons a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #fc466b 0%, #00dbde 100%);
  transition: width 0.3s ease;
}

.social-links-with-icons a:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
}

.social-links-with-icons a:hover::before {
  width: calc(100% - 24px);
}

.social-links-with-icons a:hover .social-icon {
  opacity: 1;
  transform: scale(1.15) rotate(5deg);
}

/* Contact icons (phone & email) styling */
.contact-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  opacity: 0.9;
  transition: all 0.3s ease;
}

/* Make contact links more clickable */
.contact-data__item a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.contact-data__item a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #fc466b 0%, #00dbde 100%);
  transition: width 0.3s ease;
}

.contact-data__item a:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
}

.contact-data__item a:hover::before {
  width: calc(100% - 24px);
}

.contact-data__item a:hover .contact-icon {
  opacity: 1;
  transform: scale(1.15) rotate(5deg);
}

/* Header logo sizing to fit 100% of container */
.header__logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

/* Loader logo sizing */
.loader-logo img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Make contact data items equal height */
.contact__data .row {
  display: flex;
  flex-wrap: wrap;
}

.contact-data__item {
  display: flex;
  flex-direction: column;
  min-height: 10px;
}

.contact-data__item h5 {
  margin-bottom: 20px;
  line-height: 1.4;
}

.contact-data__item p {
  flex: 1;
  line-height: 3.0;
  margin-bottom: 0;
}

.contact-data__item ul {
  flex: 1;
  line-height: 1.6;
}

/* Reduce gap between contact data and buttons */
.contact__data {
  margin-bottom: 30px !important;
}

.content-block.grid-block.contact__data {
  padding-bottom: 0 !important;
}

.content-block.contact-buttons {
  margin-top: 0 !important;
}

/* Media container styling */
.media-container {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
}

/* Embedded map styling */
.map {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
}

.map iframe {
  display: block !important;
  visibility: visible !important;
  height: 100vh !important;
  min-height: 100vh !important;
}

/* Force map to show full height on all screen sizes */
.inner__media {
  min-height: 100vh !important;
  height: 100vh !important;
}

@media only screen and (min-width: 768px) {
  .media-container,
  .map,
  .map iframe {
    min-height: 100vh;
    height: 100vh;
  }
}

@media only screen and (max-width: 1199px) {
  /* On smaller screens, ensure map shows below content with full height */
  .inner__media {
    display: block !important;
    width: 100% !important;
    margin-top: 50px;
    height: 100vh !important;
  }
  
  .media-container,
  .map,
  .map iframe {
    height: 100vh !important;
  }
}

