/* Reset and base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    min-height: 100vh;
    direction: rtl;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button, a.btn {
    cursor: pointer;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    border: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(184, 134, 11, 0.3);
}

.btn-primary {
    background-color: #b8860b; /* dark gold */
    color: white;
}

.btn-primary:hover {
    background-color: #a37507;
    box-shadow: 0 6px 12px rgba(184, 134, 11, 0.5);
}

.btn-secondary {
    background-color: #d4af37; /* bronze */
    color: black;
}

.btn-secondary:hover {
    background-color: #b38f1f;
    box-shadow: 0 6px 12px rgba(180, 143, 31, 0.5);
}

/* Header */
header {
    position: relative;
    width: 100%;
    padding: 1rem 2rem;
    background-color: transparent;
    transition: background-color 0.3s ease;
    z-index: 1000;
}

header.solid {
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-image {
    max-width: 300px;
    height: 240px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.logo-image:hover {
    opacity: 1;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 900;
    color: #b8860b;
    font-family: 'Cairo', sans-serif;
}

/* Navigation */
.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 600;
    font-size: 1.1rem;
    color: black;
}

.nav-links li a:hover {
    color: #b8860b;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: url('/assets/img/panorama.jpg') center center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 3rem;
    text-align: right;
    color: black;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* 360 Preview Section */
.preview-360-section {
    padding: 4rem 2rem;
    text-align: center;
}

.preview-360-section h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: #b8860b;
}

.preview-360-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.iframe-wrapper {
    max-width: 900px;
    margin: 0 auto 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
}

.btn-center {
    display: inline-block;
}

/* About Section */
.about-section {
    padding: 1rem 2rem 0.5rem 2rem;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 1rem auto 0.5rem auto;
    max-width: 800px;
    animation: fadeIn 1s ease-in-out;
}

.about-section h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: #b8860b;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #333;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Categories Section */
.categories-section {
    padding: 4rem 2rem;
    text-align: center;
}

.categories-section h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: #b8860b;
}

.category-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.category-card {
    background: #f0f0f5;
    border-radius: 15px;
    padding: 2rem;
    width: 280px;
    box-shadow: 0 0 15px #4a4aff44;
    transition: box-shadow 0.3s ease;
}

.category-card:hover {
    box-shadow: 0 0 25px #6a6aff88;
}

.category-card img {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.category-card h3 {
    color: #6a6aff;
    margin-bottom: 1rem;
}

.featured-tour-section iframe {
    width: 100%;
    height: 405px;
    border-radius: 15px;
    border: none;
    display: block;
    margin: 0 auto;
    margin-top: 5px /* reduced space between header and tour */
}

/* Demo Section */
.demo {
    padding: 4rem 2rem;
    text-align: center;
}

.demo h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #4a4aff;
}

.video-placeholder {
    background: #f0f0f5;
    border-radius: 15px;
    width: 80%;
    max-width: 720px;
    height: 405px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #4a4aff88;
    font-size: 1.5rem;
    box-shadow: 0 0 15px #4a4aff44;
    position: relative;
}

.video-frame {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: linear-gradient(135deg, #4a4aff33, #6a6aff33);
    filter: blur(8px);
    z-index: 0;
}

/* Contact Section */
.contact {
    background: #ffffff;
    padding: 4rem 2rem;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #4a4aff;
}

#contact-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

#contact-form input[type="email"] {
    padding: 1rem;
    border-radius: 30px;
    border: 1px solid #cccccc;
    width: 300px;
    max-width: 100%;
    font-size: 1rem;
    outline: none;
    box-shadow: none;
    background-color: #ffffff;
    color: #222222;
    transition: box-shadow 0.3s ease;
}

#contact-form input[type="email"]:focus {
    box-shadow: 0 0 10px #6a6aff88;
}

#contact-form button {
    background: linear-gradient(90deg, #4a4aff, #6a6aff);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 0 15px #4a4aff;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#contact-form button:hover {
    background: linear-gradient(90deg, #6a6aff, #4a4aff);
    box-shadow: 0 0 25px #6a6aff;
}

#form-message {
    margin-top: 1rem;
    color: #b38fff;
    font-weight: 600;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    color: #4a4aff88;
    border-top: 1px solid #cccccc;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-section h1 {
        font-size: 3rem;
    }

    .hero-section p {
        font-size: 1.3rem;
    }

    .preview-360-section h2,
    .categories-section h2,
    .about-section h2 {
        font-size: 2rem;
    }

    .category-cards {
        gap: 1.5rem;
    }

    .category-card {
        width: 240px;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.5rem 1rem;
    }

    .logo-image {
        max-width: 200px;
        height: 160px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links li a {
        font-size: 1rem;
    }

    .hero-section {
        padding: 0 1rem;
        height: 80vh;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .preview-360-section {
        padding: 2rem 1rem;
    }

    .iframe-wrapper iframe,
    .featured-tour-section iframe {
        height: 300px;
    }

    .about-section {
        padding: 1rem;
        margin: 0.5rem;
    }

    .about-section h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .about-content p {
        font-size: 1.1rem;
    }

    .categories-section {
        padding: 2rem 1rem;
    }

    .category-cards {
        gap: 1rem;
    }

    .category-card {
        width: 100%;
        max-width: 300px;
        padding: 1rem;
    }

    .steps, .feature-cards {
        flex-direction: column;
        align-items: center;
    }

    #contact-form {
        flex-direction: column;
    }

    #contact-form input[type="email"], #contact-form button {
        width: 100%;
        max-width: 400px;
    }

    footer {
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .logo-image {
        max-width: 150px;
        height: 120px;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        display: none;
    }

    .nav-links.show {
        display: flex;
    }

    .hero-buttons a {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .iframe-wrapper iframe,
    .featured-tour-section iframe {
        height: 250px;
    }

    .about-content p {
        font-size: 1rem;
    }

    .category-card h3 {
        font-size: 1.1rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
