:root {
    --primary: #283b4a;
    
    --accent: rgb(171, 133, 133);
    --bg-soft: #f4eee4;
    --text-main: #292524;
    --text-muted: #6b7280;
}

body {
    font-family: 'Source Sans Pro', arial, sans-serif;
    color: var(--text-main);
    background-color: #fff;
}

/* Generic helpers */

.text-accent {
    color: var(--accent);
}

.tracking-wide {
    letter-spacing: 0.14em;
}

/* Cinzel font class for headers */
.font-cinzel {
    font-family: 'Cinzel', serif !important;
}


/* Navbar */
.navbar {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

.nav-link {
    font-size: 0.9rem;
}

.nav-link:hover {
    color: rgb(64, 64, 64);
}

.logo-img {
    height: 80px;
    width: auto;
}

@media (max-width: 768px) {
    .logo-img {
        height: 60px;
    }
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: var(--accent);
    font-weight: 700;
}

/* Custom burger icon color */
.navbar-light .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='rgb(143, 110, 110)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#smartHeader {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  transition: transform 0.3s ease;
}

/* Hidden on scroll down */
#smartHeader.nav-hidden {
  transform: translateY(-100%);
}

body {
  padding-top: 80px;
}


/* Buttons override */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #111827;
    border-color: #111827;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: #f3f4f6;
    color: var(--primary);
}

form .btn-primary {
    background-color: rgb(226, 226, 226);
    color: rgb(27, 27, 27);
    border: 1px solid #ffffff;
    border-radius: 50px;
    padding: 0.65rem 1.6rem;
    font-weight: 700;
    transition: all 0.25s ease;
}

form .btn-primary:hover {
    background-color: #c28a4b;
    border-color: #c28a4b;
    color: #ffffff;
}


/* HERO BUTTONS */
.hero-parallax .btn-primary {
    background-color: #ffffff;
    color: #283b4a;
    border: 1px solid #ffffff;
    border-radius: 50px;
    padding: 0.65rem 1.6rem;
    font-weight: 700;
    transition: all 0.25s ease;
}

.hero-parallax .btn-primary:hover {
    background-color: #c28a4b;
    border-color: #c28a4b;
    color: #ffffff;
}


/* Outline Button */
.hero-parallax .btn-outline-light {
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    border-radius: 50px;
    padding: 0.65rem 1.6rem;
    font-weight: 500;
    transition: all 0.25s ease;
}

.hero-parallax .btn-outline-light:hover {
    background-color: #ffffff;
    color: #283b4a;
    border-color: #ffffff;
}


/* Hero */
.hero-section {
    background: radial-gradient(circle at top, rgba(194, 138, 75, 0.18), transparent 55%);
}

.hero-subtitle {
    letter-spacing: 0.14em;
}

