/* Bearwood Castle Resort - Custom Styles (Offline) */

:root {
    --resort-primary: #29582b;
    --resort-secondary: #8fbc8f;
    --resort-accent: #d4af37;
    --resort-light: #f5f5f5;
    --resort-dark: #1a1a1a;
    --white: #fff;
    --black: #000;
    --section-padding: 5rem 0;
    --shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    --shadow-lg: 0 1rem 3rem rgba(0,0,0,0.175);
    --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: var(--resort-light);
    color: var(--resort-dark);
    min-height: 100vh;
}

.navbar, .navbar.scrolled {
    background: var(--resort-primary) !important;
    color: var(--white) !important;
    box-shadow: none !important;
    transition: none !important;
    z-index: 1030 !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white) !important;
}

.navbar-brand img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 6px;
    transition: background var(--transition);
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    background-color: var(--resort-secondary);
    color: var(--resort-dark) !important;
}

.hero-section {
    margin-top: 80px !important;
    height: 100vh;
    background: linear-gradient(rgba(44, 85, 48, 0.6), rgba(44, 85, 48, 0.6)), url('resort.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    z-index: 2;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0.5rem 0.5rem 0;
    box-shadow: var(--shadow);
}

.hero-buttons .btn-outline-light {
    color: var(--white);
    border-color: var(--white);
}

.hero-buttons .btn-outline-light:hover {
    background: var(--white);
    color: var(--resort-primary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--resort-primary);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--resort-primary), var(--resort-secondary));
    border-radius: 2px;
}

.about-image img {
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition);
}

.about-image img:hover {
    transform: scale(1.05);
}

.features-list li, .about ul li {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.features-list i, .about ul i {
    color: var(--resort-accent);
    margin-right: 0.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Zoom overlay styles */
.zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
}

.zoom-overlay.active {
    display: flex;
}

.zoom-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.zoom-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.zoom-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.zoom-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.zoom-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.zoom-prev {
    left: 20px;
}

.zoom-next {
    right: 20px;
}

.pricing-header {
    background: linear-gradient(135deg, var(--resort-primary), var(--resort-secondary));
    color: var(--white);
    padding: 2rem;
    border-radius: 20px 20px 0 0;
}

.pricing-card .card {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition);
}

.pricing-card .card:hover {
    box-shadow: var(--shadow-lg);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 1rem;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.period {
    font-size: 1rem;
    opacity: 0.8;
}

.environment {
    background: var(--resort-light);
    padding: var(--section-padding);
}

.video-gallery video {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-item i {
    font-size: 1.2rem;
    width: 30px;
    margin-right: 1rem;
    margin-top: 0.25rem;
    color: var(--resort-primary);
}

.contact-form .form-control {
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid var(--resort-secondary);
    margin-bottom: 1rem;
}

.contact-form .btn {
    border-radius: 8px;
    font-weight: 600;
}

.footer {
    background: var(--resort-primary);
    color: var(--white);
    font-size: 1rem;
    padding: 1.5rem 0 0.5rem 0;
    margin-top: 2rem;
}

/* Font Awesome icon fix for offline */
.fa, .fas, .far, .fal, .fab {
    font-family: 'Font Awesome 6 Free', 'FontAwesome', Arial, sans-serif;
    font-weight: 900;
}

/* AOS Animations */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}
[data-aos].aos-animate {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        margin-top: 60px !important;
        height: 80vh;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .hero-section {
        height: 60vh;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 2rem;
    }
}

/* Remove custom Font Awesome bullet icons and restore default bullets */
.card-body ul,
.about ul,
.features-list ul,
.environment ul,
.contact-info ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.card-body ul li,
.about ul li,
.features-list ul li,
.environment ul li,
.contact-info ul li {
    position: static;
    margin-bottom: 0.5rem;
    padding-left: 0;
}
.card-body ul li::before,
.about ul li::before,
.features-list ul li::before,
.environment ul li::before,
.contact-info ul li::before {
    content: none !important;
}

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url(../fonts/fa-solid-900.woff2) format("woff2"),
       url(../fonts/fa-solid-900.ttf) format("truetype");
}

/* Add spacing between hero and about section */
.about {
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .about {
        margin-top: 2rem;
    }
}