:root {
    --primary-font: 'Syne', sans-serif;
    --text-white: #ffffff;
    --text-dark: #1a1a1a;
    --olive: #9a8c78;
    --container-padding-desktop: 6rem;
    --container-padding-tablet: 4rem;
    --container-padding-mobile: 2rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background-color: var(--olive);
    color: var(--text-white);
}

body {
    font-family: var(--primary-font);
    line-height: 1.5;
    color: var(--text-dark);
}

body.no-scroll {
    overflow: hidden;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

a {
    text-decoration: none;
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: transparent;
    height: 100px;
    transition: all 0.3s ease-in-out;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 4rem;
    height: 80px;
}

.logo {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 500;
    display: flex;
    position: relative;
    z-index: 9999;
}

.logo svg {
    width: 80px;
    height: 80px;
}

nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    font-weight: 600
}

nav a {
    color: var(--text-white);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    font-family: 'Raleway'
}

.testimonial-content {
    display: none;
}

.testimonial-content.active {
    display: block;
}
.information-btn {
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    background-color: var(--olive);
    border: none;
    color: var(--text-white) !important;
    font-family: var(--primary-font);
    font-size: 0.9rem;
    font-weight: normal;
    cursor: pointer;
    border-radius: 80px;
    height: 50px;
    width: max-content;
    transition: all 0.3s ease;
}

.information-btn:hover {
    background-color: var(--text-dark);
}

.hamburger {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
                url('A70D27CE-72FE-4830-B51F-4070EAF725FC.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 0 6rem;
}

.hero-content {
    color: var(--text-white);
}

.hero-content h1 {
    font-size: 110px;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Inter';
}

.hero-content h2 {
    font-size: 4.5rem;
    font-weight: 200;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
}

.request-btn {
    display: flex;
    align-items: center;
    width: max-content;
    padding: 1rem 2rem;
    background-color: var(--text-white);
    border: none;
    color: var(--text-dark);
    font-family: var(--primary-font);
    font-size: 1rem;
    cursor: pointer;
    height: 70px;
    border-radius: 80px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
}

.request-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #000000;
    transition: width 0.3s ease;
    z-index: -1;
}

.request-btn:hover::before {
    width: 100%;
}

.request-btn:hover {
    color: var(--text-white);
    transition: color 0.3s ease;
}

/* Apartment Preview Section */
.apartment-preview {
    padding: 6rem;
    background-color: #fdfbf6; /* Cream/beige background color */
}

.preview-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: center;
}

.preview-text {
    flex: 1;
}

.subtitle {
    color: var(--text-dark);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1.5rem;
    font-family: 'Raleway';
}

.preview-text h2 {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-family: 'Inter';
}

.preview-text p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 90%;
    font-family: 'Raleway';
}

.preview-text .request-btn {
    background-color: #1a1a1a;
    color: var(--text-white);
    padding: 1rem 2rem;
    border: none;
    font-family: var(--primary-font);
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.preview-text .request-btn:hover {
    background-color: #333;
}

.preview-image {
    flex: 1;
    height: 600px; /* Adjust based on your needs */
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Apartment Showcase Section */
.apartment-showcase {
     padding: 4rem 6rem;
    background-color: #ffffff;
    max-width: 1700px;
    margin: auto;
}

.showcase-content {
  margin: 0 67px;
  margin-bottom: 60px
}

.category {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-dark);
    display: block;
    margin-bottom: 1rem;
}

.showcase-content h2 {
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-family: 'Inter';
}

.showcase-content p {
    font-size: 1rem;
    color: var(--text-dark);
    font-family: 'Raleway';
    margin-top: 10px;
    margin-bottom: 25px;
}

/* Image Slider */
.image-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 700px; /* Reduced height */
   
}

