/* WAHAT ALQUDRA VACATION HOMES RENTAL L.L.C - Main Styles */

/* Root Variables */
:root {
    --primary-black: #000000;
    --primary-white: #FFFFFF;
    --accent-teal: #4ECDC4;
    --accent-gold: #D4AF37;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --bg-light: #F9FAFB;
    --bg-gray: #F3F4F6;
}

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

body {
    font-family: 'Poppins', 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-black);
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #b8962e;
    border-color: #b8962e;
    color: var(--primary-black);
    transform: scale(1.02);
}

.btn-outline {
    border: 2px solid var(--accent-teal);
    color: var(--accent-teal);
    background: transparent;
    font-weight: 500;
    padding: 10px 28px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--accent-teal);
    color: var(--primary-white);
}

/* Header */
header {
    background-color: var(--primary-black);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

header .logo img {
    max-height: 50px;
}

header .logo-text {
    color: var(--primary-white);
    font-size: 1.2rem;
    font-weight: 600;
}

header .logo-text span {
    color: var(--accent-gold);
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

header nav a {
    color: var(--primary-white);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

header nav a:hover,
header nav a.active {
    color: var(--accent-gold);
}

header .mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-white);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 992px) {
    header .mobile-toggle {
        display: block;
    }

    header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-black);
        padding: 20px;
    }

    header nav.active {
        display: block;
    }

    header nav ul {
        flex-direction: column;
        gap: 15px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.3));
}

.hero .container {
    position: relative;
    z-index: 1;
    color: var(--primary-white);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero .btn-group {
    display: flex;
    gap: 15px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

@media (max-width: 768px) {
    .hero {
        height: 500px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .hero .btn-group {
        flex-direction: column;
    }
}

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

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    color: var(--primary-black);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Property Cards */
.property-card {
    background: var(--primary-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.property-card .image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.property-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .image img {
    transform: scale(1.05);
}

.property-card .badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-gold);
    color: var(--primary-black);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.property-card .content {
    padding: 20px;
}

.property-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-black);
}

.property-card .location {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.property-card .location i {
    color: var(--accent-teal);
    margin-right: 5px;
}

.property-card .amenities {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--text-gray);
    font-size: 0.85rem;
}

.property-card .amenities i {
    color: var(--accent-teal);
    margin-right: 5px;
}

.property-card .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--bg-gray);
}

.property-card .price {
    color: var(--accent-teal);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Testimonials */
.testimonials-section {
    background-color: var(--bg-light);
}

.testimonial-card {
    background: var(--primary-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
}

.testimonial-card .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
}

.testimonial-card .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card .rating {
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.testimonial-card p {
    color: var(--text-gray);
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--primary-black);
}

.testimonial-card .date {
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* Contact Form */
.contact-section {
    background-color: var(--primary-white);
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
}

.contact-form .form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid #E5E7EB;
    border-radius: 5px;
    padding: 12px 15px;
    font-size: 0.95rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

/* Footer */
footer {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 60px 0 30px;
}

footer h4 {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

footer p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}

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

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

footer .social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

footer .social-links a:hover {
    background: var(--accent-gold);
    color: var(--primary-black);
}

footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    margin-top: 40px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    color: var(--primary-white);
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--accent-teal);
    color: var(--accent-teal);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-teal);
    color: var(--primary-white);
}

/* Blog Cards */
.blog-card {
    background: var(--primary-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card .image {
    height: 200px;
    overflow: hidden;
}

.blog-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card .content {
    padding: 20px;
}

.blog-card .meta {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.blog-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.blog-card h3 a {
    color: var(--primary-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h3 a:hover {
    color: var(--accent-teal);
}

.blog-card .read-more {
    color: var(--accent-teal);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.blog-card .read-more:hover {
    gap: 10px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-item .overlay i {
    color: var(--primary-white);
    font-size: 2rem;
}

/* About Page */
.about-section {
    background: var(--bg-light);
}

.feature-box {
    text-align: center;
    padding: 30px;
    background: var(--primary-white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
}

.feature-box .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--accent-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    font-size: 1.8rem;
}

.feature-box h3 {
    margin-bottom: 15px;
}

.feature-box p {
    color: var(--text-gray);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: var(--primary-white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
