/* Great Wall Card Elementor Widget Styles */

.gwc-container {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.gwc-card-link {
    text-decoration: none;
    display: block;
}

.gwc-climbing-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gwc-climbing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.gwc-card-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.gwc-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gwc-climbing-card:hover .gwc-card-image img {
    transform: scale(1.05);
}

.gwc-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
}

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

.gwc-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: gwcFadeInUp 0.8s ease-out;
    color: #ffffff;
    line-height: 1.2;
}

.gwc-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: gwcFadeInUp 0.8s ease-out 0.2s both;
    color: #ffffff;
}

.gwc-button-container {
    display: flex;
    justify-content: center;
    animation: gwcFadeInUp 0.8s ease-out 0.4s both;
}

.gwc-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 140px;
    text-align: center;
}

.gwc-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.gwc-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    flex-shrink: 0;
}

@keyframes gwcFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .gwc-container {
        max-width: 350px;
    }
    
    .gwc-card-image {
        height: 450px;
    }
    
    .gwc-title {
        font-size: 2rem;
    }
    
    .gwc-subtitle {
        font-size: 1rem;
    }
    
    .gwc-button {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 130px;
    }
}

@media (max-width: 480px) {
    .gwc-overlay {
        padding: 20px;
    }
    
    .gwc-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .gwc-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .gwc-button {
        padding: 10px 18px;
        font-size: 0.85rem;
        min-width: 120px;
    }
    
    .gwc-card-image {
        height: 400px;
    }
}

/* Elementor Editor Specific Styles */
.elementor-editor-active .gwc-climbing-card {
    pointer-events: none;
}

.elementor-editor-active .gwc-card-link {
    pointer-events: none;
}

/* Activities Grid Styles */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.activities-grid .gwc-container {
    max-width: none;
    width: 100%;
}

/* Grid responsive adjustments */
@media (max-width: 1024px) {
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .activities-grid .gwc-card-image {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .activities-grid .gwc-card-image {
        height: 300px;
    }
}