/* 
 * Dang Forest Retreat - Main Stylesheet
 * 
 * This stylesheet contains custom styling for Dang Forest Retreat website
 * Built with Bootstrap 5.3
 */

/* ---------------------------------------------
   Global Styles
--------------------------------------------- */
:root {
    /* Main color scheme based on logo */
    --primary-color: #0A393A;    /* Dark teal - primary brand color */
    --secondary-color: #FFB619;  /* Gold accent color */
    --light-color: #F5F5F5;      /* Light background */
    --dark-color: #232323;       /* Dark text */
    --accent-color: #639A6D;     /* Forest green accent */
    --off-white: #F9F9F9;        /* Off-white for backgrounds */
    --light-teal: #E5EFEF;       /* Light teal for sections */
    
    /* Font families */
    --heading-font: 'Playfair Display', Georgia, serif;
    --body-font: 'Roboto', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--body-font);
    color: var(--dark-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 10px 25px;
    border-radius: 4px;
}

.btn-cta {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border: none;
}

.btn-cta:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

.section-light {
    background-color: var(--light-teal);
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.title-line {
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin-top: 15px;
    margin-bottom: 15px;
}

/* ---------------------------------------------
   Header & Navigation
--------------------------------------------- */
header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.logo-img {
    height: 80px;
    transition: all 0.3s ease;
}

.header-icon {
    color: var(--primary-color);
    font-size: 1rem;
    margin-right: 8px;
}

.contact-button {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.navbar {
    background-color: white;
    padding: 0;
    z-index: 1000;
}

.navbar.sticky-top {
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 1rem 0.5rem !important;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

.navbar-toggler {
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.dropdown-item {
    color: var(--dark-color);
    padding: 10px 20px;
}

.dropdown-item:hover {
    background-color: var(--light-teal);
    color: var(--primary-color);
}

/* Mobile Menu */
.mobile-menu-items {
    display: none;
    padding: 1rem 0;
}

.mobile-menu-items .nav-link {
    display: block;
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid #eee;
}

/* ---------------------------------------------
   Hero Section
--------------------------------------------- */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background: url('images/hero.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

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

.hero-content {
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-highlights {
    gap: 2rem;
}

.hero-section h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
}
.hero-section h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    margin: 0.5rem;
}

.highlight-item i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.1rem;
}

/* ---------------------------------------------
   About Section
--------------------------------------------- */
.about-image img {
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

/* About section image height fix */
.about-image {
    height: 100%;
    display: flex;
    align-items: center;
}

.about-image img {
    object-fit: cover;
    height: 100%;
    max-height: 1000px; /* You can adjust this value as needed */
    width: 100%;
}

/* For mobile responsiveness */
@media (max-width: 991.98px) {
    .about-image img {
        max-height: none;
    }
}

/* ---------------------------------------------
   Rooms Section
--------------------------------------------- */
.feature-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.room-features .feature-icon {
    background-color: rgba(10, 57, 58, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.room-features .col-md-3:hover .feature-icon {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.gallery-item {
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ---------------------------------------------
   Dining Section
--------------------------------------------- */
.dining-image img {
    transition: transform 0.5s ease;
}

.dining-image:hover img {
    transform: scale(1.02);
}

.dining-features .feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(10, 57, 58, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background-color: var(--primary-color);
    color: white;
}

/* ---------------------------------------------
   Experiences Section
--------------------------------------------- */
.experience-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.experience-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.experience-list {
    list-style: none;
    padding-left: 0;
}

.experience-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.experience-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.card-image {
    overflow: hidden;
    border-radius: 8px;
}

.card-image img {
    transition: transform 0.5s ease;
}

.experience-card:hover .card-image img {
    transform: scale(1.05);
}

/* ---------------------------------------------
   Nearby Section
--------------------------------------------- */
.nearby-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.nearby-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.nearby-card h5 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* ---------------------------------------------
   Location Section
--------------------------------------------- */
.transport-card {
    background-color: white;
    transition: all 0.3s ease;
}

.transport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1) !important;
}

.transport-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.map-container {
    overflow: hidden;
}

.map-container iframe {
    transition: opacity 0.3s ease;
}

.map-container:hover iframe {
    opacity: 0.9;
}

/* ---------------------------------------------
   Contact Section
--------------------------------------------- */
.contact-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(10, 57, 58, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background-color: var(--primary-color);
    color: white;
}

.contact-form-container {
    background-color: white;
}

.form-control, .form-select {
    padding: 12px 15px;
    border-color: #e0e0e0;
}

.form-control:focus, .form-select:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

/* ---------------------------------------------
   Footer
--------------------------------------------- */
footer {
    background-color: var(--primary-color);
    color: white;
}

.footer-logo {
    height: 60px;
}

.footer-heading {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    margin-left: 5px;
}

.footer-contact {
    list-style: none;
    padding-left: 0;
}

.footer-contact li {
    display: flex;
    align-items: baseline;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 0.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ---------------------------------------------
   Back to Top
--------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-5px);
}

/* ---------------------------------------------
   Modal Gallery
--------------------------------------------- */
.modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-body {
    padding: 0 1rem 1rem;
}

.btn-close {
    background-color: white;
    padding: 0.5rem;
    margin: 0.5rem;
    opacity: 1;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}

/* ---------------------------------------------
   Media Queries
--------------------------------------------- */
@media (max-width: 991.98px) {
    .hero-content {
        padding: 1rem;
    }
    
    .section-padding {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        height: auto;
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content h3 {
        font-size: 1.3rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .experience-card, .nearby-card {
        margin-bottom: 1.5rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 575.98px) {
    .hero-content {
        padding: 1rem 0.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-highlights {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .section-padding {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* ---------------------------------------------
   About Section
--------------------------------------------- */
.about-image img {
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

/* ---------------------------------------------
   Rooms Section
--------------------------------------------- */
.feature-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.room-features .feature-icon {
    background-color: rgba(10, 57, 58, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.room-features .col-md-3:hover .feature-icon {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.gallery-item {
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ---------------------------------------------
   Dining Section
--------------------------------------------- */
.dining-image img {
    transition: transform 0.5s ease;
}

.dining-image:hover img {
    transform: scale(1.02);
}

.dining-features .feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(10, 57, 58, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background-color: var(--primary-color);
    color: white;
}

/* ---------------------------------------------
   Experiences Section
--------------------------------------------- */
.experience-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.experience-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.experience-list {
    list-style: none;
    padding-left: 0;
}

.experience-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.experience-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.card-image {
    overflow: hidden;
    border-radius: 8px;
}

.card-image img {
    transition: transform 0.5s ease;
}

.experience-card:hover .card-image img {
    transform: scale(1.05);
}

/* ---------------------------------------------
   Nearby Section
--------------------------------------------- */
.nearby-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.nearby-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.nearby-card h5 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* ---------------------------------------------
   Location Section
--------------------------------------------- */
.transport-card {
    background-color: white;
    transition: all 0.3s ease;
}

.transport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1) !important;
}

.transport-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.map-container {
    overflow: hidden;
}

.map-container iframe {
    transition: opacity 0.3s ease;
}

.map-container:hover iframe {
    opacity: 0.9;
}

/* ---------------------------------------------
   Contact Section
--------------------------------------------- */
.contact-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(10, 57, 58, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background-color: var(--primary-color);
    color: white;
}

.contact-form-container {
    background-color: white;
}

.form-control, .form-select {
    padding: 12px 15px;
    border-color: #e0e0e0;
}

.form-control:focus, .form-select:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

/* ---------------------------------------------
   Footer
--------------------------------------------- */
footer {
    background-color: var(--primary-color);
    color: white;
}

.footer-logo {
    height: 60px;
}

.footer-heading {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    margin-left: 5px;
}

.footer-contact {
    list-style: none;
    padding-left: 0;
}

.footer-contact li {
    display: flex;
    align-items: baseline;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 0.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ---------------------------------------------
   Back to Top
--------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-5px);
}

/* ---------------------------------------------
   Modal Gallery
--------------------------------------------- */
.modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-body {
    padding: 0 1rem 1rem;
}

.btn-close {
    background-color: white;
    padding: 0.5rem;
    margin: 0.5rem;
    opacity: 1;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}

/* ---------------------------------------------
   Media Queries
--------------------------------------------- */
@media (max-width: 991.98px) {
    .hero-content {
        padding: 1rem;
    }
    
    .section-padding {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        height: auto;
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content h3 {
        font-size: 1.3rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .experience-card, .nearby-card {
        margin-bottom: 1.5rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 575.98px) {
    .hero-content {
        padding: 1rem 0.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-highlights {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .section-padding {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}