/* Base layout styles */
body { 
    margin: 0; 
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header styles */
.header {
    background: #1a1a1a;
    color: white;
    padding: 0.8rem;
    text-align: center;
    z-index: 1000;
}

.title {
    color: #D4AF37;
    font-size: 1.3rem;
    font-weight: bold;
}

.description {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.donate-button {
    display: inline-block;
    background: #D4AF37;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-top: 0.5rem;
    font-weight: bold;
    transition: background-color 0.2s;
}

.donate-button:hover {
    background: #c4a030;
}

/* Main container styles */
.container {
    flex: 1;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1rem;
    padding: 1rem;
    background: #f5f5f5;
    position: relative;
}

/* Control panel styles */
.controls {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: fit-content;
    overflow-y: auto;
}

.control-section {
    margin-bottom: 1.5rem;
}

.control-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.control-value {
    color: #666;
    font-size: 0.9rem;
}

/* Map container styles */
.map-container {
    position: relative;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

#map {
    height: 100%;
    width: 100%;
    z-index: 1;
    border-radius: 8px;
}

/* Button and input styles */
.button-group {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

button {
    background: #D4AF37;
    border: none;
    padding: 1rem 1.5rem; /* Increased padding */
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
    flex: 1;
	font-size: 1.2rem; /* Increased font size */
}

button:hover {
    background: #D4AF37;
}

input[type="range"] {
    width: 100%;
    margin: 0.5rem 0;
    cursor: pointer;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

/* Mobile overlay styles */
.mobile-info-overlay {
display: none;
position: absolute;
top: 20px;
left: 50px;
right: 50px;
max-width: 150px;
background: white;
border-radius: 12px;
padding: 1rem;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
z-index: 1000;
}
.current-location {
display: flex;
flex-direction: column;
align-items: flex-start;
}


/* Bottom controls for mobile */
.bottom-controls {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
}

.toggle-controls {
    padding: 0.5rem;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.controls-content {
    padding: 1rem;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    transition: max-height 0.3s ease-out;
}

.controls-content.hidden {
    max-height: 0;
    overflow: hidden;
    padding: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 0;
    }
    
    .controls {
        display: none;
    }
    
    .mobile-info-overlay {
        display: block;
    }
    
    .bottom-controls {
        display: block;
    }
    
    .map-container {
        height: calc(100vh - 140px);
    }
    
    .header {
        padding: 0.5rem;
    }
    
    .title {
        font-size: 1rem;
    }
    
    .description {
        font-size: 0.8rem;
    }
    
    .donate-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Additional enhancements for larger screens */
@media (min-width: 1200px) {
    .container {
        grid-template-columns: 350px 1fr;
    }
    
    .title {
        font-size: 1.4rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .control-section {
        margin-bottom: 2rem;
    }
}

/* Print styles */
@media print {
    .controls,
    .mobile-info-overlay,
    .bottom-controls,
    .donate-button {
        display: none !important;
    }
    
    .container {
        display: block;
    }
    
    .map-container {
        height: 100vh;
    }
}

/* Add these styles to your existing CSS file */

.fullscreen-button {
    background: #D4AF37;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
}

.fullscreen-icon {
    font-size: 1.2em;
    margin-right: 0.5rem;
}

/* Fullscreen styles */
.map-container.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    border-radius: 0;
}

.map-container.fullscreen #map {
    border-radius: 0;
}

/* Mobile specific fullscreen styles */
@media (max-width: 768px) {
    #fullscreen-btn-mobile {
        padding: 1rem;
        width: auto;
        margin-top: 0;
    }
    
    #fullscreen-btn-mobile .fullscreen-icon {
        margin-right: 0;
    }
    
    .map-container.fullscreen .mobile-info-overlay {
        top: 10px;
    }
}


