/* ================================================
   Bedminster Sun & Beauty - Master Unified CSS
   Styles consolidated from style.css, about.css, 
   contact.css, rooms.css, and sunbeds.css.
   ================================================ 
*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Questrial&display=swap");

:root {
  --magnolia: #f9f0da;
  --nut: #b25624;
  --nut-shadow: #b99460;
  --muted: #7e7d7e;
}

/* --------------------
   BASE & GLOBAL STYLES
   -------------------- */

body {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  scroll-behavior: smooth; /* Added from contact.css */
}

/* All sections transition for subtle scroll effects (from contact.css) */
section {
  transition: all 0.3s ease-in-out;
}

/* Small visuals & Generic hovers */
a:hover {
  opacity: 0.95;
  transform: translateY(0);
}

/* Generic Button hover refinement (from contact.css) */
button:hover {
  background-color: #f9f0da !important;
  color: #000 !important;
  transition: all 0.3s ease;
}

/* Icon hover shimmer (from contact.css) */
.fa:hover {
  color: var(
    --nut-shadow
  ) !important; /* using var(--nut-shadow) for consistency */
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}

/* Map container (from contact.css) */
iframe {
  filter: grayscale(0.1) contrast(1.05) brightness(1);
  transition: all 0.4s ease;
}

iframe:hover {
  filter: grayscale(0) brightness(1.1);
}

/* --------------------
   TYPOGRAPHY HARMONY (from about.css)
   -------------------- */

h1,
h2,
h3 {
  font-family: "Montserrat", sans-serif;
}

p,
label,
button,
input,
textarea {
  font-family: "Questrial", sans-serif;
}

/* --------------------
   UTILITY CLASSES
   -------------------- */

/* Hero logo drop shadow (from style.css) */
section img[alt*="BSB large logo"] {
  filter: drop-shadow(0 18px 45px rgba(0, 0, 0, 0.25));
}

/* Fade-in animations (from contact.css) */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------
   COMPONENTS: VIDEO & CAROUSEL
   -------------------- */

/* Portrait video sizing (from style.css) */
/* desktop: portrait card, mobile: full viewport */
.video-portrait {
  width: 360px;
  height: 640px;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}
.video-portrait video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* mobile: full viewport video */
@media (max-width: 767px) {
  .video-portrait {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }
  .video-portrait video {
    object-fit: cover;
  }
}

/* Carousel slides — square aspect (from style.css) */
.carousel-slide {
  width: 260px;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  flex: 0 0 auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 1024px) {
  .carousel-slide {
    width: 320px;
    height: 320px;
  }
}
@media (max-width: 767px) {
  .carousel-slide {
    width: 80vw;
    height: 80vw;
    border-radius: 8px;
  }
}

/* Room Item Carousel (from rooms.css) */
.room-item {
  margin-bottom: 2.5rem;
}
.room-item .swiper {
  width: 100%;
  height: 320px;
  border-radius: 0.5rem;
  overflow: hidden;
}
.room-item .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 767px) {
  .room-item .swiper {
    height: 60vw;
  }
}

/* Swiper Navigation (from style.css) */

/* hide pagination bullets (explicit), we'll not create them */
.swiper-pagination {
  display: none !important;
}

/* show arrows only on md+ for accessibility */
.swiper-button-next,
.swiper-button-prev {
  color: var(--nut);
}
@media (max-width: 767px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/* --------------------
   ABOUT PAGE STYLES (from about.css)
   -------------------- */

/* --- Hero Section --- */
section[style*="bg-image-1-1920x800.jpg"] {
  position: relative;
  overflow: hidden;
}

section[style*="bg-image-1-1920x800.jpg"] h1 {
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.05em;
  animation: fadeSlideDown 1.4s ease-out forwards;
  opacity: 0;
}

/* --- About Section --- */
section.bg-white h2 span {
  font-weight: 600;
}

section.bg-white p {
  font-family: "Questrial", sans-serif;
  transition: color 0.3s ease;
}

section.bg-white p:hover {
  color: #111;
}

/* --- Decorative Background Card --- */
section.bg-white .relative img {
  transition: transform 0.8s ease, box-shadow 0.8s ease;
}

section.bg-white .relative img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* --- Team Section --- */
section.bg-magnolia h2 {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  transition: all 0.4s ease;
}

.team-card img {
  transition: transform 0.6s ease;
}

.team-card:hover img {
  transform: scale(1.08);
}

.team-card .overlay {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.team-card:hover .overlay {
  opacity: 1;
}

.team-card .overlay a {
  color: #fff;
  transition: color 0.3s ease;
}

.team-card .overlay a:hover {
  color: #f6d7b0;
}

/* --------------------
   FORM & INPUT STYLES
   -------------------- */

/* Generic Input/Textarea Focus Glow (from contact.css) */
input:focus,
textarea:focus {
  box-shadow: 0 0 0 2px rgba(178, 86, 36, 0.3);
}

/* booking inputs in dark section (from style.css) */
.booking-input {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Footer Contact Form Inputs (from about.css) */
footer form input,
footer form textarea {
  border: 1px solid #333;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Footer Contact Form Focus (from about.css, more specific) */
footer form input:focus,
footer form textarea:focus {
  outline: none;
  border-color: #f6d7b0;
  background: rgba(255, 255, 255, 0.15);
}

/* Footer button base style */
footer button {
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

/* Footer button hover (from about.css) */
footer button:hover {
  background-color: #f6d7b0 !important;
  color: #000 !important;
  transform: translateY(-2px);
}

/* --------------------
   FITZPATRICK SCALE (from sunbeds.css)
   -------------------- */

.fitzpatrick-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  font-family: "Montserrat", sans-serif;
}

#scaleContainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2rem 0;
  flex-wrap: wrap;
  gap: 10px;
}

.scaleType {
  flex: 1 1 calc(16% - 10px);
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  color: #fff;
  font-weight: bold;
  font-size: 1.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Fitzpatrick skin tones (I–VI) */
.scaleType[data-type="I"] {
  background-color: #ffdbc9; /* very light pale pinkish tone */
  color: #333;
}
.scaleType[data-type="II"] {
  background-color: #f2c6a0; /* light beige */
  color: #333;
}
.scaleType[data-type="III"] {
  background-color: #d9a679; /* medium light tan */
}
.scaleType[data-type="IV"] {
  background-color: #b17353; /* medium brown */
}
.scaleType[data-type="V"] {
  background-color: #8b5533; /* deeper brown */
}
.scaleType[data-type="VI"] {
  background-color: #5a3825; /* dark brown */
}

.scaleType:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

#infoDisplay {
  background-color: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#infoDisplay h3 {
  color: var(--nut); /* using var(--nut) for consistency */
  font-weight: 700;
}

#infoDisplay h5 {
  color: var(--muted); /* using var(--muted) for consistency */
  font-weight: 500;
  margin-top: 0.5rem;
}

#infoDisplay p {
  margin-top: 0.6rem;
  line-height: 1.5;
  color: #333;
}

/* --------------------
   ANIMATIONS
   -------------------- */

@keyframes fadeSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------
   RESPONSIVE TWEAKS (from about.css)
   -------------------- */
@media (max-width: 768px) {
  section.bg-white h2 {
    font-size: 1.8rem;
  }

  section.bg-white p {
    font-size: 1rem;
  }

  footer h2 {
    font-size: 1.8rem;
  }

  .team-card img {
    height: 360px !important;
  }
}


  body > * {
    margin: 0 !important;
  }
