/* ============================================
   BEST STRUCT REAL ESTATE - MAIN STYLESHEET
   ============================================ */

:root {
    --primary-green: #2ecc71;
    --dark-black: #000000;
    --secondary-green: #27ae60;
    --light-gray: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   NAVBAR STYLES
   ============================================ */

.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    max-height: 50px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo-img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-link.active {
    color: var(--primary-green) !important;
}

/* ============================================
   HERO SLIDER STYLES
   ============================================ */

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.slide-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    animation: slideInUp 0.8s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 0.8s ease;
}

.slide-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.btn-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    font-weight: 600;
    padding: 12px 40px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-primary:hover {
    background-color: var(--secondary-green);
    border-color: var(--secondary-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.3);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-green);
    background-color: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

.swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.5);
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-green);
}

/* ============================================
   SECTION STYLES
   ============================================ */

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.highlight {
    color: var(--primary-green);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

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

.featured-properties {
    padding: 80px 0;
    background-color: var(--white);
}

.property-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

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

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

.property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.property-badge.hot {
    background-color: #e74c3c;
}

.property-badge.premium {
    background-color: #f39c12;
}

.property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.property-card:hover .property-overlay {
    opacity: 1;
}

.property-body {
    padding: 20px;
}

.property-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.property-location {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.property-features {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.property-features span {
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-features i {
    color: var(--primary-green);
}

.property-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    width: 100%;
}

.property-footer .btn {
    width: 100% !important;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-green);
    margin: 0;
    display: none;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.service-card {
    background-color: var(--white);
    padding: 40px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    animation: fadeInUp 0.6s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 204, 113, 0.2);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2);
}

.service-card h5 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, var(--dark-black) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 60px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-green);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background-color: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px);
}

/* ============================================
   PAGE HEADER STYLES
   ============================================ */

.page-header {
    background: linear-gradient(135deg, var(--dark-black) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

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

.properties-section {
    padding: 60px 0;
}

.filters {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 12px;
}

.form-select,
.form-control {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    font-family: 'Outfit', sans-serif;
    transition: border-color 0.3s ease;
}

.form-select:focus,
.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(46, 204, 113, 0.25);
}

.btn-success {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: var(--secondary-green);
    border-color: var(--secondary-green);
    transform: translateY(-2px);
}

.btn-outline-success {
    color: var(--primary-green);
    border-color: var(--primary-green);
    transition: all 0.3s ease;
}

.btn-outline-success:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
}

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

.about-section {
    padding: 80px 0;
}

.about-section img {
    animation: fadeInLeft 0.8s ease;
}

.about-section h2 {
    animation: fadeInRight 0.8s ease;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-section {
    background-color: var(--primary-green);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    margin: 0;
}

/* ============================================
   VALUES SECTION
   ============================================ */

.values-section {
    padding: 80px 0;
}

.value-card {
    background-color: var(--white);
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 204, 113, 0.2);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.value-card h5 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* ============================================
   TEAM SECTION
   ============================================ */

.team-section {
    padding: 80px 0;
}

.team-card {
    animation: fadeInUp 0.6s ease;
}

.team-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

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

.team-role {
    color: var(--primary-green);
    font-weight: 600;
}

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

.contact-section {
    padding: 80px 0;
}

.contact-info {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.6s ease;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-green);
    min-width: 50px;
}

.contact-details h5 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-details p {
    margin: 0;
    color: var(--text-light);
}

.contact-details a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--secondary-green);
}

.contact-form {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 12px;
    animation: fadeInRight 0.8s ease;
}

/* ============================================
   MAP SECTION
   ============================================ */

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.footer {
    background-color: var(--dark-black);
    color: var(--white);
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-green);
}

.footer p {
    color: #ccc;
    line-height: 1.8;
}

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

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

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

.footer-links a:hover {
    color: var(--primary-green);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 12px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-green);
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--secondary-green);
    transform: translateY(-3px);
}

footer hr {
    border-color: #333;
}

footer p {
    color: #999;
}

/* ============================================
   PROPERTY DETAILS SECTION
   ============================================ */

.property-details-section {
    padding: 60px 0;
}

.property-detail-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.property-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnail-img {
    cursor: pointer;
    transition: transform 0.3s ease, border 0.3s ease;
    border: 3px solid transparent;
}

.thumbnail-img:hover {
    transform: scale(1.05);
    border-color: var(--primary-green);
}

.property-details-section .property-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-green);
}

.amenity-item {
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.amenity-item:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

.amenity-item i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.contact-card {
    border-left: 4px solid var(--primary-green);
}

.contact-card a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--secondary-green);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .slide-title {
        font-size: 2rem;
    }

    .slide-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-slider {
        height: 400px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

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

    .stat-number {
        font-size: 2rem;
    }

    .contact-info {
        flex-direction: column;
    }

    .property-features {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .slide-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero-slider {
        height: 300px;
    }

    .navbar-nav {
        text-align: center;
    }

    .filters {
        flex-direction: column;
    }

    .contact-form {
        padding: 20px;
    }
}

/* ============================================
   MODAL STYLES
   ============================================ */

.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 2px solid var(--primary-green);
    border-radius: 12px 12px 0 0;
}

.modal-header .btn-close-white {
    filter: brightness(0) invert(1);
}

.modal-title {
    font-weight: 700;
    font-size: 1.3rem;
}

.modal-body {
    padding: 2rem;
}

.modal-body .form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.modal-body .form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.modal-body .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(46, 204, 113, 0.25);
}

.modal-footer {
    border-top: 1px solid #eee;
    padding: 1.5rem;
}

.modal-footer .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-footer .btn-success {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.modal-footer .btn-success:hover {
    background-color: var(--secondary-green);
    border-color: var(--secondary-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.modal-footer .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.modal-footer .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
}

/* Modal animation */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease;
}

.modal.show .modal-dialog {
    transform: none;
}

/* Inquire button hover effect */
.inquire-btn {
    transition: all 0.3s ease;
}

.inquire-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}
