body {
  margin: 0;
  font-family: 'Playfair Display', serif;
  color: #222;
  scroll-behavior: smooth;
  background-color: #fafafa;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  
 
  width: 100%;
  background: #fff;
  color: #fff;
  padding: 15px 20px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  box-sizing: border-box; 
}

.logo {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  margin-right: 600px;
    
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  padding: 6px 12px;
  transition: color 0.3s ease;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}
/* ===== HEADER ===== */
.property-header {
  text-align: center;
  padding: 80px 20px 40px;
  background: linear-gradient(135deg, #1776d6, #1e40af);
  color: white;
  margin-top: 60px;
  
}
.property-header h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: #fff;
}
.property-header .location {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ===== MAIN LAYOUT ===== */
.property-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 60px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== VISUALS SECTION ===== */
.visuals-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: start;
}
.viewer-section,
.blueprint-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.viewer-section h3,
.blueprint-section h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}
#container {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.blueprint-img {
  width: 500px;
  border-radius: 8px;
  height: 400px;

}

.pano-buttons button {
    padding: 10px 18px;
    background-color: #1976d2; /* Blue */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.pano-buttons button:hover {
    background-color: #0d47a1; /* Darker blue */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.pano-buttons button:active {
    background-color: #08306b; /* Even darker */
}

