
/* Contact Form - Clean Implementation */
.contact-section {
    padding: 4rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Contact Form Styling */
.contact-form {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(58, 90, 64, 0.1);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-family: var(--heading-font);
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--body-font);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(58, 90, 64, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-top: 0.5rem;
}

.form-check input {
    margin-right: 10px;
    margin-top: 5px;
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}

.form-check label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Contact Info Styling */
.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-family: var(--heading-font);
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(58, 90, 64, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

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

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.contact-text p {
    margin-bottom: 0;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-map {
    margin-top: 2rem;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Date Picker and Select Styling */
input[type="date"].form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%233a5a40' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%233a5a40' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
}

/* Responsive styles */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-section {
        padding: 3rem 0;
    }
}
/* 
   Main Stylesheet for The Ridgeline Wedding & Event Venue
   Author: Brady Miller
   Version: 1.0
*/

/* ===== GLOBAL STYLES ===== */
:root {
    /* Color palette */
    --primary-color: #3a5a40;
    --secondary-color: #a98467;
    --accent-color: #dad7cd;
    --text-color: #333333;
    --light-color: #ffffff;
    --dark-color: #1a1a1a;
    --overlay-color: rgba(0, 0, 0, 0.5);
    
    /* Typography */
    --heading-font: 'Cormorant Garamond', serif;
    --body-font: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--secondary-color);
    margin: 0 auto 1.5rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-color);
    border: 2px solid var(--light-color);
}

.btn-secondary:hover {
    background-color: var(--light-color);
    color: var(--secondary-color);
}

