:root {
    --dark-brown: #2a1a12;
    --light-brown: #3c2a1e;
    --black: #121212;
    --orange: #F7931E;
    --gold: #FFD700;
    --cream: #f9f4e8;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-brown);
    color: var(--cream);
    line-height: 1.8;
}

.navbar {
    background-color: rgba(42, 26, 18, 0.95);
    padding: 0 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    min-height: 72px;
    height: 72px;
    display: flex;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 22px;
    background: linear-gradient(to right, var(--orange), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 5px 0;
}

.navbar-toggler {
    border: none;
    background: linear-gradient(to right, var(--orange), var(--gold));
    padding: 8px 12px;
    border-radius: 4px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(42, 26, 18, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
    color: var(--cream) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s;
    padding: 10px 5px;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--orange), var(--gold));
    bottom: 5px;
    left: 0;
    transition: width 0.3s;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
}

.hero {
    min-height: 100vh;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
    margin-bottom: 60px;
    text-align: center;
    display: flex;
    align-items: center;
    position: relative;
    transition: background-image 0.8s cubic-bezier(0.4,0,0.2,1);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: linear-gradient(to right, var(--orange), var(--gold));
    bottom: -10px;
    left: 20%;
}

.section-title {
    color: var(--gold);
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 2px;
    background: linear-gradient(to right, var(--orange), var(--gold));
    bottom: -10px;
    left: 0;
}

.apartment-section {
    background-color: var(--light-brown);
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.apartment-section:hover {
    transform: translateY(-5px);
}

.apartment-title {
    color: var(--orange);
    font-size: 2rem;
    margin-bottom: 20px;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature i {
    color: var(--gold);
    margin-right: 10px;
    font-size: 20px;
    min-width: 25px;
    text-align: center;
}

.btn-custom {
    background: linear-gradient(to right, var(--orange), var(--gold));
    border: none;
    color: var(--dark-brown);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(247, 147, 30, 0.3);
    transition: all 0.3s;
    display: inline-block;
}

.btn-custom:hover, .btn-custom:focus {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(247, 147, 30, 0.4);
    color: var(--dark-brown);
}

.btn-custom-payment{
    background: linear-gradient(to right, var(--orange), var(--gold));
    border: none;
    color: var(--dark-brown);
    font-weight: 600;
    padding: 4px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(247, 147, 30, 0.3);
    transition: all 0.3s;
    display: inline-block;
}

.btn-custom-payment:hover, .btn-custom-payment:focus {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(247, 147, 30, 0.4);
    color: var(--dark-brown);
}

.intro-section {
    padding: 60px 0;
}

.intro-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.highlight {
    color: var(--gold);
    font-weight: 500;
}

.footer {
    background-color: var(--black);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-title {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--orange);
    margin-right: 10px;
    font-size: 18px;
    min-width: 20px;
    margin-top: 5px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(247, 147, 30, 0.1);
    transition: all 0.3s;
    margin-right: 15px;
    margin-bottom: 15px;
}

.social-icons a:hover {
    background-color: rgba(247, 147, 30, 0.2);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(249, 244, 232, 0.7);
}

.apt-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    height: 0;
    padding-top: 66.67%; /* 2:3 aspect ratio */
}

.apt-img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.apt-img-container img:hover {
    transform: scale(1.05);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--orange), var(--gold));
    color: var(--dark-brown);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Logo styles */
.logo-container {
    max-height: 120px;
    width: auto;
    margin-right: -25px;
    vertical-align: middle;
    display: inline-block;
    object-fit: contain;
    transition: max-height 0.2s;
}

p {
    text-align: justify;
}

.lead {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}

/* Studio Apartment Carousel Styles */
.studio-carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 40px auto;
    position: relative;
    background: rgba(60, 42, 30, 0.7);
    border-radius: 10px;
    padding: 16px 0;
    overflow: hidden;
}

.studio-carousel-track {
    display: flex;
    gap: 16px;
    overflow: hidden;
    width: 100%;
    justify-content: center;
    transition: all 0.3s;
}

.studio-carousel-img {
    width: 100%;
    height: 260px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s;
    background: #222;
}

.carousel-arrow {
    background: linear-gradient(to right, var(--orange), var(--gold));
    border: none;
    color: var(--dark-brown);
    font-size: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: relative;
}

.carousel-arrow.left {
    margin-right: 12px;
}

.carousel-arrow.right {
    margin-left: 12px;
}

/* Deluxe Carousel Styles */
.deluxe-carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 40px auto;
    position: relative;
    background: rgba(60, 42, 30, 0.7);
    border-radius: 10px;
    padding: 16px 0;
    overflow: hidden;
}

.deluxe-carousel-track {
    display: flex;
    gap: 16px;
    overflow: hidden;
    width: 100%;
    justify-content: center;
    transition: all 0.3s;
}

