/* Mountain View Crysta Walk Landing Page */
:root {
    --pastel-blue: #B3E5FC;
    --sand-beige: #FFE0B2;
    --aqua-turquoise: #80DEEA;
    --sunset-coral: #FFAB91;
    --white: #ffffff;
    --dark-text: #2c3e50;
    --light-text: #7f8c8d;
}

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

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    direction: rtl;
    text-align: right;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--pastel-blue), var(--aqua-turquoise));
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    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;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-call {
    background: var(--sunset-coral);
    color: var(--white);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--pastel-blue), var(--sand-beige));
    padding: 120px 0 80px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--dark-text);
    font-weight: 700;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--light-text);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    font-size: 1.2rem;
    padding: 15px 30px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background: linear-gradient(135deg, var(--sand-beige), var(--white));
}

.section:nth-child(odd) {
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-text);
    font-weight: 700;
}

/* About Section */
.about-content {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: var(--light-text);
}

/* Highlights Section */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.highlight-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
}

.highlight-item::before {
    content: '✨';
    font-size: 2rem;
    display: block;
    margin-bottom: 15px;
}

.highlight-item h3 {
    font-size: 1.3rem;
    color: var(--dark-text);
    margin-bottom: 10px;
}

/* Unit Types Section */
.units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.unit-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 3px solid transparent;
}

.unit-card:hover {
    transform: translateY(-5px);
    border-color: var(--aqua-turquoise);
}

.unit-card h3 {
    font-size: 1.5rem;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.unit-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.unit-area {
    background: var(--pastel-blue);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    color: var(--dark-text);
}

.unit-rooms {
    color: var(--light-text);
    font-size: 1.1rem;
}

/* Beach Life Section */
.beach-life {
    background: linear-gradient(135deg, var(--aqua-turquoise), var(--sunset-coral));
    color: var(--white);
}

.beach-life .section-title {
    color: #000000;
}

.beach-content {
    font-size: 1.3rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: black;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #823119, var(--dark-text));
    color: #4e4747;
    text-align: center;
}

.contact .section-title {
    color: #7f7f7f;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.3rem;
}

.contact-item i {
    font-size: 2rem;
    color: var(--sunset-coral);
}

/* Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.popup-content {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--light-text);
}

.popup-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--dark-text);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .highlights-grid,
    .units-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .popup-content {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .brochure-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .brochure-icon {
        font-size: 3rem;
    }
    
    .download-btn {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    .fixed-contact-bar {
        position: fixed;
        bottom: 15px;
        right: 15px;
        display: flex;
        flex-direction: row;
        gap: 8px;
        z-index: 2000;
        animation: none;
        transform: none;
    }
    
    .fixed-contact-bar::before,
    .fixed-contact-bar::after {
        display: none;
    }
    
    .fixed-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        transition: transform 0.2s ease;
    }
    
    .fixed-btn:hover {
        transform: scale(1.1);
    }
    
    .fixed-btn i {
        font-size: 1.2rem;
    }
    
    .fixed-btn span {
        display: none;
    }
    
    .fixed-btn span::after {
        display: none;
    }
    
    .fixed-call {
        background: #FF6B35;
        color: white;
    }
    
    .fixed-whatsapp {
        background: #25D366;
        color: white;
    }
    
    .fixed-whatsapp::after {
        display: none;
    }
}

/* للهواتف الصغيرة جداً */
@media (max-width: 360px) {
    .fixed-contact-bar {
        bottom: 10px;
        right: 10px;
        gap: 6px;
    }
    
    .fixed-btn {
        width: 45px;
        height: 45px;
    }
    
    .fixed-btn i {
        font-size: 1.1rem;
    }
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

/* Brochure Download Section */
.brochure-download {
    background: linear-gradient(135deg, var(--sand-beige), var(--pastel-blue));
    text-align: center;
}

.brochure-content {
    max-width: 600px;
    margin: 0 auto;
}

.brochure-icon {
    font-size: 4rem;
    color: var(--sunset-coral);
    margin-bottom: 20px;
}

.brochure-description {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 30px;
    line-height: 1.6;
}

.brochure-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
}

.feature-item i {
    color: #28a745;
    font-size: 1.2rem;
}

.feature-item span {
    font-weight: 600;
    color: var(--dark-text);
}

.download-btn {
    background: linear-gradient(135deg, var(--sunset-coral), #FF4500);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 171, 145, 0.4);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 171, 145, 0.6);
}

.download-btn i {
    font-size: 1.3rem;
}

/* Loading State */
.download-loading {
    text-align: center;
    padding: 30px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--sunset-coral);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.download-loading p {
    font-size: 1.1rem;
    color: var(--light-text);
    font-weight: 600;
}

/* Error State */
.download-error {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.error-icon {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 15px;
}

.download-error h3 {
    color: var(--dark-text);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.download-error p {
    color: var(--light-text);
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    color: white;
}

.whatsapp-btn i {
    font-size: 1.2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.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::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(179, 229, 252, 0.3), rgba(128, 222, 234, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Fixed Contact Bar - Simple Design */
.fixed-contact-bar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1500;
}

.fixed-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.fixed-btn:hover {
    transform: scale(1.1);
}

.fixed-call {
    background: #FF6B35;
    color: white;
}

.fixed-whatsapp {
    background: #25D366;
    color: white;
}

.fixed-btn i {
    font-size: 1.4rem;
}

.fixed-btn span {
    display: none;
}

 