/* Transmission Page Specific Styles */

/* Transmission Hero Section - Enhanced */
.transmission-hero {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .transmission-hero {
        min-height: 350px;
    }
}

.transmission-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.transmission-hero .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.transmission-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: -1;
}

.transmission-hero .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white-color);
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 4rem 2rem;
}

@media screen and (max-width: 768px) {
    .transmission-hero .hero-content {
        min-height: 350px;
        padding: 2rem 1.5rem;
    }
}

.transmission-hero .hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.15;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease;
}

@media screen and (max-width: 992px) {
    .transmission-hero .hero-text h1 {
        font-size: 2.75rem;
    }
}

@media screen and (max-width: 768px) {
    .transmission-hero .hero-text h1 {
        font-size: 2.25rem;
    }
}

.transmission-hero .hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 600;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5), 0 1px 5px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.01em;
    animation: fadeInUp 0.8s ease 0.2s both;
}

@media screen and (max-width: 768px) {
    .transmission-hero .hero-subtitle {
        font-size: 1.15rem;
    }
}

.transmission-hero .hero-text p {
    font-size: 1.15rem;
    opacity: 0.95;
    max-width: 850px;
    margin: 1.5rem auto 0;
    line-height: 1.7;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5), 0 1px 5px rgba(0, 0, 0, 0.4);
    font-weight: 400;
    animation: fadeInUp 0.8s ease 0.4s both;
}

@media screen and (max-width: 768px) {
    .transmission-hero .hero-text p {
        font-size: 1rem;
        margin-top: 1rem;
    }
}

/* Network Overview Section */
.network-overview {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--white-color) 0%, #f8f9fa 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--primary-color), #0066A3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 1rem auto 0;
    line-height: 1.7;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Network Stats */
.network-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: var(--white-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid rgba(0, 78, 137, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--accent-color), var(--primary-color));
    transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.stat-card:hover::before {
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 78, 137, 0.15);
    border-color: var(--primary-color);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover .stat-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.stat-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover .stat-icon i {
    color: var(--white-color);
}

.stat-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.stat-content p {
    color: #666;
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

/* Transmission Infrastructure Section */
.transmission-infrastructure {
    padding: 6rem 0;
    background: var(--white-color);
}

.infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.infrastructure-card {
    background: var(--white-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid rgba(0, 78, 137, 0.1);
}

.infrastructure-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 78, 137, 0.15);
    border-color: var(--primary-color);
}

.card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.card-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    color: #555;
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1rem;
    line-height: 1.7;
    transition: all 0.3s ease;
}

.feature-list li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.feature-list li i {
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* Distribution Network Section */
.distribution-network {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, var(--white-color) 100%);
}

.distribution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.distribution-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.distribution-text p {
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.distribution-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 4px solid transparent;
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 78, 137, 0.15);
    border-left-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover .feature-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover .feature-icon i {
    color: var(--white-color);
}

.feature-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.feature-content p {
    color: #666;
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

.distribution-image {
    position: relative;
}

.distribution-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.distribution-image:hover img {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

/* Grid Modernization Section */
.grid-modernization {
    padding: 6rem 0;
    background: var(--white-color);
}

.modernization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.modernization-card {
    background: var(--white-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid rgba(0, 78, 137, 0.1);
    position: relative;
    overflow: hidden;
}

.modernization-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modernization-card:hover::before {
    transform: scaleX(1);
}

.modernization-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 78, 137, 0.15);
    border-color: var(--primary-color);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modernization-card:hover .card-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.card-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modernization-card:hover .card-icon i {
    color: var(--white-color);
}

.modernization-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.modernization-card p {
    color: #666;
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

/* Enhanced Gallery Section for Transmission */
.department-gallery {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--white-color) 0%, #f8f9fa 100%);
    position: relative;
}

.department-gallery .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.department-gallery .section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--primary-color), #0066A3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 1.5rem;
}

.department-gallery .section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

.department-gallery .section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.gallery-container {
    position: relative;
    margin-bottom: 2rem;
}

.gallery-viewport {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.gallery-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    width: 100%;
}

.gallery-item {
    flex: 0 0 33.333%;
    min-width: 33.333%;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.gallery-item:first-child {
    padding-left: 0;
}

.gallery-item:last-child {
    padding-right: 0;
}

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 2rem;
    color: var(--white-color);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white-color);
    border: 2px solid rgba(0, 78, 137, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    font-size: 1.2rem;
}

.gallery-nav-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 78, 137, 0.3);
}

.gallery-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.gallery-prev {
    left: -25px;
}

.gallery-next {
    right: -25px;
}

.gallery-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 78, 137, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-dot:hover {
    background: rgba(0, 78, 137, 0.4);
    transform: scale(1.2);
}

.gallery-dot.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
    border-color: var(--primary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional Visual Enhancements */
.transmission-hero .hero-background img {
    animation: subtleZoom 20s ease-in-out infinite;
}

@keyframes subtleZoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Improved focus states for accessibility */
.gallery-nav-btn:focus,
.stat-card:focus,
.infrastructure-card:focus,
.modernization-card:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* Responsive Design for Transmission Page */
@media screen and (max-width: 992px) {
    .distribution-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .distribution-image {
        order: -1;
    }
    
    .gallery-item {
        flex: 0 0 50%;
        min-width: 50%;
    }
    
    .gallery-item img {
        height: 350px;
    }
    
    .gallery-prev {
        left: 10px;
    }
    
    .gallery-next {
        right: 10px;
    }
    
    .gallery-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .transmission-hero {
        min-height: 350px;
    }
    
    .transmission-hero .hero-content {
        padding: 2rem 1.5rem;
    }
    
    .transmission-hero .hero-text h1 {
        font-size: 2.25rem;
    }
    
    .transmission-hero .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .transmission-hero .hero-text p {
        font-size: 1rem;
    }
    
    .network-overview,
    .transmission-infrastructure,
    .distribution-network,
    .grid-modernization,
    .department-gallery {
        padding: 4rem 0;
    }
    
    .section-header h2 {
        font-size: 2.25rem;
        padding-bottom: 1rem;
    }
    
    .section-header p,
    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .network-stats,
    .infrastructure-grid,
    .modernization-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-item {
        flex: 0 0 100%;
        min-width: 100%;
        padding: 0;
    }
    
    .gallery-item img {
        height: 300px;
    }
    
    .gallery-prev,
    .gallery-next {
        width: 40px;
        height: 40px;
    }
    
    .gallery-prev {
        left: 5px;
    }
    
    .gallery-next {
        right: 5px;
    }
    
    .stat-card,
    .infrastructure-card,
    .modernization-card {
        padding: 2rem 1.5rem;
    }
}