/* ===== PROPERTY INFO ===== */
.property-info {
  margin: 0 auto;
  max-width: 900px;
  background: white;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.property-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.property-info h2 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: #1e40af;
  border-bottom: 2px solid #1776d6;
  padding-bottom: 8px;
}
.details-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px 20px;
}
.details-list li {
  background: #f1f5f9;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.95rem;
  color: #1e293b;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.property-info h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: #1e293b;
}
.property-info p {
  line-height: 1.6;
  color: #334155;
}
.book-btn {
  background: linear-gradient(135deg, #1776d6, #1e40af);
  display: inline-flex; /* better than flex for a button */
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  align-items: center;
  justify-content: center;
  text-align: center;
  
  /* Responsive centering */
  margin: 0 auto;
  display: block;
  max-width: 200px; /* optional: keeps button from being too wide */
}

.book-btn:hover {
  background: linear-gradient(135deg, #1e40af, #0c4a6e);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(23, 118, 214, 0.4);
}


/*BLUEPRINT */

.marker {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #00b3ff;
  border-radius: 50%;
  box-shadow: 0 0 12px #00b3ff;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

/* Example marker positions — adjust these values visually */
#marker-living { top: 40%; left: 0%; }
#marker-bedroom { top: 39%; left: 70%; }
#marker-balcony { top: 50%; left: 75%; }


.marker.active {
  opacity: 1;
  box-shadow: 0 0 20px 4px #00b3ff;
}
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 10px #00b3ff; }
  50% { transform: scale(1.4); box-shadow: 0 0 20px #00b3ff; }
  100% { transform: scale(1); box-shadow: 0 0 10px #00b3ff; }
}

.marker.active {
  animation: pulse 1.5s infinite ease-in-out;
}
/* --- GENERAL LAYOUT --- */
.property-layout {
    display: flex;
    gap: 40px;
    margin-top: 25px;
    flex-wrap: wrap; /* For mobile */
}

/* LEFT SIDE */
.property-info {
    flex: 3;
    min-width: 300px;
    right: 1200px;
}

.details-list, .amenities-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.property-layout {
    display: flex;
    gap: 40px; /* Space between property and agent */
    align-items: flex-start;
    flex-wrap: wrap; /* Makes it responsive on smaller screens */
}

/* Left column: property details */
.property-details {
    flex: 3; /* Takes up more space */
    min-width: 300px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
}

/* Right column: agent info */
.agent-sidebar {
    flex: 1.2; /* Narrower column */
    min-width: 250px;
    
  /* Stays visible on scroll */
    height: fit-content;
   
    
}

.agent-card {
    padding: 20px;
    left: 1000px;
    background: #f6f6f6;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.agent-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

/* Button styling */
.contact-btn, .book-btn {
    margin-top: 15px;
    padding: 10px 18px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* Responsive adjustments */
@media screen and (max-width: 900px) {
    .property-layout {
        flex-direction: column;
    }

    .agent-sidebar {
        position: relative;
        top: 0;
        margin-top: 30px;
    }
}


.details-list li, .amenities-list li {
    margin-bottom: 8px;
}

/* Button */
.book-btn {
    background-color: #1d4ed8;
    color: white;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.book-btn:hover {
    transform: scale(1.05);
}

/* Modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background-color: #f9f9f9;
    margin: 10% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

/* Close button */
.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* Form styles */
#visitForm label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

#visitForm input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.submit-btn {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    background-color: #1d4ed8;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.submit-btn:hover {
    background-color: #2563eb;
    transform: scale(1.02);
}

/* RIGHT SIDE */
.agent-sidebar {
    flex: 1.2;
    width: 300px;
    position: sticky;
    top: 20px;
    height: fit-content;
    left: 1500px;
}

.agent-card {
    padding: 20px;
    background: #f6f6f6;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.confirmation-message {
    margin-top: 20px;
    padding: 15px;
    background-color: #d1fae5; /* greenish */
    color: #065f46;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}
.agent-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.agent-name {
    margin: 10px 0 5px;
}

.contact-btn {
    margin-top: 15px;
    padding: 10px 18px;
    background: #333;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* RESPONSIVE: Stack columns on mobile */
@media screen and (max-width: 900px) {
    .property-layout {
        flex-direction: column;
    }

    .agent-sidebar {
        position: relative;
        top: 0;
        margin-top: 30px;
    }
}


/* ===== FOOTER ===== */
.property-footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #fff;
  background-color: #000;
  margin-top: 60px;
}

/* Row with three columns */
.amenities-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* Wrap on smaller screens */
    margin-bottom: 20px;
}

.amenity-column {
    flex: 1;
    min-width: 200px; /* ensures columns don’t get too narrow */
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
}

/* Vertical amenities below */
.site-footer {
    background-color: #172d6a;
    color: white;
    font-size: 3rem;
    width: 100%;
    padding: 40px 20px 20px 20px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.footer-column h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.footer-column p,
.footer-column ul,
.footer-column a {
    font-size: 14px;
    color: white;
    text-decoration: none;
    margin-bottom: 6px;
}

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

.footer-column ul li a:hover {
    text-decoration: underline;
}
.book-now {
    /* Dark blue */
    padding: 30px 20px;
    text-align: center;
}

.btn-book-now {
    background-color: #1d4ed8; /* Gold */
    color:#fff ;
    font-weight: bold;
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
}


.social-icons a {
    margin-right: 10px;
    font-size: 18px;
    display: inline-block;
    transition: transform 0.2s;
}

.social-icons a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    opacity: 0.8;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablet & smaller screens */
@media screen and (max-width: 1024px) {
    .visuals-section {
        grid-template-columns: 1fr; /* stack blueprint + viewer */
    }

    .blueprint-img {
        width: 100%;
        height: auto;
    }

    .pano-buttons {
        justify-content: center;
    }

    .property-layout {
        padding: 20px;
        gap: 30px;
    }

    .book-btn {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Mobile phones */
@media screen and (max-width: 768px) {
    .site-nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .nav-links {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        display: none; /* hidden by default for hamburger toggle */
    }

    .nav-links.active {
        display: flex;
    }

    .logo {
        margin: 0 0 10px 0;
    }

    .property-header {
        padding: 50px 15px 10px;
    }

    .property-header h1 {
        font-size: 1.8rem;
    }

    .property-header .location {
        font-size: 1rem;
    }

    .visuals-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #container {
        height: 300px;
    }

    .blueprint-img {
        height: auto;
    }

    .pano-buttons button {
        padding: 8px 14px;
        font-size: 14px;
    }

    .property-info {
        padding: 20px;
        width: 100%;
    }

    .amenities-row {
        flex-direction: column;
    }

    .amenity-column {
        min-width: 100%;
    }

    .agent-sidebar {
        position: relative;
        width: 100%;
        left: 0;
        margin-top: 30px;
    }

    .book-btn {
        width: 100%;
        margin-left: 0;
        padding: 12px 0;
    }

    .modal-content {
        width: 95%;
        margin-top: 20%;
    }
}

/* Extra small phones */
@media screen and (max-width: 480px) {
    .property-header h1 {
        font-size: 1.5rem;
    }

    .property-header .location {
        font-size: 0.9rem;
    }

    #container {
        height: 200px;
    }

    .pano-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .pano-buttons button {
        width: 100%;
    }

    .amenities-row {
        gap: 15px;
    }

    .amenity-column {
        padding: 10px;
    }
}
/* --- NAVIGATION --- */
.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    flex-wrap: wrap; /* allow wrapping on small screens */
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.nav-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    padding: 6px 10px;
}

/* --- HEADER --- */
.property-header {
    text-align: center;
    padding: 60px 20px 30px;
    background: linear-gradient(135deg, #1776d6, #1e40af);
    color: white;
}

.property-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.property-header .location {
    font-size: 1rem;
}

/* --- MAIN LAYOUT --- */
.property-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- VISUALS SECTION --- */
.visuals-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.viewer-section, .blueprint-section {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

#container {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    background: #000;
}

.blueprint-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.pano-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 15px;
}

.pano-buttons button {
    padding: 10px 14px;
    background-color: #1976d2;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* --- PROPERTY INFO --- */
.property-info {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    width: 100%;
}

.details-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    padding: 0;
    list-style: none;
}

.book-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding: 12px 0;
    background-color: #1d4ed8;
    color: white;
    font-size: 16px;
    border-radius: 8px;
}

/* --- AMENITIES --- */
.amenities-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.amenity-column {
    flex: 1;
    min-width: 150px;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
}

/* --- AGENT SIDEBAR --- */
.agent-sidebar {
    width: 100%;
    margin-top: 20px;
}

.agent-card {
    background: #f6f6f6;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
}

/* --- MODAL --- */
.modal-content {
    width: 90%;
    max-width: 400px;
}

/* --- RESPONSIVE --- */
@media screen and (max-width: 1024px) {
    .visuals-section {
        grid-template-columns: 1fr; /* stack viewer + blueprint */
    }

    #container {
        height: 300px;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        width: 100%;
        display: none; /* for mobile toggle */
    }
    
    .nav-links.active {
        display: flex;
    }

    .property-header h1 {
        font-size: 1.6rem;
    }

    .property-header .location {
        font-size: 0.9rem;
    }

    .book-btn {
        font-size: 14px;
        padding: 10px 0;
    }

    .amenities-row {
        flex-direction: column;
    }
}

@media screen and (max-width: 480px) {
    .property-header h1 {
        font-size: 1.4rem;
    }

    #container {
        height: 200px;
    }

    .pano-buttons button {
        width: 100%;
    }
}
