/* =====================================================
   Hotel Gressoney – Custom Styles
   Mobile-first, Bootstrap 5 base
   ===================================================== */

:root {
  --brand-green:  #2e5545;
  --brand-gold:   #b8942a;
  --brand-light:  #f7f5f0;
  --text-muted:   #6c757d;
  --radius:       0.5rem;
  --transition:   0.25s ease;
}

/* ---- Base ---- */
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #1a1a1a;
  background: #fff;
}

h1, h2, h3, .brand-name, .footer-brand {
  font-family: 'Playfair Display', Georgia, serif;
}

/* ---- Navbar ---- */
#mainNav {
  background: #fff;
  box-shadow: 0 1px 12px rgba(0,0,0,0.08);
  transition: background var(--transition);
  padding-top: 0;
  padding-bottom: 0;
  min-height: 70px;
}
#mainNav .container {
  min-height: 70px;
  align-items: center;
}
#mainNav .navbar-nav {
  align-items: center;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brand-green);
  letter-spacing: 0.02em;
}

.navbar-nav .nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  transition: color var(--transition);
}

.back-to-top-nav {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  transition: color var(--transition);
}
.back-to-top-nav:hover {
  color: var(--brand-green);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--brand-green);
}

.logo-img {
  border-radius: 4px;
}

/* ---- Carousel ---- */
#hero {
  margin-top: 70px;
  position: relative;
}

/* Logo medallion: straddling navbar bottom / carousel top */
.logo-medallion {
  position: absolute;
  top: -115px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1040;
  width: 220px;
  height: 220px;
  background: white;
  border-radius: 50%;
  padding: 0px;
  padding-top: 10px;
  box-shadow: none;
}
.logo-medallion img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.carousel-img {
  height: 60vh;
  min-height: 320px;
  max-height: 620px;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.82);
}

@media (min-width: 768px) {
  .carousel-img {
    height: 72vh;
  }
}

.carousel-caption {
  bottom: 2.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.carousel-title {
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #fff;
}

.carousel-subtitle {
  font-size: clamp(0.9rem, 2.5vw, 1.15rem);
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0;
}

/* ---- Sections ---- */
.section-padded {
  padding: 4.5rem 0;
}

@media (min-width: 768px) {
  .section-padded {
    padding: 6rem 0;
  }
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--brand-green);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

/* ---- Hotel section ---- */
.hotel-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.feature-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--brand-light);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
}

.feature-icon {
  font-size: 1.3rem;
  color: var(--brand-green);
  flex-shrink: 0;
}

.feature-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
}

/* ---- Map & Info ---- */
.map-wrapper {
  line-height: 0;
}

.info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.info-icon {
  font-size: 1.1rem;
  color: var(--brand-green);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.info-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.info-value {
  font-size: 0.9rem;
  color: #1a1a1a;
  line-height: 1.5;
}

.info-value a {
  color: var(--brand-green);
  text-decoration: none;
}

.info-value a:hover {
  text-decoration: underline;
}

/* ---- Contact Form ---- */
.form-control {
  border-color: #ddd;
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 0.2rem rgba(46, 85, 69, 0.15);
}

.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #444;
}

.btn-primary,
.btn-send {
  background-color: var(--brand-green);
  border-color: var(--brand-green);
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  transition: background-color var(--transition), transform var(--transition);
}

.btn-primary:hover,
.btn-send:hover {
  background-color: #234438;
  border-color: #234438;
  transform: translateY(-1px);
}

.btn-primary:active,
.btn-send:active {
  transform: translateY(0);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--brand-green);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 1.5rem;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}

.footer-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
}

.footer-list a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-list a:hover {
  color: #fff;
}

.footer-divider {
  border-color: rgba(255,255,255,0.15);
  margin: 2rem 0 1rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

.logo-img-footer {
  opacity: 0.9;
  border-radius: 4px;
}

/* ---- Smooth scroll ---- */
html {
  scroll-behavior: smooth;
}

/* ---- Scrolled navbar (via JS) ---- */
#mainNav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.12);
}
