/* assets/css/style.css - Complete working navigation */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
    padding-top: 70px; /* Space for fixed nav */
}

/* Navigation - Fixed */
.main-nav {
    background: #1a3a5c;
    color: #fff;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    height: 70px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    display: block;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

.logo h1 {
    font-size: 24px;
    color: #fff;
    margin: 0;
}

.logo i {
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 15px;
}

.nav-links a:hover {
    background: #2a5a7c;
}

.nav-links a.active {
    background: #2a5a7c;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: transparent;
    border: none;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Slideshow */
.slideshow-container {
    width: 100%;
    height: 70vh;
    position: relative;
    overflow: hidden;
    background: #000;
}

.slides-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slide-caption {
    position: relative;
    z-index: 1;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 30px 50px;
    border-radius: 8px;
    text-align: center;
    max-width: 600px;
}

.slide-caption h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.slide-prev, .slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 4px;
    z-index: 2;
}

.slide-prev:hover, .slide-next:hover {
    background: rgba(0,0,0,0.8);
}

.slide-prev { left: 10px; }
.slide-next { right: 10px; }

.slide-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #fff;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Head Section */
.head-section {
    display: flex;
    gap: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.head-photo {
    flex: 0 0 250px;
}

.head-photo img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 2px solid #ddd;
}

.head-message {
    flex: 1;
}

.head-message h3 {
    color: #1a3a5c;
    font-size: 22px;
    margin-bottom: 10px;
}

.head-message h3 i {
    margin-right: 10px;
}

.head-message p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* News Section */
.news-section {
    margin-bottom: 30px;
}

.news-section h2 {
    color: #1a3a5c;
    font-size: 24px;
    margin-bottom: 20px;
    border-left: 4px solid #1a3a5c;
    padding-left: 15px;
}

.news-section h2 i {
    margin-right: 10px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-content {
    padding: 15px;
}

.news-content h4 {
    color: #1a3a5c;
    font-size: 18px;
    margin-bottom: 8px;
}

.news-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Gallery Section */
.gallery-section {
    margin-bottom: 30px;
}

.gallery-section h2 {
    color: #1a3a5c;
    font-size: 24px;
    margin-bottom: 20px;
    border-left: 4px solid #1a3a5c;
    padding-left: 15px;
}

.gallery-section h2 i {
    margin-right: 10px;
}

.gallery-container {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.gallery-thumbs {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.gallery-thumb {
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.gallery-thumb:hover {
    border-color: #1a3a5c;
}

.gallery-thumb img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.thumb-caption {
    font-size: 12px;
    text-align: center;
    padding: 5px;
    background: #f0f0f0;
}

.gallery-description {
    flex: 1;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.gallery-description h4 {
    color: #1a3a5c;
    font-size: 20px;
    margin-bottom: 10px;
}

.gallery-description p {
    margin: 8px 0;
    font-size: 14px;
    color: #555;
}

.gallery-description p i {
    width: 20px;
    color: #1a3a5c;
}

.detail-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #1a3a5c;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.detail-link:hover {
    background: #2a5a7c;
}

.detail-link i {
    margin-right: 5px;
}

/* Map Section */
.map-section {
    margin-bottom: 30px;
}

.map-section h2 {
    color: #1a3a5c;
    font-size: 24px;
    margin-bottom: 20px;
    border-left: 4px solid #1a3a5c;
    padding-left: 15px;
}

.map-section h2 i {
    margin-right: 10px;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Complaints Section */
.complaints-section {
    margin-bottom: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.complaints-section h2 {
    color: #1a3a5c;
    font-size: 24px;
    margin-bottom: 20px;
    border-left: 4px solid #1a3a5c;
    padding-left: 15px;
}

.complaints-section h2 i {
    margin-right: 10px;
}

.complaint-msg {
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.complaint-msg.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.complaint-msg.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.complaints-container {
    display: flex;
    gap: 30px;
}

.complaints-form {
    flex: 1;
}

.complaints-form input,
.complaints-form textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.complaints-form button {
    background: #1a3a5c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.complaints-form button:hover {
    background: #2a5a7c;
}

.complaints-form button i {
    margin-right: 5px;
}

.complaints-list {
    flex: 1;
}

.complaints-list h4 {
    color: #1a3a5c;
    margin-bottom: 15px;
}

.complaint-item {
    background: #f9f9f9;
    padding: 12px;
    margin: 10px 0;
    border-radius: 4px;
    border-left: 3px solid #1a3a5c;
}

.complaint-item strong {
    display: block;
    color: #1a3a5c;
}

.complaint-item p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}

.complaint-item small {
    color: #999;
    font-size: 12px;
}

/* Detail Overlay */
.detail-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.detail-overlay.active {
    display: flex;
}

.detail-box {
    background: #fff;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    padding: 30px;
    position: relative;
    display: flex;
    gap: 20px;
}

.close-detail {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #1a3a5c;
    font-weight: bold;
}

.close-detail:hover {
    color: #c0392b;
}

.detail-image {
    flex: 2;
}

.detail-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.detail-info {
    flex: 1;
}

.detail-info h3 {
    color: #1a3a5c;
    font-size: 24px;
    margin-bottom: 10px;
}

.detail-info p {
    margin: 8px 0;
    font-size: 14px;
    color: #555;
}

.detail-info p i {
    width: 20px;
    color: #1a3a5c;
}

/* Footer */
footer {
    background: #1a3a5c;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .main-nav {
        height: 60px;
        padding: 0 15px;
    }
    
    .nav-container {
        height: 60px;
    }
    
    .logo h1 {
        font-size: 18px;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        background: #1a3a5c;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    }
    
    .nav-links.open {
        display: flex;
    }
    
    .nav-links li {
        display: block;
        width: 100%;
    }
    
    .nav-links a {
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
    }
    
    .hamburger {
        display: flex;
    }
    
    .slideshow-container {
        height: 40vh;
    }
    
    .slide-caption h2 {
        font-size: 24px;
    }
    
    .slide-caption {
        padding: 20px;
        max-width: 90%;
    }
    
    .head-section {
        flex-direction: column;
        text-align: center;
    }
    
    .head-photo {
        flex: 0 0 auto;
    }
    
    .head-photo img {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .gallery-container {
        flex-direction: column;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .complaints-container {
        flex-direction: column;
    }
    
    .detail-box {
        flex-direction: column;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 16px;
    }
    
    .slideshow-container {
        height: 30vh;
    }
    
    .slide-caption h2 {
        font-size: 18px;
    }
    
    .slide-caption p {
        font-size: 14px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Modern Gallery Styles */
.gallery-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.gallery-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.gallery-card-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.gallery-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-card-image img {
    transform: scale(1.05);
}

.gallery-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 58, 92, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
}

.gallery-card-overlay i {
    font-size: 40px;
    margin-bottom: 10px;
}

.gallery-card-overlay span {
    font-size: 16px;
    font-weight: 500;
}

.gallery-card-info {
    padding: 20px;
}

.gallery-card-info h4 {
    color: #1a3a5c;
    font-size: 18px;
    margin-bottom: 8px;
}

.gallery-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #666;
}

.gallery-card-meta i {
    color: #1a3a5c;
    width: 16px;
}

.gallery-card-info p {
    color: #777;
    font-size: 14px;
    line-height: 1.5;
}

/* Detail View Improvements */
.detail-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.detail-overlay.active {
    display: flex;
}

.detail-box {
    background: #fff;
    max-width: 1000px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    display: flex;
    gap: 30px;
}

.close-detail {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    cursor: pointer;
    color: #1a3a5c;
    font-weight: bold;
    transition: color 0.3s;
    z-index: 10;
}

.close-detail:hover {
    color: #c0392b;
}

.detail-image {
    flex: 2;
    min-height: 300px;
}

.detail-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.detail-info {
    flex: 1;
}

.detail-info h3 {
    color: #1a3a5c;
    font-size: 28px;
    margin-bottom: 15px;
}

.detail-info p {
    margin: 10px 0;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.detail-info p i {
    width: 25px;
    color: #1a3a5c;
}

.detail-link {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #1a3a5c;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;
}

.detail-link:hover {
    background: #2a5a7c;
}

/* Responsive for Modern Gallery */
@media (max-width: 768px) {
    .gallery-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .gallery-card-image {
        height: 200px;
    }
    
    .detail-box {
        flex-direction: column;
        padding: 20px;
    }
    
    .detail-image {
        min-height: 200px;
    }
    
    .detail-info h3 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .gallery-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .gallery-card-image {
        height: 180px;
    }
}
/* News Card Styles */
.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 15px;
}

.news-content h4 {
    color: #1a3a5c;
    font-size: 18px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.news-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.news-meta small {
    color: #999;
    font-size: 12px;
}

.read-more {
    color: #1a3a5c;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 10px;
}

/* View All Button */
.view-all-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #1a3a5c;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.view-all-btn:hover {
    background: #2a5a7c;
}

/* News Detail Overlay */
.news-detail-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.news-detail-overlay.active {
    display: flex;
}

.news-detail-box {
    background: #fff;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 30px;
    position: relative;
}

.news-detail-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-detail-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.news-detail-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.news-detail-text h2 {
    color: #1a3a5c;
    font-size: 28px;
    margin-bottom: 10px;
}

.news-detail-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.news-detail-meta i {
    margin-right: 5px;
}

.news-detail-summary,
.news-detail-full {
    margin-bottom: 20px;
}

.news-detail-summary h4,
.news-detail-full h4 {
    color: #1a3a5c;
    font-size: 18px;
    margin-bottom: 10px;
}

.news-detail-summary p,
.news-detail-full p {
    color: #444;
    font-size: 15px;
    line-height: 1.8;
}

.news-detail-full p {
    white-space: pre-wrap;
}

.back-to-news {
    display: inline-block;
    padding: 10px 20px;
    background: #1a3a5c;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;
}

.back-to-news:hover {
    background: #2a5a7c;
}

/* Responsive for News */
@media (max-width: 768px) {
    .news-detail-box {
        padding: 20px;
    }
    
    .news-detail-text h2 {
        font-size: 22px;
    }
    
    .news-detail-summary p,
    .news-detail-full p {
        font-size: 14px;
    }
    
    .news-card img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .news-detail-text h2 {
        font-size: 18px;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }
}






