/* Location Section CSS - Premium Redesign */

#location-section {
    background-color: var(--organic-beige);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.location-container {
    display: flex;
    align-items: center; /* Ensures vertical centering on desktop */
    justify-content: space-between;
    gap: 100px;
}

/* Details Side */
.location-details {
    flex: 1;
}

.location-quote {
    font-size: 1.2rem;
    color: var(--brand-brown);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 35px;
    opacity: 0.9;
    font-family: var(--font-heading);
    border-left: 2px solid var(--brand-gold);
    padding-left: 20px;
}

.address-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(184, 134, 11, 0.1);
}

.address-icon {
    font-size: 1.5rem;
    color: var(--brand-gold);
    margin-top: 5px;
}

.address {
    font-size: 1.1rem;
    color: var(--brand-brown);
    line-height: 1.6;
}

.address strong {
    font-size: 1.25rem;
    display: block;
    margin-bottom: 5px;
}

.distances {
    margin-bottom: 40px;
    list-style: none;
    padding: 0;
}

.distances li {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.dist-icon {
    width: auto;
    height: auto;
    min-width: unset;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-brown); /* Keep brown for contrast */
    font-size: 2.2rem; /* Increased size significantly */
    box-shadow: none;
    border: none;
    transition: all 0.3s ease;
}

.distances li:hover .dist-icon {
    background: var(--brand-brown);
    color: #fff;
    transform: scale(1.1);
}

.dist-info {
    color: var(--brand-brown);
    font-size: 1.05rem;
    line-height: 1.5;
    padding-top: 10px;
}

.dist-info strong {
    color: var(--brand-brown);
    font-weight: 700;
}

/* Location Highlights Layout */
.location-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px; /* Reduced from 60px */
    padding-top: 30px; /* Reduced from 40px */
    border-top: 1px solid rgba(184, 134, 11, 0.1);
    margin-left: 5%;
    margin-right: 5%;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 180px;
    max-width: 250px;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: default;
}

.highlight-item .dist-icon {
    margin: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Hover Effects */
.highlight-item:hover {
    transform: translateY(-5px);
}

.highlight-item:hover .dist-icon {
    background: transparent;
    color: var(--brand-brown);
    transform: scale(1.1);
    box-shadow: none;
}

.highlight-item .dist-info {
    padding-top: 0;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.highlight-item:hover .dist-info {
    color: var(--brand-brown);
}

.premium-highlight {
    background: linear-gradient(120deg, rgba(184, 134, 11, 0.1) 0%, rgba(184, 134, 11, 0.2) 100%);
    border-radius: 4px;
    padding: 2px 6px;
    color: var(--brand-brown);
    font-weight: 800;
    border-bottom: 2px solid var(--brand-gold);
}

.highlight-label {
    background: rgba(184, 134, 11, 0.05);
    color: var(--brand-brown);
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 4px;
    border-left: 3px solid var(--brand-gold);
    display: inline-block;
    margin-bottom: 4px;
}

/* Staggered Delays for Highlights */
.highlight-item:nth-child(1) { transition-delay: 0.1s; }
.highlight-item:nth-child(2) { transition-delay: 0.2s; }
.highlight-item:nth-child(3) { transition-delay: 0.3s; }
.highlight-item:nth-child(4) { transition-delay: 0.4s; }
.highlight-item:nth-child(5) { transition-delay: 0.5s; }

@media (max-width: 992px) {
    .location-highlights {
        gap: 20px;
    }
    
    .highlight-item {
        min-width: 150px;
    }
}

/* Map Side */
.location-map {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 8px solid #fff;
    height: auto;
    align-self: center;
    position: relative;
    background: #fff;
}

.location-map img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    filter: sepia(20%) contrast(1.1);
}

/* Responsive */
@media (max-width: 1200px) {
    .location-container {
        gap: 50px;
    }
}

@media (max-width: 992px) {
    .location-container {
        flex-direction: column;
        gap: 60px;
    }

    .location-details {
        width: 100%;
    }

    .location-map {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    #location-section {
        padding: 60px 0;
    }

    .location-details {
        text-align: center;
    }

    .location-details h2 {
        font-size: 2.2rem;
    }

    .location-details .section-header {
        text-align: center !important;
        margin-bottom: 30px !important;
    }

    .location-details .premium-divider {
        margin: 0 auto !important;
    }

    .location-quote {
        font-size: 1.1rem;
        border-left: none;
        padding-left: 0;
        text-align: center;
    }

    .address-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .btn-directions {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }
}

/* Get Directions Button */
.btn-directions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: var(--brand-brown, #1a2c21);
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1.5px solid rgba(26, 44, 33, 0.2);
    margin-top: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.btn-directions i {
    font-size: 1.1rem;
    color: var(--brand-brown, #1a2c21);
    transition: transform 0.4s ease;
}

.btn-directions:hover {
    background: var(--brand-brown, #1a2c21);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26, 44, 33, 0.15);
    border-color: var(--brand-brown, #1a2c21);
}

.btn-directions:hover i {
    color: #fff;
    transform: translateX(5px) rotate(45deg);
}

.btn-directions:active {
    transform: translateY(-1px);
}
