@charset "UTF-8";

/* ===================================
   License Section
=================================== */
.license {
    padding: 80px 20px;
    background: #f8f9fa;
}

.license__container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Tabs */
.license__tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.license__tab {
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.license__tab:hover {
    border-color: #0066cc;
    color: #0066cc;
}

.license__tab.active {
    background: #0066cc;
    border-color: #0066cc;
    color: #fff;
}

/* Tab Contents */
.license__content {
    display: none;
}

.license__content.active {
    display: block;
}

/* Grid */
.license__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* License Card */
.license-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.license-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.license-card__img {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.license-card__img::after {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.license-card:hover .license-card__img::after {
    opacity: 1;
}

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

.license-card:hover .license-card__img img {
    transform: scale(1.05);
}

.license-card__title {
    padding: 20px 15px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.5;
    background: #fff;
}

/* ===================================
   Responsive
=================================== */
@media (max-width: 1100px) {
    .license__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .license__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .license__tab {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* Production Grid */
.production__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.production-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.production-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.production-card__header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    border-bottom: 1px solid #eee;
}

.production-card__header i {
    font-size: 24px;
    color: #0066cc;
    margin-top: 3px;
}

.production-card__header h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.production-card__header p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.production-card__images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
}

.production-card__img {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    position: relative;
    cursor: pointer;
}

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

.production-card__img:hover img {
    transform: scale(1.05);
}

.production-card__img::after {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.production-card__img:hover::after {
    opacity: 1;
}

/* ===================================
   Modal
=================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.modal__content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal__close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.modal__close:hover {
    opacity: 0.7;
}

.modal__img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
}

.modal__title {
    margin-top: 15px;
    font-size: 16px;
    color: #fff;
    text-align: center;
}

@media (max-width: 900px) {
    .production__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .license {
        padding: 60px 20px;
    }
    
    .license__tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .license__tab {
        width: 100%;
        max-width: 280px;
    }
    
    .license__grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .production-card__header {
        padding: 20px;
    }
    
    .production-card__header h3 {
        font-size: 14px;
    }
}