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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

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

.nav-brand a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.brand-text {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.brand-subtitle {
    font-size: 18px;
    font-weight: 400;
}



.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: #666;
}

.nav-dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 20px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 8px 0;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: color 0.3s ease;
}

.dropdown-content a:hover {
    color: #666;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-language {
    display: flex;
    gap: 10px;
}

.lang-link {
    text-decoration: none;
    color: #666;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-link.active,
.lang-link:hover {
    color: #333;
    background: #f0f0f0;
}

.nav-auth {
    display: flex;
    gap: 15px;
    align-items: center;
}

.auth-btn {
    text-decoration: none;
    color: #333;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    background: transparent;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: azureBlink 3s ease-in-out infinite;
}

.auth-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #333;
    transition: left 0.4s ease;
    z-index: -1;
}

.auth-btn:hover::before {
    left: 0;
}

.auth-btn:hover {
    border-color: #333;
    color: white;
    transform: translateY(-2px);
    animation-play-state: paused;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -2px;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
}

.title-line.highlight {
    font-weight: 600;
    font-style: italic;
}

.hero-images {
    flex: 1;
    max-width: 600px;
}

.hero-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.hero-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    transition: transform 0.3s ease;
}

.hero-img:nth-child(1) { animation-delay: 0.5s; }
.hero-img:nth-child(2) { animation-delay: 0.6s; }
.hero-img:nth-child(3) { animation-delay: 0.7s; }
.hero-img:nth-child(4) { animation-delay: 0.8s; }
.hero-img:nth-child(5) { animation-delay: 0.9s; }
.hero-img:nth-child(6) { animation-delay: 1.0s; }

.hero-img:hover {
    transform: translateY(-10px) scale(1.02);
}

/* About Section */
.about {
    padding: 100px 20px;
    background: white;
}

.section-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

.about-content {
    max-width: 800px;
    margin-bottom: 80px;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}

.apartment-links {
    display: flex;
    gap: 60px;
}

.apartment-link {
    text-decoration: none;
    color: #262525;
    display: inline-block;
    padding: 20px 30px;
    border-radius: 50px;
    background: transparent;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: azureBlink 3s ease-in-out infinite;
}

.apartment-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #333;
    transition: left 0.4s ease;
    z-index: -1;
}

.apartment-link:hover::before {
    left: 0;
}

.apartment-link h3 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -1px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.apartment-link:hover {
    border-color: #333;
    color: rgb(254, 254, 254);
    transform: translateY(-2px);
    animation-play-state: paused;
}

.apartment-link:hover h3 {
    color: rgb(255, 255, 255);
    transform: translateX(10px);
}

/* Gallery Section */
.gallery {
    padding: 100px 20px;
    background: #f8f8f8;
}

.gallery-tabs {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.gallery-tab {
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    transition: all 0.4s ease;
    letter-spacing: -0.5px;
    padding: 15px 25px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    animation: azureBlink 3s ease-in-out infinite;
}

.gallery-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #333;
    transition: left 0.4s ease;
    z-index: -1;
}

.gallery-tab:hover::before {
    left: 0;
}

.gallery-tab:hover {
    color: white;
    border-color: #333;
    transform: translateY(-2px);
    animation-play-state: paused;
}

.gallery-tab.active {
    color: #333;
    background: #f0f0f0;
    border-color: #e0e0e0;
}

.gallery-tab.active:hover {
    color: rgb(124, 118, 118);
    background: #333;
    border-color: #333;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    transition: opacity 0.5s ease;
}

.gallery-grid.hidden {
    display: none;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes azureBlink {
    0%, 100% {
        border-color: transparent;
        box-shadow: none;
    }
    50% {
        border-color: rgba(124, 118, 118, 0.8);
        box-shadow: 0 0 15px rgba(124, 118, 118, 0.4);
    }
}

/* Amenities Section */
.amenities {
    padding: 100px 20px;
    background: white;
}

.amenities-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 60px;
    font-style: italic;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.amenity-item:hover {
    background: #f0f0f0;
    transform: translateY(-5px);
}

.amenity-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
}

.amenity-item span {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.book-now-section {
    text-align: center;
}

.book-now-btn {
    display: inline-block;
    padding: 20px 40px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.book-now-btn:hover {
    background: #555;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 80px 20px 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 5px;
}

.footer-brand p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 10px;
}



.contact-item {
    margin-bottom: 25px;
}

.contact-label {
    display: block;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #ccc;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-section h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 2px;
    color: #ccc;
}


.footer-section a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ccc;
}

.footer-section span {
    color: #999;
    font-size: 14px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid #555;
}

.footer-bottom p {
    color: #999;
    font-size: 14px;
}

.footer-credit {
    color: #999;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-credit:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 40px;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero-image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .nav-menu {
        display: none;
    }

    .nav-right {
        gap: 15px;
    }

    .nav-auth {
        gap: 10px;
    }

    .auth-btn {
        padding: 6px 15px;
        font-size: 11px;
    }

    .apartment-links {
        flex-direction: column;
        gap: 30px;
    }

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

    .amenities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
