/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: #333;
    line-height: 1.6;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #333;
}

/* Header */
header {
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2C3E50;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    font-weight: 600;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #E67E22;
}

/* Floating WhatsApp Button */
.whatsapp-fl {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-fl:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: #2C3E50;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 40px;
}

/* Hero Section */
.hero {
    background: url('https://www.oyorooms.com/travel-guide/wp-content/uploads/2021/07/Goa_Image1-1-1.jpg') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.2rem;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 10px;
    margin-top: 2rem;
    background: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 10px;
}

.search-form input, .search-form button {
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.search-form input[type="text"] {
    flex-grow: 2;
}

.search-form input[type="number"],
.search-form input[type="date"] {
    flex-grow: 1;
}

.search-form button {
    background: #E67E22;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-form button:hover {
    background: #d35400;
}

/* Autocomplete for Search Form */
.autocomplete-container {
    position: relative;
    flex-grow: 2;
}

#location-input {
    width: 100%;
    box-sizing: border-box;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #ddd;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff; 
    border-bottom: 1px solid #ddd; 
    color: #333;
}

.autocomplete-items div:hover {
    background-color: #e9e9e9; 
}

/* Featured Properties */
.featured-properties {
    padding: 4rem 0;
}

.featured-properties h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.property-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.property-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.property-card-content {
    padding: 1.5rem;
}

.property-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.property-card p {
    margin-bottom: 1rem;
    color: #666;
}

.btn {
    display: inline-block;
    background: #2C3E50;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #34495e;
}

/* Property Page */
.property-page {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.property-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.property-header .location {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Image Gallery */
.image-gallery {
    margin-bottom: 2rem;
}

.gallery-main img {
    width: 100%;
    border-radius: 10px;
    height: auto;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.gallery-thumbnails .thumbnail {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.gallery-thumbnails .thumbnail:hover {
    opacity: 1;
}

/* Property Body Layout */
.property-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.property-section {
    margin-bottom: 2rem;
}

.property-section h2 {
    font-size: 1.5rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.amenities-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.amenities-list li {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
}

/* Sidebar & Booking Box */
.property-sidebar .booking-box {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 120px;
}

.booking-box h3 {
    margin-top: 0;
    font-size: 1.8rem;
}

.booking-box .per-night {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

.btn-whatsapp {
    display: block;
    background: #25D366;
    color: #fff;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

/* Blog Page */
.blog-list-item {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.blog-list-item h2 a {
    color: #2C3E50;
    transition: color 0.3s ease;
}

.blog-list-item h2 a:hover {
    color: #E67E22;
}

.blog-meta {
    color: #777;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Single Blog Post */
.blog-post h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.blog-header-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.cta-section {
    background: #f4f4f4;
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    margin-top: 3rem;
}

.cta-section h2 {
    margin-top: 0;
    font-size: 1.8rem;
}

.cta-section .btn-whatsapp {
    display: inline-block;
    width: auto;
    padding: 15px 30px;
}

/* Events Page */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.event-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.event-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.event-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-card-content h3 {
    margin-top: 0;
}

.event-card-content p {
    margin-bottom: 0.5rem;
}

.event-card-content .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Contact Page */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    align-items: flex-start;
}

.contact-form-container {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    max-width: 500px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 1.8rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: #2C3E50;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #E67E22;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    background: linear-gradient(135deg, #E67E22 0%, #d35400 100%);
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form button:hover {
    background: linear-gradient(135deg, #d35400 0%, #c0392b 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.form-success-message {
    border: 2px solid #27ae60;
    background: linear-gradient(135deg, #e9f7ef 0%, #d5f4e6 100%);
    color: #27ae60;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.1);
}

.form-success-message h3 {
    margin-top: 0;
    color: #27ae60;
    font-size: 1.5rem;
}

.form-error-message {
    border: 2px solid #e74c3c;
    background: linear-gradient(135deg, #fdf2f2 0%, #fadbd8 100%);
    color: #e74c3c;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.1);
    margin-bottom: 1.5rem;
}

.form-error-message p {
    margin: 0;
    font-weight: 500;
}

.contact-direct {
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border: 1px solid #e9ecef;
}

.contact-direct h3 {
    font-size: 1.5rem;
    margin-top: 0;
    color: #2C3E50;
    margin-bottom: 1rem;
}

.contact-direct .btn-whatsapp {
    display: inline-block;
    width: auto;
    padding: 15px 30px;
    margin-bottom: 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-details {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.contact-details p {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: #2C3E50;
}

.contact-details strong {
    color: #E67E22;
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Header & Nav */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1100;
    }

    .menu-toggle span {
        width: 100%;
        height: 3px;
        background: #333;
        border-radius: 5px;
        transition: all 0.3s ease-in-out;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    header nav ul {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        text-align: center;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    header nav ul.active {
        display: flex;
    }

    header nav ul li {
        margin: 0;
        padding: 1.5rem 0;
        border-bottom: 1px solid #f4f4f4;
    }

    /* Search Form */
    .search-form {
        flex-direction: column;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Hero */
    .hero h1 {
        font-size: 2.5rem;
    }

    /* Layouts */
    .property-body,
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .amenities-list {
        grid-template-columns: 1fr;
    }

    .gallery-thumbnails {
        flex-wrap: wrap;
        margin-bottom: 1rem;
        gap: 8px;
        justify-content: flex-start;
    }
    .gallery-thumbnails .thumbnail {
        width: 70px;
        height: 55px;
        margin-bottom: 8px;
    }

    .contact-form-container {
        padding: 1.2rem 1rem 1.5rem 1rem;
        max-width: 100%;
        margin: 0 auto 2rem auto;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}
