/* 
 * Beloveds Rest - Custom Styles
 * A professional and clean design for a property listing website
 */

/* ===== Base Styles ===== */
:root {
    --primary-color: #2d6a4f;
    --secondary-color: #74c69d;
    --accent-color: #b7b7a4;
    --dark-color: #1b4332;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--dark-color);
    line-height: 1.6;
}

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

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

/* ===== Header & Navigation ===== */
.navbar {
    transition: all 0.3s ease;
    padding: 15px 0;
    background-color: transparent;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo-img {
    height: 100px;
    width: auto;
    transition: transform 0.3s ease;
}


.nav-link {
    font-weight: 500;
    color: #fff;
    margin: 0 10px;
    transition: all 0.3s ease;
}

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

.book-now-nav {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== Hero Section ===== */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background: url('../images/7.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 67, 50, 0.2) 0%, rgba(45, 106, 79, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 10px;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-section .lead{
    font-size: 2.5rem;
    font-weight: 400;
    text-transform: capitalize;
}

.book-now-btn {
    font-size: 1.2rem;
    padding: 15px 35px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

/* ===== Overview Section ===== */
.overview-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.overview-content h3 {
    color: var(--primary-color);
    margin-top: 30px;
    position: relative;
    padding-bottom: 15px;
}

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

.overview-image {
    position: relative;
    float: right;
    width: 55%;
    margin: 0 0 20px 30px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
}

.overview-image img {
    width: 100%;
    transition: all 0.5s ease;
    transform: scale(1);
}

/* Clear the float after the overview content */
.overview-content::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .overview-image {
        float: none;
        width: 100%;
        margin: 0 0 20px 0;
    }
}

/* ===== Gallery Section ===== */
.gallery-section {
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/DJI_0681-HDR.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.1;
    z-index: -1;
}

.gallery-swiper {
    padding-bottom: 60px;
    margin-top: 20px;
}

.swiper-slide {
    transition: all 0.5s ease;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.swiper-slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.swiper-slide:hover {
    transform: translateY(-15px);
}

.swiper-slide:hover img {
    transform: scale(1.05);
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

/* ===== Amenities Section ===== */
.amenities-section {
    position: relative;
}

.amenity-category {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-bottom: 4px solid transparent;
}

.amenity-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-bottom: 4px solid var(--secondary-color);
}

.amenity-category h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

.amenity-category h3 i {
    color: var(--accent-color);
    margin-right: 10px;
}

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

.amenity-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.amenity-list li:last-child {
    border-bottom: none;
}

/* ===== Reviews Section ===== */
.reviews-section {
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/DJI_0740-HDR.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.1;
    z-index: -1;
}

.review-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-left: 4px solid var(--secondary-color);
}

.review-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.review-header {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 15px;
}

.review-header h5 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.rating {
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.review-date {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 0;
}

.review-text {
    font-style: italic;
    color: var(--dark-color);
}

/* ===== Location Section ===== */
.location-section {
    position: relative;
    min-height: 600px;
    background: url('../images/711A1207-HDR.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: var(--dark-color);
    overflow: hidden;
}

.location-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 67, 50, 0.7) 0%, rgba(45, 106, 79, 0.5) 100%);
    z-index: 1;
}

.location-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.location-content:hover {
    transform: translateY(-10px);
}

.location-section .section-title {
    color: var(--primary-color);
}

.location-info {
    font-size: 1.1rem;
    line-height: 1.8;
}

.location-info h3 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.location-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

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

.location-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.location-list li i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.location-list li:last-child {
    border-bottom: none;
}

.map-note {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* ===== Booking Section ===== */
.booking-section {
    position: relative;
    overflow: hidden;
}

.booking-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/711A1197-HDR.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.1;
    z-index: -1;
}

.booking-widget-container {
    background-color: white;
    border-radius: 10px;
    padding: 50px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.booking-widget-placeholder {
    padding: 30px;
    text-align: center;
}

.booking-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-color) 0%, #2d6a4f 100%);
    opacity: 0.9;
    z-index: 1;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%2374c69d' fill-opacity='0.1' d='M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,224C672,245,768,267,864,261.3C960,256,1056,224,1152,208C1248,192,1344,192,1392,192L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%2374c69d' fill-opacity='0.1' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z'%3E%3C/path%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%232d6a4f' fill-opacity='0.1' d='M0,96L48,128C96,160,192,224,288,240C384,256,480,224,576,197.3C672,171,768,149,864,165.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: 100%, 100px 100px, 100%;
    background-repeat: no-repeat, repeat, no-repeat;
    background-position: bottom, center, bottom;
    opacity: 0.3;
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-logo-img {
    height: 150px;
    width: auto;
    margin-bottom: 10px;
}

.footer h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

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

.footer-links li, .footer-contact li {
    padding: 8px 0;
}

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

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

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-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;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-3px) rotate(360deg);
    transition: all 0.5s ease;
}

.copyright {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
    .hero-section {
        height: 80vh;
    }
    
    .hero-section h1 {
        font-size: 2.8rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.2rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .amenity-category, .review-card {
        margin-bottom: 20px;
    }

    .logo-img {
        height: 75px;
        width: auto;
        transition: transform 0.3s ease;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 60vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .booking-widget-container {
        padding: 20px;
    }

    .logo-img {
        height: 75px;
        width: auto;
        transition: transform 0.3s ease;
    }
}

/* ===== Fancybox Customization ===== */
.fancybox__container {
    --fancybox-bg: rgba(24, 24, 27, 0.95);
}

.fancybox__caption {
    font-family: var(--font-body);
    font-size: 1rem;
}
