/* Custom Styles to complement Bootstrap */

/* Base Styles */
:root {
    --primary-color: #D4AF37;
    --dark-blue: #3B4763;
    --light-blue: #e6f7ff;
    --text-color: #3B4763;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
}

/* Apply 100px top and bottom margin to all sections */
section {
    margin-top: 50px;
    margin-bottom: 50px;
}

/* Restore original padding if Bootstrap classes are used */
section.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

section.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

section.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Special case for hero section */
section.hero-slideshow {
    margin-top: 0;
}

/* Footer needs top margin but no bottom margin */
footer.footer {
    margin-top: 100px;
    margin-bottom: 0;
}

/* Fix for consecutive sections */
section + section {
    margin-top: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-blue);
}

/* Navbar */
.navbar {
    background-color: var(--dark-blue);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Add spacing between nav items */
.navbar-nav {
    gap: 20px; /* Increased spacing between menu items */
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 16px;
}

.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

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

.btn-primary:hover {
    background-color: #d89932;
    border-color: #d89932;
}

.btn-b4:hover {
    background-color: #7C8497;
    border-color: #7C8497;
}

/* Hero Section */
.hero {
    height: 500px;
    background-image: url('https://via.placeholder.com/1920x500');
    background-size: cover;
    background-position: center;
    color: rgb(27, 27, 56);
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 100px;
}

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

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.625rem;
}

.hero h1 {
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.3125rem;
}

.hero h3 {
    font-size: 2.25rem;
    font-weight: 300;
    margin-bottom: 1.25rem;
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 1.875rem;
    max-width: 31.25rem;
}

/* Hero Slideshow Styles */
.hero-slideshow {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(59, 71, 99, 0); /* Dark blue overlay with transparency */
}

.hero-content {             
    position: relative;              
    z-index: 1;              
    color: rgb(255, 255, 255);              
    padding: 30px 0;         
    background-color: rgba(0,0,0,0.2);          
    border-radius: 10px;          
    padding: 50px;
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.hero-content h3 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 1.875rem;
    max-width: 500px;
}

.news-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Carousel Controls */
.carousel-indicators {
    margin-bottom: 2rem;
  }
  
  .carousel-indicators [data-bs-target] {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    margin: 0 5px;
    background-color: #D4AF37;
    border: none !important;
    opacity: 0.5;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  
  .carousel-indicators .active {
    background-color: #D4AF37;
    opacity: 1;
    width: 12px !important;
    height: 12px !important;
  }
  
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 30px;
    height: 30px;
}

/* Rating Section */
.rating-image {
    height: 300px;
}