.slider-container {
    flex: 1;
    border-radius: 8px;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: grid;
    grid-auto-flow: column;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    grid-template-columns: repeat(4, 1fr);
    padding: 0;
    grid-gap: 20px;
    margin: auto;
    scroll-snap-type: x mandatory;
    height: 100%;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.slide {
    display: flex;
    height: 100%;
    vertical-align: top;
    scroll-snap-align: start;
}

.slide img {
    width: 800px;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.slider-nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    transition: all 0.3s ease;
    z-index: 2;
}

.slider-nav.prev {
    opacity: 0;
    visibility: hidden;
}

.slider-nav:hover {
    background: #f5f5f5;
}

/* Footer Styles */
.footer {
    background-color: #ffffff;
    padding: 4rem 6rem 2rem;
    color: #333;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-left {
    max-width: 400px;
}

.footer-left .logo {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-family: 'Raleway';
}

.newsletter p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #666;
    font-family: 'Raleway';
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 0.9rem;
}

.join-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--text-dark);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.privacy-note {
    font-size: 0.8rem !important;
    color: #999 !important;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h3 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-family: 'Raleway';
}

.footer-column ul {
    list-style: none;
    padding: 0;
    font-family: 'Raleway';
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: #666;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--text-dark);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links svg {
    width: 20px;
    height: 20px;
    color: #000;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #666;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #666;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--text-dark);
}

/* Contact Section Styles */
.contact-section {
    background-color: #000;
    color: #fff;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* Left side - Image and Testimonial */
.contact-image {
    position: relative;
    height: 100%;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.testimonial-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
}

.testimonial-text {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 2rem;
    font-family: 'Raleway';
}

.testimonial-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.nav-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: rgba(255,255,255,0.1);
}

.testimonial-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.detail-value {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Right side - Contact Form */
.contact-form {
    padding: 4rem;
    display: flex;
    flex-direction: column;
}

.contact-form h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
    font-family: 'Raleway';
}

.contact-form p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
}

form {
    position: relative;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: #000;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    color: var(--text-white);
    font-size: 1rem;
    font-family: 'Raleway';
}

.form-group input.empty, .form-group textarea.empty {
    border: 1px solid #d93025 !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

.form-message {
    text-align: center;
    color: #47a947;
}

.form-error-message {
    text-align: center;
    color: #d93025;
}

.form-message.show, .form-error-message.show{
    padding-bottom: 15px;
}

.submitting-form-section {
    position: absolute;
    top: 0px;
    display: none;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, .8);
}

.submitting-form-section.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.submitting-form-section p {
    color: var(--text-white);;
}

.phone-group {
    display: flex;
    gap: 1rem;
}

.phone-group select {
    width: 100px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #f0f0f0;
}

.form-footer {
    text-align: center;
    font-size: 0.9rem;
}

.form-footer a {
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.why-choose-section {
    background-color: #fdfbf6;
    padding: 6rem;
}

.why-choose {
    max-width: 1400px;
    margin: 0 auto;
}

.why-choose h2 {
    text-align: center;
    font-size: 4rem;
    color: #000;
    margin-bottom: 60px;
    font-family: 'Inter';
    font-weight: 400;
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-card .icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #0CC0DF;
    transition: all 0.3s ease;
}

.feature-card:hover .icon {
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 15px;
    font-family: 'Inter';
    font-weight: 400;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
    }
    to {
        transform: translateY(0);
    }
}

.animate-text {
    animation: slideUp 0.8s ease-out forwards;
}

.brochure-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.brochure-popup-overlay.active {
    display: flex;
}

.brochure-popup-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    position: relative;
    width: 90%;
    max-width: 500px;
    color: #333;
}

.brochure-popup-content p {
    padding-bottom: 20px;
}

.close-brochure-popup {
    position: absolute;
    right: 20px;
    top: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-dark);
}

.brochure-popup-overlay .form-group input, .brochure-popup-overlay .form-group select, .brochure-popup-overlay .form-group textarea {
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
    background-color: transparent;
}

.brochure-popup-overlay .form-group input::placeholder, .brochure-popup-overlay .form-group select::placeholder, .brochure-popup-overlay .form-group textarea::placeholder {
    color: var(--olive);
}

.submit-btn.brochure {
    background-color: var(--text-dark);
    color: var(--text-white);
    margin: 0;
}

.brochure-popup-content .submitting-form-section {
    background-color: rgba(255, 255, 255, .9);
}

.brochure-popup-content .submitting-form-section p{
    color: var(--text-dark);
}