.deluxe-carousel-img {
    width: 100%;
    height: 260px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s;
    background: #222;
}

.deluxe-carousel-arrow {
    background: linear-gradient(to right, var(--orange), var(--gold));
    border: none;
    color: var(--dark-brown);
    font-size: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: relative;
}

.deluxe-carousel-arrow.left {
    margin-right: 12px;
}

.deluxe-carousel-arrow.right {
    margin-left: 12px;
}

/* Two Bedroom Carousel Styles */
.two-bedroom-carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 40px auto;
    position: relative;
    background: rgba(60, 42, 30, 0.7);
    border-radius: 10px;
    padding: 16px 0;
    overflow: hidden;
}

.two-bedroom-carousel-track {
    display: flex;
    gap: 16px;
    overflow: hidden;
    width: 100%;
    justify-content: center;
    transition: all 0.3s;
}

.two-bedroom-carousel-img {
    width: 100%;
    height: 260px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s;
    background: #222;
}

.two-bedroom-carousel-arrow {
    background: linear-gradient(to right, var(--orange), var(--gold));
    border: none;
    color: var(--dark-brown);
    font-size: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: relative;
}

.two-bedroom-carousel-arrow.left {
    margin-right: 12px;
}

.two-bedroom-carousel-arrow.right {
    margin-left: 12px;
}

/* Three Bedroom Carousel Styles */
.three-bedroom-carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 40px auto;
    position: relative;
    background: rgba(60, 42, 30, 0.7);
    border-radius: 10px;
    padding: 16px 0;
    overflow: hidden;
}

.three-bedroom-carousel-track {
    display: flex;
    gap: 16px;
    overflow: hidden;
    width: 100%;
    justify-content: center;
    transition: all 0.3s;
}

.three-bedroom-carousel-img {
    width: 100%;
    height: 260px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s;
    background: #222;
}

.three-bedroom-carousel-arrow {
    background: linear-gradient(to right, var(--orange), var(--gold));
    border: none;
    color: var(--dark-brown);
    font-size: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: relative;
}

.three-bedroom-carousel-arrow.left {
    margin-right: 12px;
}

.three-bedroom-carousel-arrow.right {
    margin-left: 12px;
}

/* Enhanced Responsive adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: rgba(42, 26, 18, 0.98);
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 15px;
        margin: 0;
        border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(247, 147, 30, 0.1);
    }
    
    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    
    .apartment-section {
        padding: 25px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .studio-carousel-img, .deluxe-carousel-img, 
    .two-bedroom-carousel-img, .three-bedroom-carousel-img {
        height: 180px;
    }
    
    .studio-carousel-track, .deluxe-carousel-track,
    .two-bedroom-carousel-track, .three-bedroom-carousel-track {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .hero {
        padding: 90px 0;
        min-height: 70vh;
        height: 70vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .apartment-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .apartment-title {
        font-size: 1.6rem;
    }
    
    .intro-section {
        padding: 40px 0;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .footer {
        padding: 40px 0 20px;
        margin-top: 50px;
    }
    
    .footer-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .btn-custom {
        padding: 10px 25px;
    }
    
    .apt-row {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero {
        min-height: 60vh;
        height: 60vh;
    }
    
    .apartment-title {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .feature {
        margin-bottom: 10px;
    }
    
    .feature i {
        font-size: 18px;
    }
    
    .apartment-section {
        padding: 15px;
        margin-bottom: 25px;
    }
    
    .footer-contact li {
        font-size: 14px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 20px;
        right: 15px;
        bottom: 15px;
    }
    
    .logo-container {
        max-height: 72px;
        margin-right: -15px;
    }
    
    .studio-carousel-img, .deluxe-carousel-img,
    .two-bedroom-carousel-img, .three-bedroom-carousel-img {
        height: 140px;
    }
    
    .studio-carousel-track, .deluxe-carousel-track,
    .two-bedroom-carousel-track, .three-bedroom-carousel-track {
        gap: 0;
    }
    
    .carousel-arrow, .deluxe-carousel-arrow,
    .two-bedroom-carousel-arrow, .three-bedroom-carousel-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.5rem;
    }
    
    .studio-carousel-container, .deluxe-carousel-container,
    .two-bedroom-carousel-container, .three-bedroom-carousel-container {
        padding: 8px 0;
    }
}

/* Additional touch-friendly enhancements */
@media (max-width: 991px) {
    .feature, .social-icons a, .btn-custom, .navbar-nav .nav-link {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Increase touch target sizes */
    .feature {
        padding: 5px 0;
    }
    
    .social-icons a {
        width: 45px;
        height: 45px;
    }
    
    /* Improve readability */
    .intro-text p {
        margin-bottom: 16px;
    }
}