.btn-text {
    color: var(--primary-color);
    padding: 0;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.btn-text i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn-text:hover i {
    transform: translateX(5px);
}

/* Add a new button style for the custom package section */
.btn-accent {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
    font-weight: 600;
}

.btn-accent:hover {
    background-color: transparent;
    color: var(--accent-color);
}

/* Space Gallery Styles */
.space-gallery {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.space-gallery .gallery-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.space-gallery .gallery-item.active {
    opacity: 1;
    z-index: 1;
}

.space-gallery .gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.video-play-button i {
    color: var(--primary-color);
    font-size: 24px;
    margin-left: 4px; /* Slight adjustment for the play icon */
}

.video-play-button:hover {
    background-color: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button:hover i {
    color: white;
}

/* Make sure videos with controls display properly */
.gallery-item.active video::-webkit-media-controls {
    z-index: 20;
}

.gallery-navigation {
    position: absolute;
    bottom: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 3;
    transform: translateY(50%);
}

.gallery-prev,
.gallery-next {
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.gallery-prev:hover,
.gallery-next:hover {
    background-color: white;
}

.gallery-indicators {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 3;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: white;
    transform: scale(1.2);
}

/* Video Play Button for Gallery */
.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.video-play i {
    color: var(--primary-color);
    font-size: 28px;
    margin-left: 5px; /* Slight adjustment for the play icon */
}

.video-play:hover {
    background-color: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play:hover i {
    color: white;
}

.video-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--light-color);
    animation: spin 1s ease-in-out infinite;
    display: none;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Video Modal for Space Gallery */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 80%;
    max-width: 900px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: -40px;
    color: white;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .video-play-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .gallery-navigation {
        padding: 0 10px;
    }
    
    .gallery-prev,
    .gallery-next {
        width: 35px;
        height: 35px;
    }
    
    .close-modal {
        top: -35px;
        right: 0;
    }
}

@media (max-width: 576px) {
    .video-play-button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .gallery-prev,
    .gallery-next {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%; /* Make logo circular */
    object-fit: cover; /* Ensure the image covers the circular area */
    border: 2px solid var(--primary-color); /* Optional: add a border */
}

.main-nav .nav-links {
    display: flex;
    list-style: none;
}

.main-nav .nav-links li {
    margin-left: 30px;
}

.main-nav .nav-links a {
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav .nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.main-nav .nav-links a:hover:after,
.main-nav .nav-links a.active:after {
    width: 100%;
}

.main-nav .nav-links a.nav-cta {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-nav .nav-links a.nav-cta:hover {
    background-color: var(--secondary-color);
}

.main-nav .nav-links a.nav-cta:after {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger:before,
.hamburger:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.hamburger:before {
    top: -8px;
}

.hamburger:after {
    bottom: -8px;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
}

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

.hero h1 {
    margin-bottom: 1rem;
    font-size: 4rem;
}

.hero .tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-family: var(--heading-font);
    font-style: italic;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--light-color);
    font-size: 0.9rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    margin-top: 0.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===== WELCOME SECTION ===== */
.welcome {
    padding: 6rem 0;
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.welcome-text p:last-child {
    margin-bottom: 2rem;
}

.welcome-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 6rem 0;
    background-color: #f9f9f9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 6rem 0;
    background: url('../images/cta-bg.jpg') no-repeat center center/cover;
    position: relative;
    color: var(--light-color);
    text-align: center;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 1.5rem;
}

.cta-content p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 2rem;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: var(--light-color);
}

.footer-links a:hover {
    color: var(--accent-color);
}

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

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

.social-icons a.facebook {
    transition: all 0.3s ease;
}

.social-icons a.facebook:hover {
    background-color: #3b5998; /* Facebook blue */
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 89, 152, 0.4);
}

.social-icons a.instagram {
    transition: all 0.3s ease;
}

.social-icons a.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); /* Instagram gradient */
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(214, 36, 159, 0.4);
}

.social-icons a.pinterest {
    transition: all 0.3s ease;
}

.social-icons a.pinterest:hover {
    background-color: #E60023; /* Pinterest red */
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 0, 35, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Page Banner */
.page-banner {
    height: 400px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    margin-top: 110px; /* Account for fixed header */
}

.banner-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.breadcrumbs {
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--accent-color);
}

.breadcrumbs span {
    color: var(--light-color);
}

/* Venue Overview Section */
.venue-overview {
    padding: 5rem 0;
}

.overview-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.overview-text {
    flex: 1;
}

.overview-text p {
    margin-bottom: 1.5rem;
}

.overview-image {
    flex: 1;
}

.overview-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Venue Spaces Section */
.venue-spaces {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.spaces-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.space-card {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.space-card.reverse {
    flex-direction: row-reverse;
}

.space-image {
    flex: 1;
}

.space-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.space-content {
    flex: 1;
}

.space-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.space-content p {
    margin-bottom: 1.5rem;
}

.space-features {
    list-style: none;
}

.space-features li {
    margin-bottom: 0.5rem;
}

.space-features li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Amenities Section */
.amenities {
    padding: 5rem 0;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.amenity-item {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.amenity-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.amenity-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.amenity-item h3 {
    font-size: 1.2rem;
}

/* Packages Section */
.packages {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.package-card {
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.package-card.featured {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.package-header {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 2rem;
    text-align: center;
}

.package-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.package-price {
    font-size: 1.2rem;
    font-weight: 500;
}

.package-content {
    padding: 2rem;
}

.package-features {
    list-style: none;
}

/* Custom package section styling */
.custom-package {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background-color: rgba(58, 90, 64, 0.05);
    border-radius: 8px;
}

.custom-package h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.custom-package p {
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

/* Photo Frame Gallery */
.photo-frame {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 20px;
    background-color: var(--light-color);
    border: 1px solid var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
}

.photo-item {
    position: relative;
    overflow: hidden;
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    border: 5px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.photo-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Responsive adjustments for photo frame */
@media (max-width: 768px) {
    .photo-frame {
        padding: 15px;
    }
    
    .photo-grid {
        grid-gap: 10px;
    }
    
    .photo-item {
        border: 3px solid white;
    }
}

@media (max-width: 480px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== GALLERY PAGE STYLES ===== */
.gallery-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.filter-btn {
    background: none;
    border: 2px solid transparent;
    padding: 8px 20px;
    margin: 0 5px 10px;
    font-family: var(--body-font);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 15px;
    grid-auto-flow: dense;
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease, height 0.4s ease;
    height: 250px;
    cursor: pointer;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    z-index: 1;
    pointer-events: none;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.gallery-item img, 
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    backface-visibility: hidden; /* Prevents glitchy transitions */
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    text-align: center;
    padding: 1rem;
}

.gallery-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.gallery-info p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.gallery-zoom, .video-play {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.gallery-zoom:hover, .video-play:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.video-item {
    position: relative;
}

.video-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    pointer-events: auto; /* Ensure the button captures mouse events */
}

.video-play i {
    color: var(--primary-color);
    font-size: 28px;
    margin-left: 5px; /* Slight adjustment for the play icon */
    pointer-events: none; /* Prevent the icon from capturing events */
}

/* Make sure the overlay doesn't block the play button */
.gallery-overlay {
    pointer-events: none; /* Let clicks pass through to elements below */
}

.gallery-info {
    pointer-events: auto; /* Re-enable pointer events for the info container */
}
.video-play:hover {
    transform: scale(1.1);
    background-color: var(--secondary-color);
}

.video-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.8);
    z-index: 1;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 80%;
    max-width: 900px;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.video-modal.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: -40px;
    color: white;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--light-color);
    animation: spin 1s ease-in-out infinite;
    display: none;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.gallery-item.hidden {
    display: none;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    font-size: 1.2rem;
    color: var(--text-color);
}

@media (max-width: 992px) {
    .gallery-masonry {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .gallery-masonry {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        grid-gap: 10px;
    }
    
    .gallery-item {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .gallery-masonry {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .gallery-item {
        height: 150px;
    }
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    opacity: 1;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal.active .modal-content {
    transform: translateY(-50%) scale(1);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--light-color);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-modal:hover {
    transform: rotate(90deg);
    color: var(--accent-color);
}

.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--light-color);
    animation: spin 1s ease-in-out infinite;
    display: none;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.no-results {
    display: none;
    text-align: center;
    padding: 2rem;
    grid-column: 1 / -1;
    color: var(--text-color);
    font-style: italic;
}

@media (max-width: 992px) {
    .gallery-masonry {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .gallery-item:nth-child(4n+1) {
        grid-column: auto;
        height: 250px;
    }
    
    .gallery-item:nth-child(6n+3) {
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .gallery-masonry {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        grid-gap: 10px;
    }
    
    .gallery-item {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .gallery-masonry {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 250px;
    }
}

/* Form Confirmation Styles */
.form-confirmation {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.confirmation-content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.5s ease;
}

.confirmation-content i {
    font-size: 60px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.confirmation-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.close-confirmation {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}