/* Global Styles */
:root {
    --primary-green: #1A5F45;
    --accent-gold: #D4AF37;
    --text-dark: #333333;
    --text-light: #F9F9F9;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fdfdfd;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

.font-playfair {
    font-family: var(--font-heading);
}

.bg-deep-green {
    background-color: var(--primary-green) !important;
}

.text-gold {
    color: var(--accent-gold) !important;
}

.bg-gold {
    background-color: var(--accent-gold) !important;
}

.btn-gold {
    background-color: var(--accent-gold);
    color: white;
    font-weight: 500;
    padding: 10px 25px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: #bfa030;
    color: white;
    transform: translateY(-2px);
}

.section-heading {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-heading::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 10px auto 0;
}

.page-section {
    padding: 6rem 0;
}

/* Navbar */
#mainNav {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    transition: all 0.3s ease-in-out;
    background-color: transparent;
}

#mainNav.navbar-shrink {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: var(--primary-green);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.navbar-nav .nav-link {
    color: white;
    font-family: var(--font-body);
    font-weight: 500;
    margin-right: 1rem;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-gold);
}

/* Hero Section */
header.masthead {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

header.masthead .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* Gradient overlay for better text readability and depth */
    background: linear-gradient(to bottom, rgba(26, 95, 69, 0.3) 0%, rgba(26, 95, 69, 0.6) 100%);
}

header.masthead .container {
    position: relative;
    z-index: 2;
}

header.masthead h1.display-3 {
    font-size: 4rem;
    /* Larger font size */
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* Text shadow for pop */
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1.5s ease-out;
    /* Custom animation */
}

header.masthead p.lead {
    font-size: 1.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 3rem;
    animation: fadeInUp 1.5s ease-out 0.5s backwards;
    /* Delayed animation */
}

header.masthead .btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 5px;
    /* Slight rounded corners */
    animation: fadeInUp 1.5s ease-out 1s backwards;
    background-color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    color: white;
}

header.masthead .btn-xl:hover {
    background-color: transparent;
    border-color: white;
    color: white;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -50px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 50px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Amenities Cards */
.amenity-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
}

.amenity-card .icon-box {
    height: 80px;
    width: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.amenity-card:hover .icon-box {
    background-color: var(--accent-gold);
    color: white !important;
}

.amenity-card:hover .icon-box i {
    color: white !important;
    /* Force icon white on hover */
}

/* Gallery */
.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
}

.gallery-item .gallery-caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 95, 69, 0.8);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-item .gallery-caption-content {
    color: white;
    text-align: center;
}

/* Testimonials */
/* Testimonials */
.testimonial-content {
    background-color: white;
    padding: 4rem 3rem;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(26, 95, 69, 0.1);
    position: relative;
    border-bottom: 4px solid var(--accent-gold);
    transition: transform 0.3s ease;
}

.testimonial-content:hover {
    transform: translateY(-5px);
}

.testimonial-content i {
    font-size: 3rem !important;
    /* Larger quote icon */
    opacity: 0.2;
    margin-bottom: 1.5rem !important;
}

