

:root {
    --primary: #231f20;
    --secondary: #cf8b4c;
    --light: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--primary);
    overflow-x: hidden;
    padding-top: 80px;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary);
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary);
    color: var(--light);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-accent {
    background: var(--primary);
}

.btn-accent:hover {
    background: var(--secondary);
}

.section {
    padding: 100px 0;
    display: block;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--primary);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

header.scrolled {
    background: var(--primary);
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--light);
    text-decoration: none;
    z-index: 1001;
}

.logo img {
    height: 40px;
    margin-right: 15px;
    border-radius: 4px;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary);
}

.mobile-menu {
    display: none;
    font-size: 24px;
    color: var(--light);
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--light);
    text-align: center;
    overflow: hidden;
    background: linear-gradient(rgba(35, 31, 32, 0.9), rgba(35, 31, 32, 0.8));
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--light);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--light);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.video-container {
    width: 80%;
    max-width: 900px;
    height: 400px;
    margin: 40px auto 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* About Section */
.about {
    background: var(--light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials {
    background: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--primary);
    color: var(--light);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-card:before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 30px;
    color: rgba(255, 255, 255, 0.1);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid var(--secondary);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    margin-bottom: 5px;
    color: var(--secondary);
}

.testimonial-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Apartments Section */
.apartments {
    background: var(--light);
}

.apartment-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-btn {
    padding: 12px 25px;
    background: var(--light);
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--secondary);
    color: var(--light);
    border-color: var(--secondary);
}

.apartment-content {
    display: none;
}

.apartment-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.apartment-details {
    display: flex;
    gap: 40px;
    align-items: center;
}

.apartment-info {
    flex: 1;
}

.apartment-image {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    position: relative;
}

.apartment-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.apartment-image:hover img {
    transform: scale(1.05);
}

.apartment-image::after {
    content: '\f00e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    opacity: 0;
    transition: var(--transition);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.apartment-image:hover::after {
    opacity: 1;
}

.specs-list {
    list-style: none;
    margin: 20px 0;
}

.specs-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.specs-list i {
    color: var(--secondary);
    margin-right: 10px;
}

/* Amenities Section */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.amenity-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.amenity-card:hover {
    transform: translateY(-5px);
}

.amenity-icon {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* Payment Section */
.payment {
    background: var(--light);
}

.payment-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
}

.payment-steps:before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary);
    z-index: 1;
}

.payment-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* Gallery Section */
.gallery {
    background: var(--light);
}

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

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-label {
    padding: 15px;
    background: var(--light);
    text-align: center;
    border-top: 1px solid rgba(35, 31, 32, 0.1);
}

.gallery-label h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

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

.gallery-image::after {
    content: '\f00e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    opacity: 0;
    transition: var(--transition);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.gallery-item:hover .gallery-image::after {
    opacity: 1;
}

/* Location Section */
.location-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.location-info {
    flex: 1;
}

.location-map {
    flex: 1;
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact Section */
.contact {
    background: var(--light);
}

.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
    background: var(--light);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    font-family: 'Montserrat', sans-serif;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.visit-office {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: var(--secondary);
    color: var(--light);
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 0.9rem;
    transition: var(--transition);
}

.visit-office:hover {
    background: var(--primary);
}

/* Form submission message */
.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: var(--radius);
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Work With Us Section */
.work-with-us {
    background: var(--light);
}

.work-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--primary);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.radio-group, .checkbox-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-group label, .checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-group input, .checkbox-group input {
    margin-right: 8px;
}

.conditional-field {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: rgba(207, 139, 76, 0.1);
    border-radius: var(--radius);
}

.conditional-field.active {
    display: block;
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--light);
    padding: 70px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h3 {
    color: var(--secondary);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary);
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background: #128C7E;
}

/* Image Preview Modal */
.image-preview {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.image-preview.active {
    opacity: 1;
    visibility: visible;
}

.preview-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    transform: scale(0.8);
    transition: var(--transition);
}

.image-preview.active .preview-container {
    transform: scale(1);
}

.preview-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.preview-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--light);
    font-size: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.preview-close:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

.preview-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light);
    font-size: 30px;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-nav:hover {
    color: var(--secondary);
    background: rgba(0, 0, 0, 0.8);
}

.preview-prev {
    left: -70px;
}

.preview-next {
    right: -70px;
}

.preview-caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--light);
    font-size: 18px;
    font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Single Page App Styles */
.section.hidden {
    display: none !important;
}

.section.active {
    display: block !important;
    min-height: calc(100vh - 80px);
    padding-top: 120px;
}

/* Back to Home Button */
.back-to-home {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: var(--primary);
    color: var(--light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 998;
    transition: var(--transition);
}

.back-to-home:hover {
    background: var(--secondary);
}

.back-to-home.visible {
    display: flex;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content,
    .apartment-details,
    .location-content,
    .contact-content {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .payment-steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .payment-steps:before {
        display: none;
    }
    
    .video-container {
        width: 90%;
        height: 300px;
    }

    .preview-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .preview-prev {
        left: -50px;
    }

    .preview-next {
        right: -50px;
    }
    
    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .section.active {
        padding-top: 100px;
    }
    
    .logo {
        font-size: 22px;
    }
    
    .logo img {
        height: 30px;
        margin-right: 10px;
    }
    
    .video-container {
        height: 250px;
    }

    .preview-nav {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .preview-prev {
        left: -40px;
    }

    .preview-next {
        right: -40px;
    }

    .preview-caption {
        font-size: 16px;
    }
    
    .work-form {
        padding: 20px;
    }
}

    