/**
 * GCCC Custom Plugin - Frontend Styles
 * Basic custom styles for Gold Creek website
 */

/* Google Maps Styles */
.gccc-map {
    width: 100%;
    height: 400px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 20px 0;
}

.gccc-map.small {
    height: 250px;
}

.gccc-map.large {
    height: 600px;
}

.gccc-map.fullwidth {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* Map container wrapper */
.gccc-map-wrapper {
    position: relative;
    margin: 20px 0;
}

.gccc-map-wrapper.loading::before {
    content: 'Loading map...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Custom info window styles */
.gccc-info-window {
    max-width: 300px;
}

.gccc-info-window h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
}

.gccc-info-window p {
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 1.4;
}

.gccc-info-window .address {
    color: #666;
    font-size: 13px;
}

/* Custom containers */
.gccc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Custom buttons */
.gccc-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.gccc-btn:hover {
    background-color: #005a87;
    color: #fff;
    text-decoration: none;
}

/* Custom sections */
.gccc-section {
    padding: 40px 0;
}

.gccc-section h2 {
    margin-bottom: 20px;
    color: #333;
}

/* Custom grid */
.gccc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* Custom cards */
.gccc-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .gccc-container {
        padding: 0 15px;
    }
    
    .gccc-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gccc-section {
        padding: 20px 0;
    }

    .gccc-map {
        height: 300px;
    }

    .gccc-map.large {
        height: 400px;
    }
}