.testimonial-content p {
    font-size: 1.25rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.testimonial-content h5 {
    color: var(--primary-green);
    margin-top: 1.5rem;
    letter-spacing: 1px;
}

/* Contact Form */
.form-control {
    border-radius: 0;
    padding: 1rem;
    border: 1px solid #e0e0e0;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--accent-gold);
}

/* Footer */
footer.footer {
    background-color: #111;
}

.btn-social {
    color: white;
    background-color: #333;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-social:hover {
    background-color: var(--accent-gold);
    color: white;
}

/* Success Message Animations */
.success-message {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes progressAnim {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

.progress-bar.bg-gold {
    background-color: var(--accent-gold) !important;
}

/* Form Container Styling */
.form-container {
    transition: all 0.3s ease;
}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

/* Tablets and below (max-width: 991px) */
@media (max-width: 991.98px) {
    .page-section {
        padding: 4rem 0;
    }

    .section-heading {
        font-size: 2rem;
    }

    header.masthead h1.display-3 {
        font-size: 2.5rem;
    }

    header.masthead p.lead {
        font-size: 1.2rem;
    }

    header.masthead .btn-xl {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Contact Section - Stack cards on tablets */
    .contact-info-card {
        padding: 2.5rem !important;
    }

    /* Navbar */
    .navbar-brand img {
        height: 40px;
    }

    .btn-gold.ms-lg-3 {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }
}

/* Mobile Phones (max-width: 767px) */
@media (max-width: 767.98px) {
    .page-section {
        padding: 3rem 0;
    }

    .section-heading {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .section-heading::after {
        width: 40px;
        margin: 8px auto 0;
    }

    /* Hero Section */
    header.masthead {
        min-height: 90vh;
        padding: 60px 0;
    }

    header.masthead h1.display-3 {
        font-size: 2rem;
        letter-spacing: 1px;
        margin-bottom: 1rem;
    }

    header.masthead p.lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    header.masthead .btn-xl {
        padding: 0.875rem 1.75rem;
        font-size: 0.9rem;
    }

    /* About Section */
    #about .col-lg-6 {
        text-align: center;
    }

    #about .position-relative img {
        max-width: 100%;
        height: auto;
    }

    #about .experience-badge {
        position: relative !important;
        margin: 1rem auto !important;
        display: inline-block;
    }

    #about .ps-lg-5 {
        padding-left: 0.75rem !important;
        text-align: center;
    }

    #about ul.list-unstyled li {
        justify-content: center;
        text-align: left;
    }

    #about .row.mt-4 {
        text-align: center;
    }

    /* Amenities Cards */
    .amenity-card {
        margin-bottom: 1rem;
    }

    .amenity-card .card-body {
        padding: 1.5rem !important;
    }

    .amenity-card .icon-box {
        height: 60px;
        width: 60px;
    }

    .amenity-card .icon-box i {
        font-size: 1.5rem !important;
    }

    .amenity-card h4 {
        font-size: 1.25rem;
    }

    /* Gallery */
    #gallery .row {
        margin: 0;
    }

    #gallery .col-lg-3 {
        padding: 0.25rem;
    }

    #gallery img {
        height: 180px !important;
    }

    /* Testimonials */
    #testimonials .carousel {
        padding: 0 1rem;
    }

    .testimonial-content {
        padding: 2rem 1.5rem !important;
    }

    .testimonial-content p {
        font-size: 1rem;
    }

    .testimonial-content i {
        font-size: 2rem !important;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 15%;
    }

    /* Contact Section */
    #contact .row {
        margin: 0;
    }

    .contact-info-card {
        padding: 2rem !important;
        margin-bottom: 1.5rem;
    }

    .contact-info-card h5 {
        font-size: 1rem;
    }

    .contact-info-card p {
        font-size: 0.9rem;
    }

    .form-container,
    #contact form {
        padding: 1.5rem !important;
    }

    .form-control {
        padding: 0.875rem;
        font-size: 1rem;
    }

    .btn-gold.btn-lg {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* Footer */
    footer.footer {
        text-align: center;
    }

    footer.footer .col-lg-4 {
        margin-bottom: 1rem;
    }

    footer.footer .text-lg-start,
    footer.footer .text-lg-end {
        text-align: center !important;
    }

    /* Navbar Mobile */
    #mainNav {
        padding: 1rem;
    }

    #mainNav .navbar-brand img {
        height: 35px;
    }

    .navbar-collapse {
        background-color: var(--primary-green);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 8px;
    }

    .navbar-nav .nav-link {
        margin: 0;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    /* Success Message */
    .success-message h3 {
        font-size: 1.5rem;
    }

    .success-message .success-icon i {
        font-size: 3.5rem !important;
    }
}

/* Small Mobile Phones (max-width: 575px) */
@media (max-width: 575.98px) {
    .page-section {
        padding: 2.5rem 0;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    header.masthead h1.display-3 {
        font-size: 1.75rem;
    }

    header.masthead p.lead {
        font-size: 0.95rem;
    }

    /* Gallery - 2 columns on very small screens */
    #gallery .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    #gallery img {
        height: 150px !important;
    }

    /* Contact form - full width inputs */
    #contact .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* About stats */
    #about .row.mt-4 .col-6 h2 {
        font-size: 1.5rem;
    }

    /* Amenities - Single column */
    #amenities .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Footer social buttons */
    .btn-social {
        width: 35px;
        height: 35px;
    }
}

/* Extra Small Mobile Phones (max-width: 375px) */
@media (max-width: 375px) {
    header.masthead h1.display-3 {
        font-size: 1.5rem;
    }

    .section-heading {
        font-size: 1.35rem;
    }

    .contact-info-card {
        padding: 1.5rem !important;
    }

    .form-container,
    #contact form {
        padding: 1.25rem !important;
    }

    .btn-gold.btn-lg {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Touch-Friendly Enhancements */
@media (hover: none) and (pointer: coarse) {
    .amenity-card:hover {
        transform: none;
    }

    .gallery-item .gallery-caption {
        opacity: 0.7;
        background-color: rgba(26, 95, 69, 0.5);
    }

    .btn-gold:hover {
        transform: none;
    }

    .testimonial-content:hover {
        transform: none;
    }

    /* Make buttons more touch-friendly */
    .btn {
        min-height: 44px;
    }

    .form-control {
        min-height: 44px;
    }
}

/* Landscape Orientation on Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    header.masthead {
        min-height: auto;
        padding: 80px 0;
    }

    header.masthead h1.display-3 {
        font-size: 1.75rem;
    }

    header.masthead p.lead {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}