/* 
LOCATION PAGE CSS - MOBILE FIRST DESIGN
Consistent with the main site design system
To edit colors: Change the color values in the :root section below
To edit fonts: Change the font-family values
To edit spacing: Modify padding and margin values
*/

:root {
    /* COLORS - Matching the main site color scheme */
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #faf7f7;
    --success-color: #27ae60;
}

/* RESET AND BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #d3d3d3;
}

/* MAIN CONTENT */
.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* LOCATION SECTIONS */
.location-header,
.location-details,
.visiting-info,
.map-section,
.contact-cta {
    margin-bottom: 1.5rem;
}

/* LOCATION CARDS - Consistent with category-card styling */
.location-card {
    display: flex;
    flex-direction: column;
    background-color: #f0f8ff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.location-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.location-info h2 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.location-info h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.location-info h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.location-info p {
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: var(--text-color);
}

/* ADDRESS BLOCK */
.address-block {
    background-color: var(--white);
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid var(--secondary-color);
    margin: 0.5rem 0;
}

.venue-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem !important;
}

.address-line {
    margin-bottom: 0.2rem !important;
    color: var(--text-color);
}

.postcode {
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-top: 0.3rem;
    margin-bottom: 0 !important;
}

/* INFO GRID */
.info-grid {
    display: grid;
    gap: 1rem;
    margin-top: 0.5rem;
}

.info-item {
    background-color: var(--white);
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.info-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.info-item p {
    margin-bottom: 0.3rem;
}

.info-item ul {
    margin-left: 1.2rem;
    margin-top: 0.3rem;
}

.info-item li {
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

/* MAP SECTION */
.map-container {
    margin-top: 0.5rem;
}

.map-container iframe {
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.map-note {
    margin-top: 0.8rem;
    padding: 0.8rem;
    background-color: var(--light-bg);
    border-radius: 4px;
    font-size: 0.9rem;
    border-left: 3px solid var(--accent-color);
}

/* CONTACT CTA BUTTONS */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.contact-btn {
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-btn.primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.contact-btn.primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-1px);
}

.contact-btn.secondary {
    background-color: var(--white);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.contact-btn.secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-1px);
}

/* FOOTER - Consistent with main site */
.footer {
    background-color: var(--light-bg);
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* MOBILE STYLES (up to 768px) */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* TABLET STYLES (768px and up) */
@media (min-width: 768px) {
    .location-info {
        padding: 1.5rem;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .contact-btn {
        flex: 0 0 auto;
        min-width: 150px;
    }
    
    .map-container iframe {
        height: 350px;
    }
}

/* DESKTOP STYLES (1024px and up) */
@media (min-width: 1024px) {
    .main {
        padding: 2rem;
    }
    
    .location-header,
    .location-details,
    .visiting-info,
    .map-section,
    .contact-cta {
        margin-bottom: 2rem;
    }
    
    .location-info {
        padding: 2rem;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .map-container iframe {
        height: 400px;
    }
    
    .address-block {
        padding: 1.5rem;
    }
}
