:root {
    --gold: #D4AF37;
    --gold-light: #E5C76B;
    --dark: #1A1A1A;
    --dark-blue: #141920;
    --light: #FFFFFF;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
}

body {
    line-height: 1.6;
    color: #fff;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
    backdrop-filter: blur(5px);
}

.logo {
    height: 100px;
    width: auto;
}

nav {
    display: flex;
    gap: 3rem;
    margin-left: auto;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 300;
    font-size: 0.85rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--gold);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: all 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1000;
}

.menu-toggle .burger-icon {
    width: 100%;
    height: 100%;
}

.menu-toggle.active .burger-icon {
    opacity: 0;
}

.close-button {
    display: none;
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    z-index: 1001;
    background: var(--gold);
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.close-button:hover {
    background: var(--gold-light);
    transform: scale(1.1);
}

.close-button svg {
    width: 24px;
    height: 24px;
}

.mobile-nav.active ~ .close-button {
    display: flex;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(20, 25, 32, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transform: translateX(100%);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav a {
    color: var(--light);
    text-decoration: none;
    font-size: 1.5rem;
    margin: 1rem 0;
    font-weight: 300;
    letter-spacing: 3px;
    transition: var(--transition);
}

.mobile-nav a:hover {
    color: var(--gold);
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.4)),
                url('../img/hero.jpg') center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 200;
    letter-spacing: 4px;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 200;
    letter-spacing: 3px;
    margin-bottom: 3rem;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background-color: var(--gold-light);
}

.hero-footer {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 0 2rem;
}

.hero-ref {
    opacity: 0.8;
}

.hero-award {
    text-align: center;
    line-height: 1.6;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .hero-footer {
        bottom: 3rem;
        gap: 3rem;
    }
    
    .hero-award {
        margin-top: 2rem;
    }
}

.about-section {
    background-color: var(--dark-blue);
    padding: 8rem 4rem;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-title {
    font-size: 2rem;
    font-weight: 200;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.about-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    margin-bottom: 3rem;
}

.btn-group {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.secondary-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid var(--light);
    color: var(--light);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 300;
    transition: var(--transition);
}

.secondary-btn:hover {
    background-color: var(--light);
    color: var(--dark-blue);
}

.locations {
    padding: 8rem 4rem;
    background-color: #FFFFFF;
    color: #1A1A1A;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.locations-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.locations-title {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: #1A1A1A;
}

.locations-text {
    font-weight: 300;
    color: #1A1A1A;
    font-size: 0.95rem;
}

.locations-container {
    position: relative;
    max-width: 1400px;
    margin: 4rem auto 0;
    padding: 0 2rem;
}

.location-carousel {
    width: 100%;
    overflow: hidden;
    padding: 0 1rem;
}

.location-grid {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
}

.location-item {
    flex: 0 0 calc(33.333% - 1.33rem);
    min-width: calc(33.333% - 1.33rem);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.carousel-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

@media (min-width: 769px) {
    .locations-container {
        padding: 0 4rem;
    }
    
    .location-carousel {
        padding: 0;
    }

    .carousel-button {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .carousel-prev {
        left: -1rem;
    }

    .carousel-next {
        right: -1rem;
    }
}

@media (max-width: 768px) {
    .location-item {
        flex: 0 0 calc(100% - 2rem);
        min-width: calc(100% - 2rem);
    }
}

.location-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.location-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.7));
    z-index: 1;
}

.location-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition);
}

.location-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.location-name {
    position: absolute;
    bottom: 2rem;
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 3px;
    z-index: 2;
    color: var(--light);
}

.listings {
    padding: 8rem 4rem;
    background-color: var(--light);
    color: var(--dark);
}

.listings-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.listings-title {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.listings-text {
    font-weight: 300;
    color: rgba(0,0,0,0.7);
    font-size: 0.95rem;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.listing-item {
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.listing-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.listing-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.listing-content {
    padding: 2rem;
}

.listing-title {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.listing-location {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.listing-price {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.listing-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--dark);
    color: var(--light);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.featured-project {
    padding: 8rem 4rem;
    background-color: var(--light);
    color: var(--dark);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

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

.project-text {
    max-width: 500px;
}

.project-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.project-description {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(0,0,0,0.7);
    margin-bottom: 2rem;
}

.project-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.about-dark {
    background-color: var(--dark);
    padding: 8rem 4rem;
    text-align: center;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                    url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?q=80&w=2053&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about-dark h2 {
    font-size: 3rem;
    font-weight: 200;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.buying-guide {
    background-color: var(--dark-blue);
    padding: 8rem 4rem;
    text-align: center;
    color: var(--light);
}

.buying-guide h2 {
    font-size: 2.5rem;
    font-weight: 200;
    margin-bottom: 1.5rem;
}

.buying-guide p {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: rgba(255,255,255,0.9);
}

.journal {
    padding: 8rem 4rem;
    background-color: var(--light);
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-top: 4rem;
}

.journal-item {
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.journal-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.journal-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.journal-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.journal-content h3 {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    color: var(--dark);
    line-height: 1.4;
}

.journal-category {
    display: inline-block;
    color: var(--gold);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 3px;
    align-self: flex-start;
}

.journal-content .secondary-btn {
    margin-top: auto;
    align-self: flex-start;
    color: var(--dark);
    border-color: var(--dark);
}

.journal-content .secondary-btn:hover {
    background-color: var(--dark);
    color: var(--light);
}

footer {
    background-color: var(--dark-blue);
    padding: 4rem;
    color: var(--light);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    color: var(--light);
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--gold);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    line-height: 1.8;
}


@media (max-width: 1024px) {
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    header > *:not(:first-child) {
        margin-left: 15px;
    }

    .logo {
        height: 60px;
    }

    .menu-toggle {
        display: block;
    }

    .language-switcher {
        margin-left: auto;
        margin-right: 30px;
    }

    nav {
        display: none;
    }

    .hero {
        height: 90vh;
    }

    .hero h1 {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }

    .hero h2 {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }

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

    .hero-btn {
        width: 100%;
        text-align: center;
    }

    .about-section,
    .locations,
    .listings,
    .featured-project,
    .about-dark,
    .buying-guide,
    .journal {
        padding: 4rem 1.5rem;
    }

    .about-title {
        font-size: 1.6rem;
    }

    .listings-grid,
    .project-content,
    .journal-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .listings-title,
    .project-title {
        font-size: 1.6rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }

    .footer-logo {
        margin: 0 auto 1rem;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-links a,
    .footer-contact {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .about-title,
    .listings-title,
    .project-title {
        font-size: 1.4rem;
    }
}