.hero-title {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tagline {
    max-width: 520px;
}


/* Parallax Hero Banner */
.hero-parallax {
    position: relative;
    width: 100%;
    min-height: 80vh;
    padding-top: 90px;
    padding-bottom: 90px;
    background-image: url("../images/banner.webp");
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Dark overlay */
.hero-parallax .overlay-dark {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

/* Make text appear above overlay */
.hero-parallax .container {
    position: relative;
    z-index: 2;
}

/* Text styling to show clearly on dark overlay */
.hero-parallax .hero-subtitle {
    letter-spacing: 0.14em;
    font-weight: 600;
    color: #f3f4f6;
}

.hero-parallax h1 {
    color: #ffffff;
}

.hero-parallax p {
    color: #e5e7eb;
}

/* Mobile — disable parallax for performance */
@media (max-width: 768px) {
    .hero-parallax {
        background-attachment: scroll;
    }
}


/* Background soft */
.bg-light-soft {
    background-color: var(--bg-soft);
}

/* Dark About Section */
.about-section-dark {
    background-color: rgb(22, 22, 22);
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Text styling */
.about-section-dark h2 {
    color: #ffffff;
}

.about-section-dark p {
    color: #d1d5db;
}

/* Phone link */
.about-phone-link {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
}

.about-phone-link:hover {
    color: #c28a4b;
}

.about-photo-wrapper {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
}

.about-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.highlight-box {
    border: 1px solid #e5e7eb;
}

/* Section headings */
.section-title {
    letter-spacing: 0;
}

.section-subtitle {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.95rem;
}

/* Feature cards */
.feature-card img {
    height: 250px;
    object-fit: cover;
}

.feature-card .card-body {
    padding: 1rem 1.1rem 1.2rem;
}

/* Search box */
.search-box label {
    font-size: 0.8rem;
}

.search-box input,
.search-box select {
    font-size: 0.85rem;
}


/* Listings Section Background */
.listings-bg {
    position: relative;
    background-image: url("../images/dream_home_bg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Dark overlay over the background */
.listings-bg .overlay-dark {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.listings-bg .container {
    position: relative;
    z-index: 2;
}

.listings-bg h2 {
    color: #ffffff;
}


/* Section Title */
.search-box h3 {
    font-size: 1.35rem;
    letter-spacing: 0.06em;
    color: rgb(143, 110, 110);
}

/* Labels */
.search-box .form-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #3b3b3b;
    margin-bottom: 6px;
}

/* Standard Dropdown Fields */
.search-box .form-select {
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    height: 44px;
    padding: 0.55rem 2rem 0.55rem 0.75rem;
    font-size: 0.92rem;
    background-color: #fff;
    color: #2d2d2d;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='rgb(120,120,120)' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M3.204 5h9.592L8 10.481 3.204 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
}

.search-box .price-input {
    border: none;
    border-bottom: 1px solid #d7d7d7 !important;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
    height: 38px;
    font-size: 0.92rem;
    background-color: transparent;
}

.search-box .price-input:focus {
    outline: none !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgb(143, 110, 110) !important;
}

.search-btn-main {
    width: 100%;
    height: 52px;
    background-color: #efefef;
    border: none;
    border-radius: 50px;
    color: #9a9a9a;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

.search-btn-main:hover {
    background-color: rgb(143, 110, 110);
    color: #fff;
}

/* AFFILIATION */
.affiliation-logo-grid {
  width: 110px;
  max-width: 100%;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* subtle hover animation */
.affiliation-logo-grid:hover {
  transform: translateY(-4px) scale(1.03);
  opacity: 1;
}

/* spacing for mobile */
#affiliations p {
  max-width: 420px;
}







/* Carousel */

#galleryCarousel {
    max-width: 900px;
    margin: 0 auto;
}

#galleryCarousel img {
    max-height: 500px;
    object-fit: cover;
}

/* Make carousel arrows dark and visible */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgb(133 129 129 / 85%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev-icon::after {
    content: '‹';
    font-size: 38px;
    color: white;
    line-height: 1;
    padding-bottom: 7px;
}

.carousel-control-next-icon::after {
    content: '›';
    font-size: 38px;
    color: white;
    line-height: 1;
    padding-bottom: 7px;
}

/* Move arrows OUTSIDE the carousel */
.carousel-control-prev {
    left: -100px;
}

.carousel-control-next {
    right: -100px;
}

/* For smaller screens */
@media (max-width: 789px) {
    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }
}



/* Services */
.service-card {
    border: 1px solid #e5e7eb;
}

.service-img-wrapper img {
    height: 250px;
    object-fit: cover;
    display: block;
}


/* Contact */
#contact {
    background-color: #faf7f5;
}

.contact-form-wrapper {
    border: 1px solid #eee;
}

#contact strong {
    font-weight: 600;
}

.contact-phone-link {
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    color: var(--accent);
}

.contact-phone-link:hover {
    color: rgb(64, 64, 64);
}

/* WhatsApp chat button */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgb(69, 90, 100);
    color: #fff;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.whatsapp-btn i {
    font-size: 1.2rem;
}

.whatsapp-btn:hover {
    background-color: #1ebe5d;
    color: #fff;
    text-decoration: none;
}

/* Wrapper */
.hours-wrapper {
    cursor: pointer;
}

/* Top row  */
.hours-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.hours-table td {
    padding: 4px 0;
    vertical-align: middle;
    font-weight: 600;
    font-size: 0.95rem;
}

.hours-label {
    width: 20%;
    color: #3b3b3b;
}

.hours-time {
    width: 30%;
    color: #6b6b6b;
    font-weight: 500;
}

@media (max-width: 768px) {

    .hours-label {
        width: 35%;
        color: #3b3b3b;
    }

    .hours-time {
        width: 45%;
        color: #6b6b6b;
        font-weight: 500;
    }
}



.hours-arrow i {
    font-size: 1rem;
    transition: transform 0.25s ease;
}

/* Rotate arrow */
#hoursFull.show+.hours-arrow i {
    transform: rotate(180deg);
}

/* Dropdown area */
.hours-panel {
    padding-left: 0.3rem;
    margin-top: 0.4rem;
}

/* Full table */
.hours-full-table {
    width: 100%;
}

.hours-full-table td {
    padding: 3px 0;
    font-size: 0.9rem;
    color: #6b6b6b;
}

.hours-full-table tr:first-child td {
    padding-top: 6px;
}




/* Footer */
footer {
    background-color: rgb(22, 22, 22);
}

/* Footer Styling */
.footer-custom {
    background-color: rgb(22, 22, 22);
    border-top: 1px solid #e5e7eb;
    color: rgb(150, 150, 150);
}

.footer-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #283b4a;
}

.footer-link {
    color: #283b4a;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-social-link {
    font-size: 1.3rem;
    color: #fff;
    transition: opacity 0.2s;
}

.footer-social-link:hover {
    opacity: 0.7;
}