
    html {
        scroll-behavior: smooth;
    }
    
    .sticky-navbar {
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 100;
      animation: fadeInDown 0.5s;
    }

    @keyframes fadeInDown {
      from {
        opacity: 0;
        transform: translateY(-20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* POP-UP STYLES */
    .popup-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      display: none; /* Hidden by default */
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    .popup-content {
      position: relative;
      background-color: #110501;
      padding: 20px;
      border-radius: 12px;
      width: 90%;
      max-width: 400px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }

    .close-button {
      position: absolute;
      top: 10px;
      right: 15px;
      background: none;
      border: none;
      color: white;
      font-size: 24px;
      cursor: pointer;
    }
    
    .contact-form-container {
      width: 100%;
      max-width: none;
      padding: 0;
    }

    .form-title {
      color: #c49a60;
      font-size: 2em;
      font-weight: 300;
      margin-bottom: 30px;
      text-align: center;
      font-family: 'Playfair Display', serif;
    }

    .contact-form {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .form-input {
      width: 100%;
      padding: 15px;
      background-color: transparent;
      border: 1px solid #c49a60;
      color: #c49a60;
      border-radius: 50px;
      font-size: 1em;
      box-sizing: border-box;
    }

    .form-input::placeholder {
      color: #c49a60;
      opacity: 0.7;
    }

    .submit-button {
      width: 100%;
      padding: 15px;
      background-color: #c49a60;
      color: #3b2a1a;
      border: none;
      border-radius: 50px;
      font-size: 1.2em;
      font-weight: bold;
      cursor: pointer;
      margin-top: 10px;
      transition: background-color 0.3s ease;
    }

    .submit-button:hover {
      background-color: #d1b17b;
    }
    
    .phone-popup-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding-top: 20px;
    }

    .phone-popup-buttons a {
        text-decoration: none;
        color: white;
        background-color: #af8c53;
        padding: 15px;
        border-radius: 20px;
        text-align: center;
        transition: background-color 0.3s ease;
    }
    
    .phone-popup-buttons a:hover {
      background-color: #ffffff;
      color: #290101;
    }

    /* CUSTOM CSS FROM style.css */
    * {
        box-sizing: border-box;
    }

    body {
        background-color: #110501ff; /* Fallback background color */
        margin: 0;
        font-family: 'Lato', sans-serif;
        color: white;
    }

    /* NEW: Hero section with background image */
    .hero-section {
        background-color: #110501ff;
        background-image: url('background.png');
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .header {
        background-color: transparent; /* Changed to transparent */
        padding: 10px 50px;
        position: relative;
    }

    .logo-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
    }

    .logo {
        height: 150px;
        width: auto;
        border-radius: 12px;
    }

    .header-text-container {
        display: flex;
        flex-direction: column;
        align-items: center; /* This has been changed to center */
        flex-grow: 1;
        margin-left: 20px;
    }

    .tit {
        color: aliceblue;
        font-size: 45px;
        text-align: center; /* This has been changed to center */
        margin: 0;
        font-family: 'Playfair Display', serif;
    }

    .price-info {
        font-size: 18px;
        text-align: right;
        line-height: 1.5;
        white-space: nowrap;
        margin-top: 10px;
    }

    .menu-button {
        display: none;
        background-color: #f8f8f7ff;
        color: black;
        border: none;
        font-size: 30px;
        padding: 10px 15px;
        cursor: pointer;
        border-radius: 8px;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 10;
    }

    .navbar {
        background-color: #dfcdb8; /* Retained color as it is visible on the image */
        display: flex;
        justify-content: center;
        border-radius: 12px;
        padding: 10px 20px;
        font-size: 20px;
        margin: 20px auto;
        max-width: 800px;
        opacity: 0;
        animation: fadeIn 1s ease-in-out 0.5s forwards;
    }

    .navbar a {
        background-color: transparent;
        text-decoration: none;
        padding: 10px 20px;
        margin: 0 5px;
        font-weight: bold;
        transition: color 0.3s ease;
        color: black;
    }

    .navbar a:hover {
        color: #9e4a05;
    }

    .main-content {
        display: flex;
        flex-direction: column;
        background-color: #1f1410ff;
        border-radius: 12px;
        margin: 20px auto;
        max-width: 1200px;
        overflow: hidden;
    }

    .property-image-container {
        width: 100%;
        height: auto;
    }

    .property-image-container img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 12px 12px 0 0;
    }

    .property-details {
        padding: 20px 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: transparent; /* Changed to transparent */
        text-align: center;
    }

    .property-details h2 {
        font-size: 40px;
        color: white;
        text-align: center;
        margin-bottom: 20px;
    }

    .details-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;
        background-color: #180d0aff;
        border-radius: 4px;
        padding: 15px 10px;
        width: 100%;
        max-width: 800px;
        margin: 20px auto;
    }

    .detail-item {
        text-align: center;
        padding: 5px;
        flex: 1;
        min-width: 150px;
        background-color: transparent;
        font-family:times;
        font-weight: bold;
    }

    .detail-item p {
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.5;
        
    }

    .about-us-section {
        background-color: #1f1410ff;
        padding: 20px 50px;
        max-width: 1200px;
        margin: 20px auto;
    }

    .section-title {
        font-size: 45px;
        color: #dfcdb8;
        margin-bottom: 20px;
        font-family: 'Playfair Display', serif;
    }

    .about-us-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .about-us-image-main {
        flex: 1;
    }

    .main-about-image {
        width: 100%;
        height: auto;
        border-radius: 12px;
        object-fit: cover;
    }

    .about-us-image-sub {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .sub-image-row {
        display: flex;
        gap: 10px;
    }

    .sub-about-image {
        width: calc(50% - 5px);
        height: auto;
        border-radius: 8px;
        object-fit: cover;
        cursor: pointer;
    }

    .more-button {
        width: calc(50% - 5px);
        background-color: #180d0aff;
        border-radius: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 20px;
        cursor: pointer;
    }

    .more-button a {
        text-decoration: none;
        color: white;
    }

    .overview-title {
        font-size: 30px;
        text-align: center;
        margin-top: 30px;
        margin-bottom: 20px;
        font-family: 'Playfair Display', serif;
    }

    .floor-plan-section {
        background-color: #1b1513;
        padding: 20px 50px;
        max-width: 1200px;
        margin: 20px auto;
    }

    .plan-container {
        background-color: #1f1410ff;
        border-radius: 12px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .plan-image-container {
        width: 100%;
        height: 400px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
        background-color: #ffffff;
        border-radius: 12px;
        overflow: hidden;
        position: relative;
    }

    .floor-plan-image {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .floor-plan-image:not([src]) {
        content: "Image is not available";
        display: block;
        color: #000;
        font-size: 20px;
        font-weight: bold;
        text-align: center;
        padding: 20px;
        width: 100%;
        height: 100%;
        background-color: #f0f0f0;
        border-radius: 12px;
    }

    .plan-buttons-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }

    .plan-button {
        background-color: #240700ff;
        color: white;
        border: none;
        padding: 10px 20px;
        font-size: 16px;
        border-radius: 9px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        white-space: nowrap;
    }

    .plan-button:hover {
        background-color: #ffffff;
        color: #290101;
    }

    .property-location-section {
        background-color: #110501;
        border-radius: 12px;
        padding: 20px;
        max-width: 1200px;
        margin: 20px auto;
    }

    .location-header {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .location-address {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .property-specs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .spec-item {
        background-color: #180d0aff;
        border-radius: 8px;
        padding: 10px;
        text-align: center;
    }

    .spec-item p {
        margin: 0;
    }

    .contact-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: 20px auto;
        padding: 0 50px;
    }

    .contact-info {
        display: flex;
        gap: 20px;
    }

    .contact-button {
        background-color: #c49a60;
        color: white;
        border: none;
        padding: 10px 30px;
        font-size: 18px;
        border-radius: 20px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .contact-button:hover {
        background-color: #ffffff;
        color: #290101;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @media (max-width: 768px) {
        .hero-section {
          background-size: contain; /* Adjusted to fit better on mobile */
          background-repeat: no-repeat;
          background-position: top center;
        }

        .header {
            padding: 10px;
        }

        .logo-container {
            flex-direction: column;
            align-items: center;
            text-align: center;
            margin-top: 50px;
        }

        .header-text-container {
            align-items: center;
            margin-left: 0;
            margin-top: 10px;
        }

        .tit {
            font-size: 28px;
            text-align: center;
        }

        .price-info {
            text-align: center;
            white-space: normal;
        }
        
        .menu-button {
            display: block;
        }
        
        /* NEW: Add a fixed position for the menu button on scroll */
        .sticky-menu-button {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1001; /* Higher z-index to be on top of everything */
            transition: top 0.3s ease;
        }

        .navbar {
            display: none;
            flex-direction: column;
            padding: 10px;
            font-size: 16px;
            position: absolute;
            top: 80px;
            right: 0;
            width: 90%;
            z-index: 5;
            border-radius: 12px 0 12px 12px;
        }

        .navbar.active {
            display: flex;
        }
        
        .navbar a {
            padding: 10px;
            margin: 5px 0;
            width: 100%;
            text-align: center;
        }

        .main-content {
            flex-direction: column;
        }

        .property-details {
            padding: 20px;
        }

        .property-details h2 {
            font-size: 30px;
        }

        .details-grid {
            flex-direction: column;
            align-items: stretch;
        }

        .detail-item {
            min-width: unset;
            width: 100%;
            margin-bottom: 10px;
        }

        .contact-footer {
            flex-direction: column;
            padding: 10px;
            gap: 10px;
        }
        
        .contact-info {
            flex-direction: column;
            gap: 10px;
            width: 100%;
        }

        .contact-button {
            width: 100%;
        }

        .about-us-section {
            padding: 20px;
        }
        
        .about-us-content {
            flex-direction: column;
        }

        .sub-about-image {
            width: calc(50% - 5px);
        }

        .plan-buttons-container {
            flex-direction: column;
        }
    }

    @media (min-width: 769px) {
        .main-content {
            flex-direction: row;
        }

        .property-image-container {
            flex: 1;
        }
        
        .property-image-container img {
            border-radius: 12px 0 0 12px;

        }
        
        .property-details {
            flex: 2;
        }

        .about-us-content {
            flex-direction: row;
        }
    }
    
    /* DARK COFFEE THEME */
    body.dark-coffee {
      background-color: #110501ff; /* Dark brown/black */
      color: #dfcdb8; /* Light tan/beige */
    }

    .dark-coffee .header {
      background-color: transparent;
    }

    .dark-coffee .navbar {
      background-color: #dfcdb8;
    }

    .dark-coffee .navbar a {
      color: #3b2a1a; /* Darker brown */
    }

    .dark-coffee .main-content {
      background-color: #1f1410ff; /* Slightly lighter dark brown */
    }

    .dark-coffee .property-details {
      background-color: transparent;
    }

    .dark-coffee .details-grid {
      background-color: #180d0aff; /* Even darker brown */
    }

    .dark-coffee .section-title {
      color: #c49a60; /* The gold-like color */
    }

    .dark-coffee .about-us-section,
    .dark-coffee .floor-plan-section {
      background-color: #110501;
    }
    
    .dark-coffee .plan-container {
        background-color: #1b1513;
    }
    
    .dark-coffee .plan-button {
      background-color: #3b2a1a;
      color: #dfcdb8;
    }
    
    .dark-coffee .plan-button:hover {
        background-color: #c49a60;
        color: #110501ff;
    }

    .dark-coffee .contact-button {
      background-color: #c49a60;
      color: #110501ff;
    }
    
    .dark-coffee .contact-button:hover {
        background-color: #dfcdb8;
        color: #110501ff;
    }
    
    /* WHATSAPP BUTTON STYLES */
    .whatsapp-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        background-color: #00ff00ff; /* WhatsApp green */
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        transition: transform 0.3s ease-in-out;
    }
    
    .whatsapp-button:hover {
        transform: scale(1.1);
    }
    
    .whatsapp-icon {
        width: 35px;
        height: 35px;
        filter: invert(1);
         border-radius: 50%; 
    }
    
    /* NEW: CALL BUTTON STYLES */
    .call-button {
        position: fixed;
        bottom: 90px; /* Position above the WhatsApp button */
        right: 20px;
        width: 60px;
        height: 60px;
        background-color: #ffffffff; /* A color that fits the theme */
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        transition: transform 0.3s ease-in-out;
    }
    
    .call-button:hover {
        transform: scale(1.1);
    }
    
    .call-icon {
        width: 35px;
        height: 35px;
        filter: invert(1);
        border-radius: 50%;
    }
