/*
Theme Name: Elementor Child
Description: Child theme for Elementor with ACF Delivery Locations functionality
Author: Your Name
Template: hello-elementor
Version: 1.0.0
Text Domain: elementor-child
*/

/* ==========================================================================
   Child Theme Styles
   ========================================================================== */

/* Import parent theme styles - handled by functions.php */

/* ==========================================================================
   Delivery Location Pages Styles
   ========================================================================== */

/* Hub page styles */
.alcohol-delivery-hub {
    padding: 40px 0;
}

.delivery-locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.delivery-city-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.delivery-city-section h2 {
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

.neighbourhoods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.neighbourhood-link {
    display: block;
    padding: 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.neighbourhood-link:hover {
    background: #007cba;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Location page styles */
.delivery-location-page {
    /* Add specific styles for location pages */
}

.delivery-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.delivery-hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.delivery-hero .value-prop {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.delivery-cta {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.delivery-cta:hover {
    background: #ff5252;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

/* Content sections */
.delivery-content-section {
    padding: 50px 0;
}

.delivery-content-section:nth-child(even) {
    background: #f8f9fa;
}

.how-it-works {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.step {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #007cba;
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.step h3 {
    margin-bottom: 15px;
    color: #333;
}

/* Service details */
.service-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.service-detail-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #007cba;
}

.service-detail-box h3 {
    margin-bottom: 15px;
    color: #007cba;
}

/* FAQ section */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.faq-question {
    background: #f8f9fa;
    padding: 20px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.faq-answer {
    padding: 20px;
    line-height: 1.6;
}

/* Compliance section */
.compliance-section {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
}

.compliance-section h3 {
    color: #856404;
    margin-bottom: 15px;
}

.compliance-section p {
    color: #856404;
    font-weight: 500;
}

/* Nearby areas */
.nearby-areas {
    margin: 40px 0;
}

.nearby-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.nearby-area-link {
    display: block;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    text-align: center;
    transition: all 0.3s ease;
}

.nearby-area-link:hover {
    background: #007cba;
    color: white;
    text-decoration: none;
}

/* Contact section */
.contact-section {
    text-align: center;
    background: #333;
    color: white;
    padding: 50px 0;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: #007cba;
    text-decoration: none;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .delivery-locations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .neighbourhoods-grid {
        grid-template-columns: 1fr;
    }
    
    .how-it-works {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .delivery-hero h1 {
        font-size: 2em;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
}

/* ==========================================================================
   Elementor Compatibility
   ========================================================================== */

/* Ensure Elementor widgets work properly on location pages */
.elementor-widget-container {
    /* Add any specific styles needed for Elementor widgets */
}

/* Override Elementor container padding on location pages if needed */
.delivery-location-page .elementor-container {
    /* Custom container styles */
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

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

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

.p-30 {
    padding: 30px;
}

/* Button styles */
.btn-primary {
    background: #007cba;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #005a8b;
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #545b62;
    color: white;
    text-decoration: none;
}