/* Smooth scroll for entire page */
html {
    scroll-behavior: smooth;
}

/* Remove all existing animation classes and keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Simple fade-in animation for sections */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

/* Add animation delays */
.delay-200 {
    animation-delay: 0.2s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-600 {
    animation-delay: 0.6s;
}

/* Remove existing complex transitions */
* {
    transition: all 0.3s ease;
}

/* Add GPU acceleration for smoother animations */
.fade-in {
    will-change: opacity, transform;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}

/* Responsive Typography */
@media (max-width: 1200px) {
    html {
        font-size: 95%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 90%;
    }
}

/* Header Responsive Updates */
@media (max-width: 1024px) {
    /* header {
        padding: 1.5rem var(--container-padding-tablet);
    } */
}

@media (max-width: 768px) {
    header {
        padding: 1rem var(--container-padding-mobile);
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    nav a {
        color: var(--text-dark) !important;
    }

    nav.active {
        right: 0;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background-color: var(--text-white);
        margin: 5px 0;
        transition: 0.3s;
    }

    .hamburger.scrolled span{
        background-color: var(--text-dark);
    }

    .hamburger.active span{
        background-color: var(--text-dark);
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer {
        padding: 3rem var(--container-padding-tablet) 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-left {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem var(--container-padding-mobile) 1.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1.5rem 2rem;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-left {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 2rem 1.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .join-btn {
        width: 100%;
    }
}

@media (max-width: 1200px) {
    .slide img {
        width: 600px;
    }
}

@media (max-width: 1020px) {
    .hero {
        padding: 0rem 4rem;
    }
    .hero h1 {
        font-size: 80px;
    }
    .hero h2 {
        font-size: 60px;
    }
    .apartment-preview, .apartment-showcase, .why-choose-section {
        padding: 4rem;
    }
    .image-slider {
        height: 650px;
    }
    .slide img {
        width: 500px;
    }
}

@media (max-width: 900px) {
    .preview-content {
        flex-direction: column;
        gap: 3rem;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 795px) {
    .hero {
        padding: 0rem 3rem;
    }
    .hero h1 {
        font-size: 70px;
    }

    .hero h2 {
        font-size: 50px;
    }

    .image-slider {
        height: 500px;
    }

    .slide img {
        width: 400px;
    }

    .apartment-preview, .apartment-showcase, .why-choose-section, .contact-form {
        padding: 3rem;
    }
}

@media (max-width: 700px) {
    .hero {
        padding: 0rem 2rem;
    }
    .hero h1 {
        font-size: 50px;
    }

    .hero h2 {
        font-size: 30px;
    }

    .hero p {
        font-size: 20px;
    }

    .request-btn {
        height: 60px;
    }

    .preview-text h2, .showcase-content h2, .why-choose h2, .contact-form h2 {
        font-size: 2rem;
    }

    .showcase-content p {
        margin-bottom: 20px;
    }

    .preview-text p {
        font-size: 1rem;
    }
    .apartment-preview, .apartment-showcase, .why-choose-section, .contact-form, .testimonial-overlay {
        padding: 3rem 2rem;
    }
    .showcase-content {
        margin: 0px;
        padding-bottom: 60px;
    }
    .contact-image {
        height: 450px;
    }
    .slider-nav {
        display: none;
    }
    .slide {
        scroll-snap-align: unset;
    }
    .slide img {
        height: 80vw;
        width: 70vw;
    }
    .image-slider {
        height: 100%;
    }

    .contact-container {
        display: block;
    }
}

@media (max-width: 600px) {
    
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .brochure-popup-content {
        padding: 30px;
    }

    .phone-group.select {
        width: 80px;
    }
}

/* Text highlight animation */
.highlight-animation {
    opacity: 0;
    position: relative;
    background: linear-gradient(
        to right,
        #666 0%,
        #353333 10%,
        #666 20%,
        #131212 50%,
        #000 50%,
        #000 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 2.5s ease-out; /* Increased duration to 2.5s */
    font-weight: 400; /* Making text bolder */
}

.highlight-animation.animate {
    opacity: 1;
    background-position: -100% 0;
}

