﻿.g3-plan-container img {
    width: 100%;
    height: auto;
    display: block;
}

.g3-plan-container {
    position: relative;
    width: 100%;
    max-width: 1200px; /* Adjust to your layout preference */
    margin: 0 auto;
}

.g3-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.building-glow {
    fill: rgba(255, 215, 0, 0); /* Invisible normally */
    stroke: rgba(255, 215, 0, 0); /* Invisible border */
    stroke-width: 2;
    transition: all 0.4s ease;
    cursor: pointer;
}

.building-glow:hover {
    fill: rgba(255, 215, 0, 0.25); /* Subtle Golden Glow */
    stroke: rgba(255, 215, 0, 1); /* Solid Golden Outline */
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.building-glow:target {
    fill: rgba(255, 215, 0, 0.5) !important; /* Stronger highlight */
    stroke: red !important;
	stroke-width:4;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 1));
    animation: pulse-highlight 3s; /* Make it blink/pulse */
	animation-iteration-count:4;
}

@keyframes pulse-highlight {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

#village-details {
    margin: 0 auto; 
	max-width:1215px; 
	padding:0; 
	background-color:#eee8da;   
}

.detail-block {
    padding: 20px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

.plan-jump-link {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background-color: #f0f0f0; /* Light grey background */
    color:#000; /* Dark text */
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    border-radius: 4px;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
}

.plan-jump-link:hover {
    background-color: #4E6486; 
    border-color: #ccac00;
    color: #fff;
    transform: translateY(-2px); 
}

/* Visually highlight the section when it is clicked on the plan */
.detail-block:target {
    border: 2px solid #86744e; 
    background-color: #fff;
    box-shadow: 0 0 20px rgba(134, 116, 78, 0.5);
}

.detail-block h2 {
    margin-top: 0;
    color: #2b4738;
}

.detail-block a {
    display: inline-block;
    margin-top: 15px;
    color: #2B4738;
    text-decoration: none;
    font-size: 0.9em;
}

.interactive-plan-container {
    position: relative;
    display: inline-block;
}



.print-btn {
    background-color: #f2f3f5;
    font-family:'Montserrat',sans-serif;
	font-size:0.75em;
	color: black;
    padding: 0;
	width:295px;
	text-align:center;
    border-radius: 30px;
	border-color: #ccc;
	border-style: solid;
	border-width:1px;
    cursor: pointer;
	margin-bottom: 10px;
}

@media print {
    .plan-jump-link {display: none !important;}
}

@media print {
    /* Hide navigation, buttons, and footer on paper */
    #sticky-back-button, .print-btn, .plan-jump-link, .nav, .footer,.panel-button, .signandgive, audio {
        display: none !important;
    }

    /* Ensure the plan takes up the full width of the paper */
    .g3-plan-container {
        width: 100% !important;
        margin: 0 !important;
    }

    /* Style the text for better readability on white paper */
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
    }

    .detail-block {
        border: none !important;
        border-bottom: 1px solid #ccc !important;
        page-break-inside: avoid; /* Prevents a building's text from being split across 2 pages */
    }
}


.info-preview-panel {
    max-width: 1075px;
    margin: 10px auto;
    padding: 10px;
    background: #ffffff;
    border: 2px solid #86744e; /* Gold border to match branding */
    border-radius: 8px;
    min-height: 200px; /* Keeps the page layout stable */
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    font-family: "Merriweather Sans", sans-serif;
}

#info-title {
    color: #2b4738;
    margin-top: 0;
    padding-bottom: 0;
}

#info-body p {
    line-height: 1.25;
    font-size: 0.9em;
	font-family:'Montserrat',sans-serif;
}


