/* Regions Hero Section */
.regions-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #667eea 100%);
    background-attachment: fixed;
    padding: 80px 0;
    color: white;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.regions-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="map" patternUnits="userSpaceOnUse" width="100" height="100"><path d="M10,30 L30,10 L50,25 L70,15 L90,35 L75,50 L85,70 L60,85 L40,75 L20,90 L5,70 Z" stroke="white" stroke-width="1" opacity="0.1" fill="none"/></pattern></defs><rect width="100" height="100" fill="url(%23map)"/></svg>');
    opacity: 0.3;
}

.regions-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.regions-breadcrumb {
    margin-bottom: 35px;
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.15);
    padding: 12px 25px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.regions-breadcrumb a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.regions-breadcrumb a:hover {
    color: white;
    transform: translateX(-3px);
}

.regions-breadcrumb i {
    margin: 0 15px;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

.regions-breadcrumb span {
    color: white;
    font-weight: 600;
}

.regions-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -1px;
    line-height: 1.2;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.regions-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Regions Content */
.regions-content {
    padding-bottom: 80px;
}

/* Regions Info */
.regions-info {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.regions-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.regions-info p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.7;
    margin: 0;
}

.regions-stats {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 16px;
    min-width: 120px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(var(--primary-rgb), 0.1);
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 600;
    margin-top: 8px;
}

/* Regions Sections */
.regions-section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(var(--primary-rgb), 0.1);
}

.section-title i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

/* Region Cards */
.region-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-color: rgba(var(--primary-rgb), 0.2);
}


.region-image {
    width: 80px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

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

.region-card:hover .region-image img {
    transform: scale(1.1);
}

.region-info {
    flex: 1;
}

.region-info h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.region-card:hover .region-info h5 {
    color: var(--primary-color);
}

.region-card.tourist:hover .region-info h5 {
    color: #36d1dc;
}

.region-info > span {
    font-size: 0.9rem;
    color: var(--gray);
    display: block;
    margin-bottom: 12px;
}

.region-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.region-features span {
    font-size: 0.8rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.region-features i {
    width: 14px;
    text-align: center;
    color: var(--primary-color);
}

.region-card.tourist .region-features i {
    color: #36d1dc;
}


/* CTA Section */
.regions-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #667eea 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.regions-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" patternUnits="userSpaceOnUse" width="20" height="20"><circle cx="10" cy="10" r="1.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 15px 35px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 180px;
    justify-content: center;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

.btn-primary:hover {
    background: rgba(255,255,255,0.9);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 991px) {
    .regions-hero {
        padding: 60px 0;
    }

    .regions-hero-title {
        font-size: 2.75rem;
    }

    .regions-info {
        padding: 30px;
    }

    .regions-info h3 {
        font-size: 1.7rem;
    }

    .regions-stats {
        gap: 20px;
        margin-top: 20px;
        justify-content: center;
    }

    .stat-item {
        min-width: 100px;
        padding: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .regions-hero {
        padding: 50px 0;
        margin-bottom: 60px;
    }

    .regions-hero-title {
        font-size: 2.25rem;
    }

    .regions-hero-subtitle {
        font-size: 1.1rem;
    }

    .regions-info {
        padding: 25px;
        text-align: center;
    }

    .regions-info h3 {
        font-size: 1.5rem;
    }

    .regions-info p {
        font-size: 1rem;
    }

    .regions-stats {
        flex-direction: column;
        gap: 15px;
        margin-top: 25px;
    }

    .stat-item {
        margin: 0 auto;
    }

    .section-title {
        font-size: 1.4rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .region-card {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .region-image {
        margin: 0 auto;
    }

    .region-features {
        align-items: center;
    }

    .regions-cta {
        padding: 40px 25px;
    }

    .cta-content h3 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 15px 25px;
    }

    .regions-content {
        padding-bottom: 60px;
    }
}

@media (max-width: 576px) {
    .regions-hero-title {
        font-size: 1.9rem;
    }

    .regions-info {
        padding: 20px;
    }

    .regions-section {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .region-card {
        padding: 12px;
    }

    .region-image {
        width: 60px;
        height: 45px;
    }

    .region-info h5 {
        font-size: 1.1rem;
    }

    .regions-cta {
        padding: 30px 20px;
    }

    .cta-content h3 {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}

/* Animation for Cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.region-card {
    animation: fadeInUp 0.6s ease-out;
}

.region-card:nth-child(1) { animation-delay: 0.1s; }
.region-card:nth-child(2) { animation-delay: 0.2s; }
.region-card:nth-child(3) { animation-delay: 0.3s; }
.region-card:nth-child(4) { animation-delay: 0.4s; }

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Region Card Click Effect */
@keyframes cardClick {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.98);
    }
    100% {
        transform: scale(1);
    }
}

.region-card:active {
    animation: cardClick 0.2s ease;
}
