/* ===============================
   ROOT VARIABLES
================================ */
:root {
    --primary-green: #0b8612;
    --secondary-green: #81c784;
    --accent-green: #dcedc8;
    --success-green: #66bb6a;
    --warning-orange: #ff7043;
    --dark-text: #1b1b1b;
    --light-text: #ffffff;
}

/* ===============================
   GLOBAL RESET
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #f8f9fa;
    padding-top: 130px; /* Top header (46px) + Navbar (~84px) */
}

/* ===============================
   TOP HEADER
================================ */
.top-header {
    background: linear-gradient(135deg, #76bb07, #132c1a);
    color: white;
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    height: 38px;
}

.top-header a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.top-header a:hover {
    color: #b8e6c1;
}

.top-header .contact-info {
    font-weight: 500;
}

.top-header .separator {
    margin: 0 10px;
    opacity: 0.7;
}

.social-media a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-media a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ===============================
   NAVBAR
================================ */
.navbar {
    background: linear-gradient(135deg, var(--light-text), var(--secondary-green));
    box-shadow: 0 2px 10px rgba(46, 125, 50, 0.2);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    position: fixed;
    top: 38px !important;
    left: 0;
    right: 0;
    z-index: 1020;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--dark-text) !important;
}

.navbar-nav .nav-link {
    color: var(--dark-text) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-green) !important;
    transform: translateY(-2px);
}

/* ===============================
   HERO SECTION
================================ */
.hero-section {
    position: relative;
    height: calc(100vh - 130px);
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: center;
}

#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    height: 100%;
    width: 100%;
}

#heroCarousel .carousel-item {
    position: relative;
    z-index: 0;
}

#heroCarousel .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
    z-index: 0;
}

#heroCarousel .hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.7));
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    font-family: "Inter", sans-serif;
    color: #fff;
    max-width: 1100px;
    padding: 2rem 1rem;
    animation: heroFadeUp 1.1s ease-out both;
}

.hero-subheading {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.8rem;
}

.hero-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

.hero-description {
    font-size: clamp(1rem, 3vw, 1.2rem);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    color: rgba(255,255,255,0.92);
    text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

/* Hero fade animation */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===============================
   CTA BUTTONS
================================ */
.cta-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: 50px;
    transition: all 0.35s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #FFD700, #FFC107);
    color: #000;
    border: none;
    padding: 0.85rem 2rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 50px;
    box-shadow: 0 6px 15px rgba(255,215,0,0.4);
    transition: all 0.35s ease;
}

.btn-primary-custom .btn-text {
    margin-left: 0.5rem;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #FFC107, #FFD700);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(255,215,0,0.5);
}

.btn-outline-custom {
    background: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    padding: 0.85rem 2rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.btn-outline-custom .btn-text { margin-left: 0.5rem; }

.btn-outline-custom:hover {
    background: #FFD700;
    color: #000;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(255,215,0,0.5);
}

/* Secondary button for forms */
.secondary-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: white;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    margin-bottom: 1rem;
    width: 100%;
}

.secondary-button:hover {
    background-color: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

/* ===============================
   QUICK SEARCH
================================ */
.quick-search {
    background: linear-gradient(135deg, #f8f9fa, #e8f5e9);
    padding: 4rem 0 3rem;
    margin-top: -60px;
    position: relative;
    z-index: 5;
}

.search-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 15px 40px rgba(46,125,50,0.15);
    border: none;
    position: relative;
    overflow: hidden;
}

.search-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-green));
}

.form-control-custom {
    border: 2px solid var(--secondary-green);
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(46,125,50,0.25);
}

/* ===============================
   FEATURES SECTION
================================ */
.features-section {
    padding: 5rem 0;
    background: var(--light-text);
}

.feature-card {
    background: var(--light-text);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--accent-green);
    height: 100%;
    box-shadow: 0 5px 15px rgba(46,125,50,0.08);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46,125,50,0.15);
    border-color: var(--secondary-green);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--light-text);
    font-size: 2rem;
}

/* ===============================
   SHOWCASE SECTIONS
================================ */
.showcase-section, 
.showcasef-section, 
.showcases-section {
    padding: 5rem 0;
}