.rating-score {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.stats-box {
    position: absolute;
    background-color: white;
    padding: 15px;
    text-align: center;
}

.stats-box.units {
    bottom: 0px;
    right: 120px;
}

.stats-box.sold {
    bottom: 0px;
    right: 0px;
}

/* Facilities Section */
.facility-card {
    background-color: var(--dark-blue);
    color: white;
    padding: 1.875rem 1.25rem;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
    height: 160px;
}

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

.facility-icon {
    font-size: 1.5rem;
}

.facility-card.more {
    background-color: var(--light-blue);
    color: var(--dark-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-arrow {
    color: var(--primary-color);
    font-size: 1.125rem;
}

/* News Section */
.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 5%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 200px;
    overflow: hidden;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.news-image img {
    transition: transform 0.3s ease;
}

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

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h3 {
        font-size: 1.5rem;
    }
}

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

/* Custom Styles for Ancol Mansion */


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Common Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
}

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

.btn-primary:hover {
    background-color: #d89932;
    border-color: #d89932;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-account {
    font-size: 1.5rem;
    color: var(--dark-blue);
}

.logo {
    height: 100%;
    padding-right: 20px;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Add spacing between nav items */
.navbar-nav {
    gap: 20px; /* Increased spacing between menu items */
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 16px;
}

.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Property Info Section */
.property-image {
    height: 400px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rating-box {
    position: absolute;
    margin-top: 15px;
    margin-left: 15px;
    background-color: white;
    padding: 15px;
    text-align: center;
    border-bottom-right-radius: 8px;
    width: 150px;   /* Menetapkan lebar 35px */
    height: 120px;
}

.rating-score {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.rating-stars {
    color: #ffc107;
    margin: 5px 0;
}

.trusted-text {
    font-size: 12px;
    color: var(--text-muted);
}

.rating-reviews {
    font-size: 14px;
    font-weight: 500;
}

.stats-container {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
}

.stats-box {
    background-color: white;
    padding: 15px 25px;
    text-align: center;
}

.stats-number {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.stats-label {
    font-size: 12px;
    color: var(--text-muted);
}

/* Organization Structure */
.org-tabs {
    background-color: #f8f9fa;
    border-radius: 50px;
    padding: 5px;
}

.org-tabs .nav-link {
    color: var(--text-color);
    border-radius: 50px;
    padding: 8px 20px;
    margin: 0 5px;
}

.org-tabs .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.org-chart {
    padding: 20px 0;
}

.org-level {
    margin-bottom: 40px;
    text-align: center;
}

.connector-line {
    height: 40px;
    border-left: 2px solid #ddd;
    margin: 0 auto 40px;
}

.org-box {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 200px;
    margin: 0 auto;
}

.org-avatar {
    margin-bottom: 15px;
}

.org-avatar img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.org-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.org-name {
    font-size: 14px;
    color: var(--text-muted);
}

/* Announcement & Document List */
.announcement-item,
.document-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.announcement-number,
.document-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.announcement-title,
.document-title {
    margin-bottom: 5px;
    font-weight: 600;
}

.announcement-date,
.document-date {
    font-size: 14px;
    color: var(--text-muted);
}

/* Articles */
.article-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    border-radius: 5%;
    overflow: hidden;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.article-card img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.article-category {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.article-date {
    font-size: 12px;
    color: var(--text-muted);
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.read-more:hover {
    color: #d89932;
}

/* Article Detail */
.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    max-width: 800px;
    margin: 0 auto;
}


.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5rem;
}

/* Facilities */
.facility-item {
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
}

.facility-item:last-child {
    border-bottom: none;
}

.facility-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.facility-description {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.facility-nav {
    display: flex;
    gap: 10px;
}

.btn-nav {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0;
}

.btn-nav.prev {
    color: #ddd;
}

/* Footer */
.footer {
    background-color: var(--dark-blue);
    margin-top: 100px;
    justify-content: bottom;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons {
    margin-right: 120px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}


.footer-logo {
    width: 75%;
    height: 50%;
    padding-bottom: 15px;
    object-fit: cover;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .property-image {
        height: 300px;
    }
    
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .article-title {
        font-size: 1.75rem;
    }
    
    .property-image {
        height: 250px;
    }
    
    .stats-container {
        position: relative;
        margin-top: 15px;
    }
    
    .rating-box {
        position: relative;
        border-radius: 8px;
        margin-top: 15px;
    }
}

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

@media (max-width: 992px) {
    .hero-slide {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-slide {
        height: 450px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h3 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-slide {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .hero-content h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h3 {
        font-size: 1.5rem;
    }
}

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

/* Tambahkan CSS berikut ke file styles.css Anda */

/* Perbaikan untuk navigasi mobile */
@media (max-width: 991.98px) {
    .mobile-nav-padding {
        padding-left: 15px !important;
    }
    
    .mobile-dropdown-padding {
        padding-left: 25px !important;
    }
    
    .navbar-collapse {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    
    .navbar-nav {
        gap: 10px; /* Reduced gap for mobile */
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 10px; /* Increased margin from 8px to 10px */
    }
    
    .navbar-nav .nav-link {
        padding-left: 15px !important;
        padding-right: 15px !important;
        padding-top: 10px !important; /* Increased padding */
        padding-bottom: 10px !important; /* Increased padding */
        border-radius: 5px;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus,
    .navbar-nav .nav-link.active {
        background-color: rgba(212, 175, 55, 0.1);
    }
    
    .dropdown-menu {
        border: none;
        background-color: transparent;
        box-shadow: none;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    
    .dropdown-item {
        padding-top: 8px;
        padding-bottom: 8px;
        border-radius: 5px;
    }
    
    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: rgba(212, 175, 55, 0.1);
    }
    
    /* Posisi bahasa dan tombol akun di kanan */
    .mobile-actions {
        display: flex;
        justify-content: flex-end;
        width: 100%;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(0,0,0,0.1);
        padding-right: 15px;
    }
    
    /* Pastikan dropdown bahasa terbuka ke arah kiri */
    .dropdown-menu-end {
        right: 0;
        left: auto !important;
    }

    .loginConfirmBtn {
        background-color: #3B4763;
    }
}


/* Untuk tampilan desktop, kembalikan posisi normal */
@media (min-width: 992px) {
    .mobile-actions {
        display: flex;
        align-items: center;
    }
}

/* Styling untuk kotak pencarian */
.search-container {
    margin-bottom: 50px;
    justify-content: center;
}

.search-box {
    position: relative;
    max-width: 700px;
    margin: 80px;
}

.search-box .form-control {
    height: 50px;
    border-radius: 50px;
    padding-left: 20px;
    padding-right: 50px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    font-size: 16px;
}

.search-box .form-control:focus {
    outline: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-color: #d4d4d4;
}

.search-box .btn-search {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #6c757d;
    font-size: 18px;
    padding: 8px 15px;
    transition: color 0.3s ease;
}

.search-box .btn-search:hover {
    color: var(--primary-color);
}

.search-box .btn-search:focus {
    outline: none;
    box-shadow: none;
}

/* Document Card Styles */
.document-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.document-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.document-icon {
    font-size: 50px;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.document-card:hover .document-icon {
    color: var(--primary-color);
}

.document-title {
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0;
}

.document-category {
    margin-bottom: 20px;
}

/* Tampilan dokumen memanjang ke samping */
.document-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
    width: 100%;
}

.document-info {
    display: flex;
    align-items: flex-start;
}

.document-number {
    font-weight: bold;
    color: #333;
    font-size: 20px;
    padding-right: 15px;
    min-width: 30px;
}

.document-content {
    display: flex;
    flex-direction: column;
    padding-left: 10px;
}

.document-title {
    font-weight: 600;
    color: #3B4763;
    margin-bottom: 6px;
    font-size: 18px;
}

.document-date {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

.view-document-btn {
    background-color: transparent;
    color: #D4AF37;
    border: 1px solid #D4AF37;
    border-radius: 50px;
    padding: 8px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 220px;
    margin-left: auto;
}

.view-document-btn:hover {
    background-color: #D4AF37;
    color: white;
}

.document-lock-icon {
    margin-left: 8px;
}

/* Password Modal Styles */
.password-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.password-modal.show {
    display: flex;
}

.password-modal-content {
    background-color: #fff;
    border-radius: 8px;
    width: 100%;
    max-width: 700px;
    padding: 30px;
    position: relative;
}

.password-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.password-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.password-modal-close {
    cursor: pointer;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: #333;
}

.password-modal-body {
    margin-bottom: 25px;
}

.password-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 16px;
    margin-top: 15px;
}

.password-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-cancel {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    color: #333;
    border-radius: 30px;
    padding: 8px 25px;
}

.btn-ok {
    background-color: #3B4763;
    border: none;
    color: white;
    border-radius: 30px;
    padding: 8px 25px;
}

@media (max-width: 768px) {
    .document-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .view-document-btn {
        margin-top: 15px;
        margin-left: 0;
        align-self: flex-start;
    }
}

/* Responsive margin adjustments */
@media (max-width: 992px) {
    section {
        margin-top: 70px;
        margin-bottom: 70px;
    }
}

@media (max-width: 768px) {
    section {
        margin-top: 50px;
        margin-bottom: 50px;
    }
}

@media (max-width: 576px) {
    section {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}

