/* ==========================================
   PUBLIC WEBSITE MAIN STYLING (MOBILE FIRST)
   Rashtriya Vaishnav Mahadhiveshan 2026 - Ayodhya
   ========================================== */

@import url('variables.css');

/* Reset & Base Setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography Hierarchy */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--secondary-maroon);
}

.hindi-text {
  font-family: var(--font-hindi);
}

.text-bhagwa {
  color: var(--primary-bhagwa) !important;
}

.text-gold {
  color: var(--accent-gold) !important;
}

.text-maroon {
  color: var(--secondary-maroon) !important;
}

/* Sticky Solid Header (No Glassmorphism) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: var(--transition-smooth);
}

.navbar-brand img {
  height: auto;
  width: auto;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
  padding: 0.6rem 1.1rem;
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-bhagwa);
}

/* Buttons (Bhagwa Gradient & Gold Hover) */
.btn-bhagwa {
  background: linear-gradient(135deg, #FF7E29 0%, var(--primary-bhagwa) 100%);
  color: #FFFFFF;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius-pill);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(230, 81, 0, 0.22);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-bhagwa:hover, .btn-bhagwa:focus {
  background: var(--accent-gold);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(212, 175, 55, 0.35);
}

.btn-outline-gold {
  border: 2px solid var(--accent-gold);
  color: var(--secondary-maroon);
  background: transparent;
  padding: 0.75rem 1.8rem;
  border-radius: var(--border-radius-pill);
  font-weight: 600;
  transition: var(--transition-fast);
  text-decoration: none;
}

.btn-outline-gold:hover {
  background: var(--accent-gold);
  color: #FFFFFF;
}

/* Section Spacing & Headers */
.section-padding {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--secondary-maroon);
  margin-bottom: 0.8rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-cream) 100%);
  padding: 4rem 0 3.5rem 0;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--primary-bhagwa-soft);
  border: 1px solid rgba(230, 81, 0, 0.2);
  border-radius: var(--border-radius-pill);
  color: var(--primary-bhagwa);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero-img-box {
  background: #FFFFFF;
  border-radius: var(--border-radius-card);
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
}

.hero-img-box img {
  border-radius: 14px;
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* Cards System (White, 20px Rounded, Soft Shadow) */
.custom-card {
  background: var(--card-white);
  border-radius: var(--border-radius-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
  height: 100%;
  transition: var(--transition-smooth);
}

.custom-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-gold);
}

