/* ==============================================
   RESET & BASE STYLES
   ============================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a3a5f;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #c19a5b;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 20px auto 0;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background-color: #c19a5b;
    color: white;
}

.btn-primary:hover {
    background-color: #a88447;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(193, 154, 91, 0.2);
}

/* ==============================================
   HEADER & NAVIGATION
   ============================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a3a5f;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: #c19a5b;
}

.logo img {
    height: 45px;
    width: auto;
    margin-right: 12px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo img {
        height: 35px;
        margin-right: 8px;
    }
}

/* Navigation Desktop */
.nav-desktop ul {
    display: flex;
    list-style: none;
}

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

.nav-desktop a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-desktop a:hover,
.nav-desktop a.active {
    color: #c19a5b;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #c19a5b;
    transition: width 0.3s ease;
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
    width: 100%;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: #1a3a5f;
    transition: all 0.3s ease;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation Mobile */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.4s ease;
    padding: 80px 30px 30px;
}

.nav-mobile.active {
    right: 0;
}

.nav-mobile ul {
    list-style: none;
}

.nav-mobile li {
    margin-bottom: 20px;
}

.nav-mobile a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
}

.nav-mobile a:hover,
.nav-mobile a.active {
    color: #c19a5b;
}

/* ==============================================
   HERO SECTION & CAROUSEL
   ============================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

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

.carousel-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.carousel-btn.prev {
    left: 30px;
}

.carousel-btn.next {
    right: 30px;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #fff;
    transform: scale(1.2);
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==============================================
   ABOUT SECTION
   ============================================== */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.7;
}

.about-text strong {
    color: #1a3a5f;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

/* ==============================================
   PROPERTIES SECTION
   ============================================== */

.properties {
    background-color: #f8f9fa;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.property-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #c19a5b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.5rem;
    color: #1a3a5f;
    margin-bottom: 15px;
}

.card-content p {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.property-features {
    list-style: none;
    margin-top: auto;
}

.property-features li {
    margin-bottom: 8px;
    color: #555;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
}

.property-features i {
    color: #c19a5b;
    margin-right: 8px;
    margin-top: 2px;
    font-size: 0.8rem;
}

/* ==============================================
   CONTACT SECTION
   ============================================== */

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form-container {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c19a5b;
}

.form-confirmation {
    text-align: center;
    padding: 40px 20px;
    display: none;
}

.form-confirmation i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.form-confirmation h3 {
    color: #1a3a5f;
    margin-bottom: 15px;
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info,
.map-container {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info h3,
.map-container h3 {
    color: #1a3a5f;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c19a5b;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-details h4 {
    color: #333;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-details p {
    color: #666;
    line-height: 1.5;
}

.contact-details a {
    color: #666;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
}

.contact-details a:hover {
    color: rgb(255, 149, 0);
}

.map-wrapper {
    margin-top: 15px;
}

.map-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
}

/* ==============================================
   FOOTER
   ============================================== */

.footer {
    background-color: #1a3a5f;
    color: white;
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand p {
    margin: 15px 0 20px;
    color: #b0c4d9;
    line-height: 1.6;
}

.footer-brand a {
    color: wheat;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-brand a:hover {
    color: goldenrod;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #c19a5b;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #c19a5b;
}

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

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

.footer-links a {
    color: #b0c4d9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #b0c4d9;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* ==============================================
   RESPONSIVE STYLES
   ============================================== */

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header .container {
        padding: 15px 20px;
    }

    .nav-desktop {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .hero {
        min-height: 600px;
        margin-top: 60px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .properties-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-btn.prev {
        left: 15px;
    }

    .carousel-btn.next {
        right: 15px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 24px;
    }

    .contact-form-container,
    .contact-info,
    .map-container {
        padding: 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

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