/* Base Styles */
:root {
    --primary-color: #ff0000;
    --text-main: #000000;
    --text-nav: #666666;
    --bg-white: #ffffff;
    --bg-gray: #f5f5f5;
    --border-color: #e0e0e0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-red {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.btn-red:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--text-main);
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: var(--bg-white);
}

.btn-full {
    width: 100%;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 20px 0;
}

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

.logo {
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
}

.logo-main {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--text-nav);
    margin-top: -2px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-nav);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 30px;
}

.lang-btn {
    background: none;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-nav);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 2px 4px;
    text-transform: uppercase;
}

.lang-btn:hover {
    color: var(--primary-color);
}

.lang-btn.active {
    color: var(--text-main);
    border-bottom: 2px solid var(--primary-color);
}

.lang-divider {
    color: var(--border-color);
    font-size: 0.8rem;
    user-select: none;
}

@media (max-width: 768px) {
    .lang-switcher {
        margin-left: 0;
        margin-right: 15px;
    }
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    list-style: none;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    text-decoration: none;
    color: var(--text-nav);
    display: block;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-link:last-child {
    border-bottom: none;
}

.dropdown-link:hover {
    color: var(--primary-color);
    background-color: var(--bg-gray);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--text-main);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    margin-top: 80px;
    background-color: #dfdfdf;
    overflow: hidden;
}

.hero-img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.about-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 2rem;
}

.about .section-title {
    text-align: left;
    margin-bottom: 0;
}

.birds {
    display: flex;
    gap: 10px;
}

.bird-svg {
    width: 30px;
    height: 30px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.about-photo {
    width: 100%;
}

.photo-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-nav);
    border-radius: 8px;
}

.about-text-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.about-subtitle {
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 1.05rem;
    margin-bottom: 15px;
    color: #444;
}

.about-list-title {
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.about-bullets {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

@media (max-width: 768px) {
    .about-bullets {
        grid-template-columns: 1fr;
    }
}

.about-bullets li {
    position: relative;
    padding-left: 25px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
}

.about-bullets li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Properties Section */
.properties {
    padding: 100px 0;
    background-color: var(--bg-gray);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 30px;
}

.property-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.property-image {
    width: 100%;
    height: 250px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-nav);
    font-size: 1.2rem;
}

.property-details {
    padding: 25px;
}

.property-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.property-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #111111, #1a1a1a, #0d0d0d);
    background-size: 200% 200%;
    animation: darkWave 15s ease infinite;
    position: relative;
    overflow: hidden;
    color: var(--bg-white);
}

@keyframes darkWave {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.contact::before,
.contact::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: floatGlow 10s ease-in-out infinite alternate;
}

.contact::before {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary-color);
}

.contact::after {
    bottom: -150px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: #ff4d4d;
    animation-delay: -5s;
}

@keyframes floatGlow {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-30px) scale(1.1);
    }
}

.contact .section-title {
    color: var(--bg-white);
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    /* Glassmorphism Base */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    padding: 50px 40px;
    text-align: center;
    max-width: 900px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.contact-platforms {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    text-transform: uppercase;
    margin-bottom: 35px;
    font-weight: 600;
    letter-spacing: 3px;
    display: inline-block;
}

.contact-platforms span {
    display: inline-block;
    padding: 6px 16px;
    margin: 0 5px 10px;
    background: rgba(255, 0, 0, 0.15);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 30px;
    color: #ffb3b3;
}

.contact-numbers {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.contact-phone,
.contact-whatsapp {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bg-white);
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.contact-phone::after,
.contact-whatsapp::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.contact-phone::before {
    content: '';
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff4d4d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    transition: all 0.4s ease;
}

.contact-phone:hover,
.contact-whatsapp:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(255, 0, 0, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.contact-phone:hover::after,
.contact-whatsapp:hover::after {
    left: 150%;
}

.contact-phone:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E");
    transform: rotate(15deg);
}


/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-content {
    background-color: var(--bg-white);
    padding: 40px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    position: relative;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

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

.modal-close:hover {
    color: var(--primary-color);
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.error-message {
    color: var(--primary-color);
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-group.error input {
    border-color: var(--primary-color);
}

.form-group.error .error-message {
    display: block;
}

.form-success {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
    display: none;
}

.form-success.active {
    display: block;
}

.hidden {
    display: none;
}

/* Property Modal Specific */
.property-modal-content {
    max-width: 800px;
    padding: 30px;
    max-height: 90vh;
    overflow-y: auto;
}

.property-gallery-container {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: var(--bg-gray);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
}

.property-gallery {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}

.gallery-image {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-btn:hover {
    background: var(--bg-white);
    color: var(--primary-color);
}

.gallery-btn.prev {
    left: 10px;
}

.gallery-btn.next {
    right: 10px;
}

.gallery-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.65);
    color: var(--bg-white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
    letter-spacing: 1px;
    pointer-events: none;
}

.property-details-text {
    font-size: 1.05rem;
    color: var(--text-main);
}

.property-details-text p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.property-section-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 25px 0 15px;
    text-transform: uppercase;
}

.property-features-list {
    list-style: none;
    margin-bottom: 15px;
}

.property-features-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.property-features-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.property-contact-prompt {
    margin-top: 30px;
    font-weight: 600;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.modal-cta-container .btn {
    width: 100%;
}

/* Footer */
.footer {
    background-color: var(--text-main);
    color: var(--bg-white);
    text-align: center;
    padding: 30px 0;
}

/* Responsive */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-photo {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .property-gallery-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: -1;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        transform: none;
        opacity: 0;
        visibility: hidden;
        height: 0;
        min-width: 100%;
        text-align: center;
        background-color: transparent;
        transition: opacity 0.3s ease;
    }

    .dropdown.active .dropdown-menu,
    .dropdown:hover .dropdown-menu,
    .dropdown:focus-within .dropdown-menu {
        opacity: 1;
        visibility: visible;
        height: auto;
        padding-top: 10px;
    }

    .dropdown-link {
        padding: 10px 20px;
        border-bottom: none;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .logo-main {
        font-size: 1.5rem;
    }

    .hero {
        margin-top: 70px;
        background-image: url('images/mainimage.jpeg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        min-height: 50vh;
    }

    .hero-img {
        display: none;
    }

    .property-gallery-container {
        height: 250px;
    }

    .nav-link {
        text-align: center;
        display: block;
    }
}

.whatsapp-button::before {
    content: none !important;
}

.whatsapp-button svg {
    width: 22px;
    height: 22px;
    display: block;
    margin: auto;
}

/* WhatsApp Button Fix */
.whatsapp-button::before { display: none !important; }
.whatsapp-button { padding: 12px 24px !important; }
.whatsapp-button svg { width: 24px; height: 24px; display: block; transition: all 0.4s ease; }
.whatsapp-button:hover svg { fill: #ffffff; }
