/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Heebo', Arial, sans-serif;
    height: 100%;
}

h1, h2 {
    margin: 0;
    padding: 0;
}

header, section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Logo and Photo Gallery Section */
.logo-gallery-section {
    height: 45vh; 
    position: relative;
    overflow: hidden;
}

.logo-container {
    position: absolute;
    z-index: 2;
}

.logo-box {
    background-color: rgba(0,0,0,0.5);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-width: 250px;
    width: 100%;
}

@media (max-width: 768px) {
    .logo-box {
        max-width: 180px;
    }
}

.logo {
    max-width: 100%;
    height: auto;
}

.logo-gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    animation: changeBackground 15s infinite;
}


/* Slogan Section */
.slogan-section {
    position: relative;
    padding: 0px 20px;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center; /* Align text to the right for RTL */
    overflow: hidden;
    background-color: #1d1d1d;
}

.slogan-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Prevent overflow */
    z-index: 1; /* Ensure the background is behind the text */
}

.slogan-background img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the whole background */
    filter: blur(50px) invert(10%) saturate(100%) opacity(60%); /* Apply the blur effect */
    transform: scale(1.1); /* Slightly scale the image to avoid seeing edges after the blur */
}

.slogan-container {
    max-width: 600px;
    width: 100%;
    z-index: 2;
    direction: rtl; /* Set direction to RTL */
}

.slogan-top-sentence {
    font-size: 1.7rem;
    font-weight: 300;
    color: #d8d8d8;
    margin-bottom: 1px;
}

.slogan-main-title {
    font-size: 3rem;
    font-weight: 400;
    color: #d8d8d8;
    /*text-shadow: 2px 2px 5px rgba(0,0,0,0.3);*/
    margin-bottom: 5px;
}

.slogan-description {
    font-size: 1.5rem;
    font-weight: 300;
    color: #d8d8d8;
    margin-bottom: 50px;
}

.slogan-price {
    font-size: 1.8rem;
    color: #d8d8d8;
    /*font-weight: bold;*/
    text-transform: uppercase;
}

.price-amount {
    font-size: 2.5rem;
    /* font-weight: bold; */
    font-family: "Exo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* Responsive Design for Slogan Section */
@media (min-width: 1024px) {
    .slogan-container {
        max-width: 50%; /* Prevents text from spreading too wide on large screens */
    }
}

@media (max-width: 768px) {
    .slogan-top-sentence {
        font-size: 1.4rem;
    }

    .slogan-main-title {
        font-size: 2.6rem;
    }

    .slogan-description {
        font-size: 1.3rem;
    }

    .slogan-price {
        font-size: 1.5rem;
    }

    .price-amount {
        font-size: 2rem;
    }
}

/* Contact Us Section */

/* Contact Us Header */
.contact-small-header {
    direction: rtl; /* Make the header RTL */
    color: #333; /* Set color to match the fields' outlines */
    text-align: right;
    font-size: x-large;
}

.contact-header {
    direction: rtl; /* Make the header RTL */
    color: #333; /* Set color to match the fields' outlines */
    text-align: right;
    font-size:xx-large
}

.contact-section {
    padding: 10px 20px;
    background-color: white; /* White background */
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-photo {
    display: none; /* Hide photo by default */
}

.contact-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.contact-form {
    max-width: 500px;
    padding: 30px;
    padding-right: 0px;
    padding-top: 15px;
    border-radius: 0px;
    background-color: white;
}

.contact-form-container {
    width: 100%;
    max-width: 500px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align both header and form to the right */
}

/* Checkbox Container */
.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px; /* Space below checkbox */
    direction: rtl;
}

.checkbox-container input[type="checkbox"] {
    margin: 10px; /* Remove default margin */
    margin-right: 10px;
    width: 10px; /* Adjust width */
    height: 10px; /* Adjust height */
    border: 1px solid;
    appearance: none;
    box-sizing: border-box;
    text-align: center;
}

.checkbox-container input[type="checkbox"]:checked::before {
    content: "\2713";
    transform: none;
    font-size: 0.9rem;
    text-align: center;
}

.checkbox-container label {
    font-size: 1rem;
    color: #555;
    margin: 0 0 0 10px; /* Space between checkbox and label */
}

/* Form Fields */
.contact-form input,
.contact-form textarea {
    width: 90%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid black; /* Dark grey outline */
    border-radius: 0; /* Rectangular corners */
    text-align: right;
    direction: rtl;
}

.contact-form button {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 1px;
    cursor: pointer;
    text-align: center;
    width: 90%;
}

.contact-form button:hover {
    background-color: #555;
}

/* Responsive Design for Desktop */
@media (min-width: 1024px) {
    .contact-content {
        flex-direction: row; /* Arrange photo and form side by side */
        justify-content: space-between; /* Ensure photo and form are aligned to the sides */
        width: 95%;
    }

    .contact-photo {
        display: block; /* Show photo */
        width: 50%;
        padding: 20px;
        flex-shrink: 0; /* Prevent the photo from shrinking */
        text-align: left;
    }

    .contact-photo img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        border: darkgray;
    }

    .contact-form {
        width: 50%;
        padding: 30px;
        padding-right: 0px;
        padding-top: 15px;
    }

    .contact-form input,
    .contact-form textarea {
        width: 90%;
        padding: 14px;
        margin-bottom: 15px;
        font-size: small;
    }

    .contact-form button {
        padding: 10px 20px;
        width: 90%;
        font-size: small;
    }
}

/* 4th Section: Contact Information */
.info-section {
    padding: 50px 20px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-image: url('assets/CAFES.jpg');
}

/* Overlay to Dim the Background */
.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7); /* Black overlay with 50% opacity */
    z-index: 1;
}

.info-container {
    position: relative;
    padding: 30px;
    border: 2px solid white;
    border-radius: 10px;
    text-align: center;
    z-index: 2; /* Ensure content appears above the overlay */
    max-width: 30%;
    margin: 0 auto;
}

.small-logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 20px;
    display: block; /* Ensures logos stack vertically */
    margin-left: auto; /* Centers the logo horizontally */
    margin-right: auto; /* Centers the logo horizontally */
}

.small-logo.circular {
    border-radius: 10px; /* Makes the corners circular */
}

.phone-number {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: white;
}

/* Target phone numbers styled as links */
a[href^="tel"] {
    color: white;          /* Set the text color to white */
    text-decoration: none; /* Remove the underline */
}

/* Optional: Ensure the phone number looks like normal text */
a[href^="tel"]:hover,
a[href^="tel"]:focus,
a[href^="tel"]:active {
    color: white;          /* Maintain the white color on hover, focus, and active states */
    text-decoration: none; /* Keep the underline removed */
}

.disclaimer {
    font-size: 0.9rem;
    color: white;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .slogan {
        font-size: 2rem;
    }

    .contact-container, .info-container {
        padding: 20px;
    }

    .info-container {
        max-width: 90%; /* Reduce max width on smaller screens */
    }
}

/* Background Animation */
@keyframes changeBackground {
    0% { background-image: url('assets/gal-01.jpg'); }
    33% { background-image: url('assets/gal-02.jpg'); }
    66% { background-image: url('assets/gal-03.jpg'); }
    100% { background-image: url('assets/3d_penthouse_interior.jpg'); }
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000; /* Ensure buttons are above all other elements */
}

.floating-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    text-decoration: none;
}

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

.call-button {
    background-color: #007BFF;
}

.floating-buttons img {
    width: 24px;
    height: 24px;
}

.spinner {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
}

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

.feedback-message {
    margin-top: 10px;
    color: green;
    font-weight: 500;
    text-align: center;
}

