:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --light-color: #F5F1E8;
    --dark-color: #333333;
    --accent-color: #5D8B6F;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    padding-top: 76px; /* To account for fixed navbar */
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--primary-color);
}

/* Navigation */
/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

/* Brand */
.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.brand-main {
    font-size: 1.6rem;
    line-height: 1.2;
}

.brand-sub {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #666;
}

/* Nav links */
.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color) !important;
}

/* Mobile view */
@media (max-width: 991px) {
    .navbar {
        padding: 10px 0;
    }

    .brand-main {
        font-size: 1.3rem;
    }

    .brand-sub {
        font-size: 0.65rem;
    }

    .navbar-collapse {
        background: #fff;
        padding: 15px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .nav-link {
        margin: 8px 0;
        text-align: center;
        font-size: 1rem;
    }
}


/* Dropdown menu */
.dropdown-menu {
    border: none;
    border-radius: 10px;
    padding: 10px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    font-weight: 500;
    padding: 8px 20px;
    color: var(--dark-color);
    transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Mobile dropdown fix */
@media (max-width: 991px) {
    .dropdown-menu {
        box-shadow: none;
        padding: 0;
    }

    .dropdown-item {
        text-align: center;
        padding: 10px;
    }
}


/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assests/bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
}

.hero-section h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Section Styling */
.section-padding {
    padding: 80px 0;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.bg-light {
    background-color: var(--light-color) !important;
}

/* Feature Box */
.feature-box {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Room Cards */
.room-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%;
    background-color: white;
}

.room-card:hover {
    transform: translateY(-10px);
}

.room-card img {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

/* Attraction Cards */
.attraction-card {
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin-bottom: 25px;
    background-color: white;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    height: 100%;
}

.attraction-card h5 {
    color: var(--accent-color);
}

/* Contact Info */
.contact-info {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    height: 100%;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 10px;
}


/* Google Form Responsive Fix */
.google-form-wrapper {
  width: 100%;
  min-height: 700px;
}

.google-form-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 700px;
  border: 0;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .google-form-wrapper,
  .google-form-wrapper iframe {
    min-height: 900px;
  }

  .contact-info,
  .contact-form {
    text-align: center;
  }

  .social-links a {
    margin-bottom: 10px;
  }
}


/* Gallery */
.gallery-img {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.03);
}

.gallery-caption {
    padding: 10px 0;
}

.gallery-caption h5 {
    margin-bottom: 5px;
}

.gallery-caption p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Temple Lists */
.temple-list {
    list-style-type: none;
    padding-left: 0;
}

.temple-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #ddd;
}

.temple-list li:last-child {
    border-bottom: none;
}

/* Cluster Badges */
.cluster-badge {
    background-color: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

footer h5 {
    color: white;
    margin-bottom: 20px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 30px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.social-links-footer a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links-footer a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid #444;
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: #aaa;
}

/* Image Container */
.image-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Map container */
.map-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive iframe wrapper */
.map-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Overlay button */
.map-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .map-overlay {
        bottom: 10px;
        right: 10px;
    }

    .map-overlay .btn {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}


/* Form Styling */
.form-floating > .form-control {
    background-color: rgba(255, 255, 255, 0.9);
}

.form-floating > .form-control:focus {
    background-color: white;
    border-color: var(--primary-color);
}

/* Accordion */
.accordion-button {
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(139, 69, 19, 0.05);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(139, 69, 19, 0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 120px 0 80px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header {
        padding: 100px 0 50px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .feature-box {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--secondary-color);
    z-index: 1050;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Show state */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Hover effect */
.back-to-top:hover {
    transform: translateY(-3px);
}

/* 📱 Mobile responsiveness */
@media (max-width: 576px) {
    .back-to-top {
        width: 42px;
        height: 42px;
        bottom: 15px;
        right: 15px;
        font-size: 16px;
    }
}
