﻿/* General site styles */
body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
  text-align: center;
}

header, footer {
  background-color: #1b263b;
  color: white;
  padding: 1rem 0;
}

h1, h2 {
  color: #c62828;
  margin: 0.5rem 0;
}

a {
  color: #c62828;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

nav {
  background-color: #333;
  padding: 0.5rem 0;
}

nav a {
  color: white;
  margin: 0 1rem;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

nav a.active {
  color: #ffeb3b; /* highlight color */
  text-decoration: underline;
}

/* Container and gallery */
.container {
  padding: 1rem;
  max-width: 960px;
  margin: 0 auto;
}

/* Carousel / Slider */
.carousel-container {
  position: relative;
  width: 300px;
  max-width: 90%;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
}

.carousel-container button:hover {
  background: rgba(0,0,0,0.8);
}

.carousel-slide {
  display: flex !important;
  flex-wrap: nowrap !important;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
  flex: 0 0 100% !important;
  max-width: 100%;
  height: 500px;
  object-fit: cover;
}
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.4);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0 10px;
  cursor: pointer;
  border-radius: 5px;
  z-index: 10;
}
.prev { left: 10px; }
.next { right: 10px; }

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

/* Scrollable horizontal gallery */
.scroll-gallery {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 0.5rem 0;
  scroll-behavior: smooth;
}

.scroll-gallery img {
  flex: 0 0 auto;
  width: 200px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

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

/* Hide Scrollbar (Optional) */
.scroll-gallery::-webkit-scrollbar {
  height: 8px;
}
.scroll-gallery::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
}
.scroll-gallery::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.05);
}

/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  border-radius: 8px;
  margin-top: 1rem;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
  position: relative;
}

.hero-slider .slide img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.gallery-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.gallery-vertical img {
  width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 720px;
 margin: 1.5rem auto;
 }

.video-container video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Review block */
.review {
  background-color: #fff;
  margin: 1rem auto;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  max-width: 800px;
  text-align: left;
}

/* Buttons and CTAs */
.btn {
  display: inline-block;
  background: #c62828;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  margin: 1rem 0;
  text-decoration: none;
}

/* Form wrapper (moved out of nesting) */
.formsite-wrapper {
  max-width: 600px;
  margin: 1rem auto;
}
/* CTA Overlay */
.cta-overlay {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(198, 40, 40, 0.85);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  animation: fadeInUp 1s ease forwards;
}

.cta-overlay a {
  color: #fff;
  text-decoration: underline;
}

.cta-overlay.active-animation {
  animation: fadeInUp 1s ease forwards;
}
.cta {
  background-color: #c62828; /* deep red */
  color: #ffffff;            /* white text */
  padding: 1.5rem;
  text-align: center;
  margin: 2rem 0;
  border-radius: 8px;
  border: 2px solid #0f172a; /* dark accent border */
  font-size: 1.1em;
}

.cta a {
  color: #ffffff;            /* white links */
  text-decoration: underline;
}

.cta a:hover {
  color: #ffd700;            /* optional gold hover for emphasis */
}
/* Back to Top button - always above everything */
#backToTop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background-color: #c62828;
  color: white;
  border: none;
  padding: 0.75rem 1rem 0.75rem 1rem;
  border-radius: 50px;           /* pill shape for words */
  font-size: 1rem;               /* good for text */
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
}

#backToTop:hover {
  background-color: #a71d1d;
  transform: scale(1.05);
}
/* Responsive CTA Overlay for Mobile */
@media (max-width: 480px) {
  .cta-overlay {
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    bottom: 10px;
    max-width: 90%;
    white-space: normal;
    box-sizing: border-box;
  }
}

/* Footer nav */
.footer-nav {
  margin: 1rem 0;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.footer-nav a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #ffeb3b;
  text-decoration: underline;
}

.footer-nav a + a::before {
  content: "|";
  color: #888;
  margin: 0 0.5rem;
  pointer-events: none;
}

footer p {
  margin: 0;
  font-size: 0.9rem;
}

/* Responsive footer nav */
@media (max-width: 600px) {
  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-nav a {
    margin: 0.3rem 0.8rem;
  }
}