.showcase-section { background: linear-gradient(135deg, var(--accent-green), #f1f8e9); }
.showcasef-section { background: linear-gradient(135deg, var(--accent-green), #c5eb9a); }
.showcases-section { background: linear-gradient(135deg, var(--secondary-green), #f1f8e9); }

.showcase-card {
    background: var(--light-text);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(46,125,50,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(46,125,50,0.2);
}

.showcaseh-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.image-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

.showcaseh-card:hover .image-overlay {
    background: rgba(0,0,0,0.1);
}

.showcase-content {
    padding: 1.5rem;
}

.showcase-title {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.showcase-price {
    color: var(--success-green);
    font-weight: 700;
    font-size: 1.2rem;
}
/* ===============================
   PRICING SECTION
================================ */
.pricing-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.pricing-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #0d0d0e;
}

.price {
    font-weight: bold;
    color: var(--primary-green);
    font-size: 1.75rem;
    margin: 0.5rem 0;
}

.pricing-card p {
    color: #0d0d0e;
    margin-top: 1.5rem;
    line-height: 1.6;
}

/* ===============================
   ADDITIONAL SERVICES
================================ */
.additional-services-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.service-card h3, 
.service-card h4 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card h4 {
    color: #2a7d2e;
    font-size: 1.2rem;
}

.first-card {
    background: #035a27;
    color: white;
    grid-column: 1 / span 1;
}

.first-card h3 { color: white; font-size: 1.5rem; }

.duration {
    font-weight: normal;
    font-size: 0.8rem;
    opacity: 0.8;
}

.service-card p {
    color: #64748b;
    margin: 1rem 0 0;
    line-height: 1.5;
}

/* ===============================
   HALL PRICING TABLE
================================ */
.hall-pricing {
    padding: 5rem 0;
    background-color: white;
}

.pricing-category {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden;
}

.pricing-table th {
    background-color: var(--primary-green);
    color: white;
    padding: 1.25rem;
    text-align: left;
}

.pricing-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e9ecef;
}

.pricing-table tr:last-child td { border-bottom: none; }

.pricing-table tr:hover { background-color: #f8f9fa; }

/* ===============================
   ACCOMMODATION OVERVIEW
================================ */
.accommodation-overview {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.overview-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.overview-image {
    height: 500px;
    border-radius: 20px;
    background: url('/harti_reservation/assets/images/Ai_1.png') center/cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 100%;
}

/* ===============================
   FORM STYLES
================================ */
.form-section {
    padding: 4rem 0;
    background: var(--light-text);
}

.form-card {
    background: var(--light-text);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(46,125,50,0.1);
    border: 1px solid var(--accent-green);
}

.form-title {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.btn-submit {
    background: linear-gradient(45deg, var(--primary-green), var(--secondary-green));
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 25px;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46,125,50,0.3);
}

/* ===============================
   CONTACT SECTION
================================ */
.contact {
    padding: 5rem 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    background: linear-gradient(135deg, var(--accent-green), #f1f8e9);
    border-radius: 15px;
    padding: 2rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-green);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-item i {
    color: var(--primary-green);
    margin-right: 1rem;
    margin-top: 0.2rem;
}

/* ===============================
   ROOM SLIDER
================================ */
.room-slider {
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.room-slider .carousel-inner { height: 100%; }

.room-slider .carousel-item { height: 100%; transition: transform 0.6s ease; }

.room-slider .carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.room-slider .carousel-control-prev,
.room-slider .carousel-control-next {
    width: 30px;
    height: 30px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* ===============================
   MESSAGE SYSTEM
================================ */
.message-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 90%;
    max-width: 600px;
}

.message {
    padding: 20px 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateY(-100px);
    transition: all 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.message.show { opacity: 1; transform: translateY(0); }

.message.success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: 3px solid rgba(255,255,255,0.3);
    animation: pulse-success 2s infinite;
}

.message.error {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: 3px solid rgba(255,255,255,0.3);
    animation: pulse-error 2s infinite;
}

/* ===============================
   FOOTER
================================ */
.footer {
    background: linear-gradient(135deg, var(--primary-green), #364401);
    color: var(--light-text);
    padding: 3rem 0 1rem;
}

.footer-section h5 { color: var(--accent-green); margin-bottom: 1rem; }

.footer-link {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 0.2rem 0;
}

.footer-link:hover { color: var(--accent-green); }

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
    color: var(--light-text);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--accent-green);
    color: var(--primary-green);
    transform: translateY(-3px);
}

/* ===============================
   ANIMATIONS
================================ */
@keyframes fadeInUp {
    from { opacity:0; transform:translateY(30px);}
    to { opacity:1; transform:translateY(0);}
}

@keyframes floating {
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(-10px);}
}

@keyframes slideProgress { to { left: 0; } }

@keyframes pulse { 0%{transform:scale(1);}50%{transform:scale(1.05);}100%{transform:scale(1);} }

@keyframes pulse-success {
    0% { box-shadow:0 0 0 0 rgba(46,204,113,0.7);}
    70%{box-shadow:0 0 0 15px rgba(46,204,113,0);}
    100%{box-shadow:0 0 0 0 rgba(46,204,113,0);}
}

@keyframes pulse-error {
    0% { box-shadow:0 0 0 0 rgba(231,76,60,0.7);}
    70%{box-shadow:0 0 0 15px rgba(231,76,60,0);}
    100%{box-shadow:0 0 0 0 rgba(231,76,60,0);}
}

@keyframes float-pulse {
    0% {transform:translateY(0);}50%{transform:translateY(-10px);}100%{transform:translateY(0);}
}

@keyframes button-spinner { to { transform:rotate(360deg); } }

/* ===============================
   UTILITY CLASSES
================================ */
.text-primary-green { color: var(--primary-green) !important; }
.bg-primary-green { background-color: var(--primary-green) !important; }
.text-secondary-green { color: var(--secondary-green) !important; }
.bg-secondary-green { background-color: var(--secondary-green) !important; }
.text-accent-green { color: var(--accent-green) !important; }
.bg-accent-green { background-color: var(--accent-green) !important; }
.loading { display: none; }
.pulse { animation: pulse 2s infinite; }
.badge { font-size: 0.8rem; padding: 0.4rem 0.8rem; }

/* ===============================
   RESPONSIVE MEDIA QUERIES
================================ */
/* Mobile <=768px */
@media (max-width: 768px){
    .hero-title { font-size:2.2rem; }
    .hero-description { font-size:1rem; }
    .cta-buttons .btn { width:100%; justify-content:center; }
    .services-grid, .pricing-grid, .overview-grid { grid-template-columns:1fr; }
    .first-card { grid-column:auto; }
    .section-title { font-size:2rem; }
    .section-subtitle { font-size:1rem; padding:0 1rem; }
    .pricing-table { display:block; overflow-x:auto; }
}

/* Tablets <=1024px */
@media (max-width:1024px){
    .services-grid, .pricing-grid { grid-template-columns:repeat(2,1fr); }
}

/* Small phones <=480px */
@media (max-width:480px){
    .pricing-card, .service-card, .contact-info { padding:1.5rem; }
    .price { font-size:1.5rem; }
    .service-card h4 { font-size:1.1rem; }
}
