/* ===================================
   Locations Page Styles
   =================================== */

/* Hero Section with Background Image */
.locations-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 1;
}

.locations-title {
    position: relative;
    z-index: 2;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    word-wrap: break-word;
}

/* Location Map Banner Section */
.location-map-banner {
    padding: 0;
    margin: 0;
    background: #fbdbca;  /* Changed from #fff to #fbdbca */
    width: 100%;
    line-height: 0;
    max-height: 1085px;  /* Updated to 1085px */
    overflow: hidden;
}

.location-map-image {
    width: 100%;
    height: auto;
    max-height: 1085px;  /* Updated to 1085px */
    display: block;
    margin: 0;
    padding: 0;
    object-fit: contain;  /* Changed from 'cover' to 'contain' to show full image without cropping */
}

.map-placeholder {
    padding: 100px 20px;
    text-align: center;
    background: #f5f5f5;
    border: 2px dashed #ddd;
}

.map-placeholder p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

/* Location Highlights Section */
.location-highlights-section {
    padding: 80px 20px;
    background: #fff;
}

.location-highlights-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.location-highlights-section .section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #000;
}

/* Location Highlights Content */
.location-highlights-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Location Category Block - 2 column layout */
.location-category-block {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 30px;
    align-items: center;  /* Changed from 'start' to 'center' to vertically center the icon */
    border: 3px solid #8B4513;
    padding: 30px;
    border-radius: 8px;
}

/* Left side: Icon box only */
.category-icon-box {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #8B4513;
    border-radius: 8px;
    background: #fff;
    flex-shrink: 0;
}

.category-icon-box img {
    max-width: 70px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.category-icon-box i {
    font-size: 50px;
    color: #8B4513;
}

/* Right side: Category content (title at top, then list) */
.category-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.category-title {
    font-size: 24px;
    font-weight: 700;
    color: #8B4513;
    margin: 0;
    text-transform: capitalize;
    /* Removed padding-bottom and border-bottom to remove underline */
}

/* Location list with distances */
.location-list {
    display: flex;
    flex-direction: column;
    gap: 5px;  /* Changed from 10px to 5px */
}

.location-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;  /* Changed from 8px to 5px */
}

.location-name {
    font-size: 16px;
    font-weight: 500;
    color: #822F18;
    line-height: 1.6;
    flex: 1;
}

.location-distance {
    font-size: 16px;
    font-weight: 600;
    color: #222222;
    white-space: nowrap;
    margin-left: 20px;
}

/* No Locations Message */
.no-locations-message {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.no-locations-message p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .locations-hero {
        padding: 60px 0;
    }
    
    .locations-title {
        font-size: 60px;
    }
    
    .location-category-block {
        gap: 30px;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .locations-hero {
        padding: 50px 20px;
    }
    
    .locations-title {
        font-size: 48px;
    }
    
    .location-highlights-section {
        padding: 60px 20px;
    }
    
    .location-highlights-section .section-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .location-category-block {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px;
    }
    
    .category-header {
        flex-direction: row;
        justify-content: flex-start;
        gap: 20px;
    }
    
    .category-icon-box {
        width: 80px;
        height: 80px;
    }
    
    .category-icon-box img {
        max-width: 55px;
        max-height: 55px;
    }
    
    .category-title {
        text-align: left;
        font-size: 20px;
    }
    
    .location-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .location-distance {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .locations-hero {
        padding: 40px 20px;
    }
    
    .locations-title {
        font-size: 36px;
    }
    
    .location-highlights-section {
        padding: 50px 15px;
    }
    
    .location-highlights-section .section-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .location-category-block {
        padding: 15px;
        border-width: 2px;
    }
    
    .category-header {
        gap: 15px;
    }
    
    .category-icon-box {
        width: 70px;
        height: 70px;
        border-width: 2px;
    }
    
    .category-icon-box img {
        max-width: 45px;
        max-height: 45px;
    }
    
    .category-icon-box i {
        font-size: 40px;
    }
    
    .category-title {
        font-size: 18px;
    }
    
    .location-name,
    .location-distance {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .locations-title {
        font-size: 32px;
    }
    
    .location-highlights-section .section-title {
        font-size: 28px;
    }
}