/* Four Sampraday Cards */
.sampraday-icon {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: var(--primary-bhagwa-soft);
  color: var(--primary-bhagwa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1.5rem auto;
  border: 2px solid rgba(212, 175, 55, 0.4);
}

/* Programme Timeline */
.timeline-card {
  background: var(--card-white);
  border-radius: var(--border-radius-card);
  padding: 1.8rem;
  margin-bottom: 1.2rem;
  border-left: 6px solid var(--primary-bhagwa);
  box-shadow: var(--shadow-soft);
}

/* Photo Gallery Grid */
.gallery-card {
  border-radius: var(--border-radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
  height: 260px;
  background: #000;
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
  opacity: 0.95;
}

.gallery-card:hover img {
  transform: scale(1.06);
  opacity: 1;
}

.gallery-overlay-title {
  position: absolute;
  bottom: 0;
  inset-x: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  color: #fff;
  padding: 1.5rem 1.2rem 1rem 1.2rem;
  width:100%;
  text-align:center;
}

/* Page Banners */
.page-banner {
  background: linear-gradient(135deg, var(--secondary-maroon) 0%, var(--primary-bhagwa) 100%);
  color: #FFFFFF;
  padding: 4.5rem 0;
  text-align: center;
}

.page-banner h1 {
  color: #FFFFFF;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 0.8rem;
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
  .section-padding {
    padding: 3.5rem 0;
  }
  .hero-img-box img {
    height: 280px;
  }
  
  .navbar-brand img {
  height: 50px;
  width: auto;
}
}



/*==========================================
        HOTEL REGISTRATION
==========================================*/

body{
    background:#f5f7fb;
}

/* Page Heading */

.page-title h2{
    font-size:34px;
    font-weight:700;
    color:#ff8c00;
}

.page-title p{
    color:#777;
    font-size:15px;
}

/* Cards */

.card{
    border:none;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

/* Headers */

.hotel-header{

    background:linear-gradient(90deg,#ff7a00,#ffb300);
    color:white;
    padding:18px 25px;

}

.room-header{

    background:linear-gradient(90deg,#ff7a00,#ffb300);
    color:white;
    padding:18px 25px;

}

.card-header h4{

    margin:0;
    font-size:22px;
    font-weight:600;

}

/* Body */

.card-body{

    padding:30px;

}

/* Labels */

label{

    font-weight:600;
    color:#444;
    margin-bottom:6px;

}

/* Inputs */

.form-control,
.form-select{

    height:48px;
    border-radius:12px;
    border:1px solid #ddd;
    transition:.3s;

}

textarea.form-control{

    height:auto;
    min-height:110px;

}

.form-control:focus,
.form-select:focus{

    border-color:#ff9800;
    box-shadow:0 0 0 .15rem rgba(255,152,0,.20);

}

/* Room Card */

.room-row{

    background:#fff;
    border:2px dashed #e5e5e5;
    border-radius:15px;
    padding:20px;
    margin-bottom:20px;
    transition:.3s;

}

.room-row:hover{

    border-color:#ff9800;
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(0,0,0,.08);

}
.room-header button{

color:#ff9800;
background:white;
    
}

/* Buttons */

.btn{

    border-radius:10px;

}

.btn-warning{

    background:#ff9800;
    border:none;
    color:#fff;
    font-weight:600;

}

.btn-warning:hover{

    background:#f57c00;
    color:#fff;

}

.btn-danger{

    border:none;

}

.btn-primary{

    background:#ff7a00;
    border:none;
    font-weight:600;

}

.btn-primary:hover{

    background:#e56d00;

}

/* Footer */

.card-footer{

    background:#fff;
    padding:20px;

}

/* Required */

.text-danger{

    font-size:16px;

}

/* Animation */

.room-row{

    animation:fadeIn .4s;

}

@keyframes fadeIn{

    from{

        opacity:0;
        transform:translateY(20px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

/* Responsive */

@media(max-width:991px){

    .card-body{

        padding:20px;

    }

}

@media(max-width:768px){

    .card-header{

        flex-direction:column;
        align-items:flex-start!important;
        gap:15px;

    }

    .room-header button{

        width:100%;

    }

    .removeRoom{

        width:100%;

    }

    .btn-primary{

        width:100%;

    }

}



/* ============================================================
   REGISTRATION NOTICE MARQUEE
   ============================================================ */

.registration-marquee-section {
    padding: 12px 0;
    background: linear-gradient(
        90deg,
        #fff8e7,
        #fff,
        #fff8e7
    );
    border-top: 1px solid rgba(255, 137, 0, 0.25);
    border-bottom: 1px solid rgba(255, 137, 0, 0.25);
    overflow: hidden;
}

.registration-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.registration-marquee {
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    align-items: center;
    width: max-content;
    white-space: nowrap;

    animation: registrationMarquee 28s linear infinite;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #5a2415;
    font-size: 16px;
    font-weight: 500;

    padding: 6px 25px;
}

.marquee-item i {
    color: #ff8900;
    font-size: 18px;
}

.marquee-item strong {
    color: #b52b1c;
    font-weight: 700;
}

.marquee-item.highlight {
    color: #8b1e16;
    font-weight: 600;
}

.marquee-item.highlight i {
    color: #d49a00;
}

.marquee-divider {
    color: #d49a00;
    font-size: 20px;
    font-weight: bold;
    padding: 0 5px;
}


/* Continuous movement */
@keyframes registrationMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* Mobile */
@media (max-width: 768px) {

    .registration-marquee-section {
        padding: 9px 0;
    }

    .marquee-item {
        font-size: 14px;
        padding: 5px 18px;
    }

    .marquee-item i {
        font-size: 15px;
    }

    .marquee-divider {
        font-size: 16px;
    }

    .marquee-content {
        animation-duration: 22s;
    }
}
