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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8B5CF6;
    text-decoration: none;
    letter-spacing: 2px;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav__link:hover {
    color: #8B5CF6;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 50%, #3B82F6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./assets/hero-bg.png') center/cover;
    z-index: 1;
}

.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero__content {
    max-width: 700px;
    color: white;
    padding: 2rem 0;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero__description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.7;
}

.hero__cta {
    display: inline-block;
    background: white;
    color: #8B5CF6;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #f8fafc;
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1e293b;
    line-height: 1.3;
}

.about__description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #475569;
    line-height: 1.7;
}

.about__image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Investments Section */
.investments {
    padding: 5rem 0;
}

.investments__title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: #1e293b;
}

.properties {
    display: grid;
    gap: 3rem;
    margin-bottom: 5rem;
}

.property {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem 0;
}

.property:nth-child(even) {
    direction: rtl;
}

.property:nth-child(even) .property__content {
    direction: ltr;
}

.property__image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.property__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.property__description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #475569;
    line-height: 1.6;
}

.property__details p {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #64748b;
}

/* Offers Section */
.offers {
    background: #f8fafc;
    padding: 4rem 0;
    border-radius: 20px;
    margin-top: 3rem;
}

.offers__title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e293b;
}

.offers__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.offer {
    text-align: center;
    padding: 2rem;
}

.offer__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}


.offer__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.offer__description {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.contact__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1e293b;
    line-height: 1.3;
}

.contact__description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #475569;
    line-height: 1.7;
}

.contact__image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.contact__form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact__form {
    background: #f8fafc;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.form__group {
    margin-bottom: 2rem;
}

.form__label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: #8B5CF6;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__submit {
    background: #8B5CF6;
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.form__submit:hover {
    background: #7C3AED;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 2rem 0;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer__links {
    display: flex;
    gap: 2rem;
}

.footer__link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer__link:hover {
    opacity: 1;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-popup__content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.cookie-popup__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.cookie-popup__text {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #475569;
    line-height: 1.6;
}

.cookie-popup__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-popup__button {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.cookie-popup__button--accept {
    background: #8B5CF6;
    color: white;
}

.cookie-popup__button--accept:hover {
    background: #7C3AED;
    transform: translateY(-2px);
}

.cookie-popup__button--reject {
    background: #e5e7eb;
    color: #374151;
}

.cookie-popup__button--reject:hover {
    background: #d1d5db;
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

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

    .nav__toggle {
        display: flex;
    }

    .nav__toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .about__content,
    .contact__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .property {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .property:nth-child(even) {
        direction: ltr;
    }

    .offers__grid {
        grid-template-columns: 1fr;
    }

    .contact__form {
        padding: 2rem 1.5rem;
    }

    .footer__content {
        flex-direction: column;
        text-align: center;
    }

    .footer__links {
        flex-direction: column;
        gap: 1rem;
    }

    .cookie-popup {
        padding: 1rem;
    }

    .cookie-popup__content {
        padding: 1.5rem;
    }

    .cookie-popup__buttons {
        flex-direction: column;
        align-items: center;
    }

    .cookie-popup__button {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .about__title,
    .contact__title {
        font-size: 2rem;
    }

    .investments__title {
        font-size: 2.5rem;
    }

    .offers__title {
        font-size: 2rem;
    }

    .nav {
        padding: 0 15px;
    }
}

.main-section {
    padding: 5rem 0;
    padding-top: 6rem;
}

.btn-primary {
    background: #8B5CF6;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}