/* St. Xavier School Website Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.25;
    color: #333;
    background-color: #f8f9fa;
    padding-top: 145px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #1e7c3c 0%, #2a9860 50%, #27ae60 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255,255,255,0.1);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.logo-section {
    width: 100%;
    text-align: center;
}

.nav-section {
    width: 100%;
    text-align: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.logo i {
    font-size: 2rem;
    color: #f7f6f6;
    animation: pulse 2s infinite;
}

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

.logo:hover {
    transform: none;
}

.logo span {
    background: linear-gradient(45deg, #ffffff, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 0.3rem;
    flex-wrap: wrap;
    justify-content: center;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.1);
    font-size: 1.1rem;
    backdrop-filter: blur(5px);
}

nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

nav ul li a:hover::before {
    left: 100%;
}

nav ul li a:hover {
    background-color: #3e8e41;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    border-radius: 0;
}

nav ul li a i {
    font-size: 0.8rem;
    color: #f39c12;
    margin-right: 0.5rem;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(243, 156, 18, 0.1);
    padding: 4px;
    transition: all 0.3s ease;
}

nav ul li a:hover i {
    transform: scale(1.2);
    background: rgba(243, 156, 18, 0.2);
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
    transition: all 0.3s ease;
}

/* Admin Dashboard Header Styles */
.admin-dashboard-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-header-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.admin-logo-section {
    display: flex;
    align-items: center;
}

.admin-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.admin-logo i {
    font-size: 2rem;
    margin-right: 0.75rem;
    color: #ffd700;
}

.admin-logo span {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.admin-logo:hover {
    transform: translateY(-2px);
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
}

.admin-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.admin-nav-items {
    display: flex;
    align-items: center;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: rgba(255,255,255,0.9);
    padding: 0.5rem 0.75rem;
    font-weight: 400;
    font-size: 0.85rem;
}

.admin-nav-item i {
    font-size: 0.8rem;
    margin-right: 0.4rem;
    color: rgba(255,255,255,0.8);
}

.admin-nav-item span {
    font-size: 0.9rem;
}

.admin-nav-item.active {
    background: rgba(255,255,255,0.1);
}

/* Dropdown Menu Styles */
nav ul li.dropdown {
    position: relative;
}

nav ul li .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3498db 100%);
    border-radius: 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0.5rem 0;
    border: 1px solid rgba(255,255,255,0.1);
}

nav ul li.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

nav ul li .dropdown-menu li {
    list-style: none;
}

nav ul li .dropdown-menu li a {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    display: block;
    transition: all 0.3s ease;
    border-radius: 0 !important;
    font-weight: 400;
    background: transparent;
    border: none;
}

nav ul li .dropdown-menu li a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(5px);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    border-radius: 0 !important;
}

nav ul li .dropdown-menu li a i {

    color: #f39c12;

    font-size: .9rem;

    margin-right: 0.2rem;

}





/* Added for dropdown menu show simple but attracctive */

.dropdown {

  position: relative;

}



nav ul li .dropdown-content {

  display: none;

  position: absolute;

  top: 100%;

  background-color: rgba(254, 253, 255, 0.3);

  min-width: 160px;

  box-shadow: 0 8px 16px rgba(0,0,0,0.3);

  transform: translateY(-10px);

  transition: all 0.3s ease;

  z-index: 1000;

  padding: 0.1rem 0;

  border: 1px solid rgba(255,255,255,0.1);

  border-radius: 0;

  text-align: left;

}



.dropdown-content a {

  color: rgba(3, 15, 180, 0.973);

  padding: 8px 16px;

  text-decoration: none;

  display: block;

  border-radius: 0;

  font-size: .9rem;

}



.dropdown-content a:hover {

  background-color: #f1f1f1;

}



/* Nested Dropdown Styles */

.dropdown-content .dropdown {

  position: relative;

}



.dropdown-content .dropdown .dropdown-content {

  display: none;

  position: absolute;

  left: 100%;

  top: 0;

  background-color: rgba(254, 253, 255, 0.95);

  min-width: 160px;

  box-shadow: 0 8px 16px rgba(0,0,0,0.3);

  transform: translateX(-10px);

  transition: all 0.3s ease;

  z-index: 1001;

  padding: 0.1rem 0;

  border: 1px solid rgba(255,255,255,0.1);

  border-radius: 0;

  text-align: left;

}



.dropdown-content .dropdown:hover .dropdown-content {

  display: block;

  transform: translateX(0);

}



.dropdown-content .dropdown > a::after {

  content: ' \f054';

  font-family: 'Font Awesome 6 Free';

  font-weight: 900;

  float: right;

  font-size: 0.7rem;

  margin-top: 4px;

}



.dropdown:hover > .dropdown-content {

  display: block;

}



.dropdown:hover .dropdown-toggle {

  background-color: #3e8e41;

}



/* Mobile Menu Toggle */

.mobile-menu-toggle {

    display: none;

    background: rgba(255,255,255,0.2);

    border: none;

    color: white;

    padding: 0.8rem;

    border-radius: 10px;

    cursor: pointer;

    font-size: 1.5rem;

    transition: all 0.3s ease;

}



.mobile-menu-toggle:hover {

    background: rgba(255,255,255,0.3);

    transform: scale(1.1);

}



/* Enhanced Active Navigation Link */

nav a.active {

    background: rgba(243, 156, 18, 0.3);

    border: 1px solid rgba(243, 156, 18, 0.5);

    box-shadow: 0 0 15px rgba(243, 156, 18, 0.3);

}



nav a.active i {

    color: #f39c12;

    transform: scale(1.1);

}



.captcha-container {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 0.5rem;

}

.captcha-image {

    border: 1px solid #ddd;

    border-radius: 4px;

    cursor: pointer;

    transition: border-color 0.3s;

}

.captcha-image:hover {

    border-color: #3498db;

}

.captcha-input {

    flex: 1;

}



.captcha-box {

    width: 150px;

    height: 50px;

    background: white;

    border: 2px solid #333;

    text-align: center;

    line-height: 50px;

    font-size: 20px;

    font-weight: bold;

    letter-spacing: 4px;

    color: #000;

    font-family: Courier New, monospace;

}



/* Hero Section */

.hero {

    position: relative;

    background: none; /* Remove the static background */

    height: 650px;

}



.slideshow-container {

    position: relative;

    width: 100%;

    height: 100%;

    overflow: hidden;

}



.hero-content {

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    text-align: center;

    color: rgb(255, 255, 255);

    text-shadow: 4px 4px 8px #660202fd;

    z-index: 5;

    width: 100%;

    max-width: 800px;

    padding: 0 20px;

}



section.container {

    padding: 4rem 0;

    position: relative;

    z-index: 1;

}



.slide {

    position: absolute;

    width: 100%;

    height: 100%;

    opacity: 0;

    transition: opacity 1s ease-in-out;

}

.slide.active {

    opacity: 1;

}

.slide img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.slide-prev, .slide-next {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    background: rgba(255,255,255,0.3);

    color: white;

    border: none;

    padding: 15px;

    cursor: pointer;

    font-size: 20px;

    border-radius: 50%;

    z-index: 10;

    transition: background 0.3s;

}

.slide-prev:hover, .slide-next:hover {

    background: rgba(255,255,255,0.5);

}

.slide-prev {

    left: 20px;

}

.slide-next {

    right: 20px;

}

.slide-dots {

    position: absolute;

    bottom: 20px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    gap: 10px;

    z-index: 10;

}

.dot {

    width: 12px;

    height: 12px;

    border-radius: 50%;

    background: rgba(255,255,255,0.5);

    cursor: pointer;

    transition: background 0.3s;

}

.dot.active {

    background: white;

}

.dot:hover {

    background: rgba(255,255,255,0.8);

}



.hero-content h1 {

    font-size: 3rem;

    margin-bottom: 1rem;

}



.hero-content p {

    font-size: 1.2rem;

    margin-bottom: 2rem;

}



.btn {

    display: inline-block;

    padding: 12px 30px;

    background-color: #3498db;

    color: white;

    text-decoration: none;

    border-radius: 5px;

    transition: background-color 0.3s;

    border: none;

    cursor: pointer;

}



.btn:hover {

    background-color: #2980b9;

}



/* Section Styles */

section {

    padding: 4rem 0;

}



.section-title {

    text-align: center;

    font-size: 2.5rem;

    margin-bottom: 3rem;

    color: #044e97;

}



/* Content Grid Layout */

.content-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 2rem;

    align-items: start;

}



.notices-section {

    background: white;

    padding: 2rem;

    border-radius: 10px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.1);

}



.gallery-section {

    background: #f8f9fa;

    padding: 2rem;

    border-radius: 10px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.1);

}



/* Scrolling Notices */

.scrolling-notices {

    height: 400px;

    overflow: hidden;

    position: relative;

}



.notice-item-link {

    text-decoration: none;

    color: inherit;

    display: block;

    transition: all 0.3s ease;

}



.notice-item-link:hover {

    transform: translateX(5px);

}



.notice-item-link:hover .notice-item {

    background-color: #f8f9fa;

    border-left-color: #3498db;

}



/* Notice Board Styles */

.notice-board {

    background: white;

    padding: 2rem;

    border-radius: 10px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.1);

    margin-bottom: 2rem;

}



.notice-item {

    border-left: 4px solid #3498db;

    padding: 1rem;

    margin-bottom: 1rem;

    background-color: #f8f9fa;

    border-radius: 5px;

}



.notice-title {

    font-size: 1.2rem;

    font-weight: bold;

    color: #2c3e50;

    margin-bottom: 0.5rem;

}



.notice-date {

    color: #7f8c8d;

    font-size: 0.9rem;

    margin-bottom: 0.5rem;

}



.notice-content {

    color: #555;

    line-height: 1.5;

}



/* Scrolling Gallery */

.scrolling-gallery {

    height: 400px;

    overflow: hidden;

    position: relative;

    display: flex;

    flex-direction: column;

    gap: 0.5rem;

}



.photo-item-link {

    text-decoration: none;

    color: inherit;

    display: block;

    transition: all 0.3s ease;

}



.photo-item-link:hover {

    transform: translateX(5px);

}



.photo-item-link:hover .photo-thumbnail {

    box-shadow: 0 4px 15px rgba(0,0,0,0.2);

    border-color: #3498db;

}



.photo-thumbnail {

    display: flex;

    align-items: center;

    gap: 1rem;

    padding: 0.5rem;

    background-color: #f8f9fa;

    border-radius: 8px;

    border: 2px solid transparent;

    transition: all 0.3s ease;

}



.photo-thumbnail img {

    width: 80px;

    height: 60px;

    object-fit: cover;

    border-radius: 4px;

    flex-shrink: 0;

}



.photo-info {

    flex: 1;

    min-width: 0;

}



.photo-title {

    font-size: 0.9rem;

    font-weight: bold;

    color: #2c3e50;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}



/* Gallery Styles */

.gallery-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 2rem;

    margin-top: 2rem;

}



.album-card {

    background: white;

    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 5px 15px rgba(0,0,0,0.1);

    transition: transform 0.3s;

}



.album-card:hover {

    transform: translateY(-5px);

}



.album-cover {

    width: 100%;

    height: 200px;

    object-fit: cover;

}



.album-info {

    padding: 1.5rem;

}



.album-title {

    font-size: 1.3rem;

    font-weight: bold;

    color: #2c3e50;

    margin-bottom: 0.5rem;

}



.album-description {

    color: #7f8c8d;

    line-height: 1.5;

}



/* Photo Gallery */

.photos-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));

    gap: 1rem;

    margin-top: 2rem;

}



.photo-item {

    position: relative;

    overflow: hidden;

    border-radius: 10px;

    cursor: pointer;

}



.photo-item img {

    width: 100%;

    height: 200px;

    object-fit: cover;

    transition: transform 0.3s;

}



.photo-item:hover img {

    transform: scale(1.1);

}



.photo-caption {

    position: absolute;

    bottom: 0;

    left: 0;

    right: 0;

    background: linear-gradient(transparent, rgba(0,0,0,0.8));

    color: white;

    padding: 1rem;

    transform: translateY(100%);

    transition: transform 0.3s;

}



.photo-item:hover .photo-caption {

    transform: translateY(0);

}



/* Contact Form */

.contact-form {

    background: white;

    padding: 2rem;

    border-radius: 10px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.1);

    max-width: 600px;

    margin: 0 auto;

}



.form-group {

    margin-bottom: 1.5rem;

}



.form-group label {

    display: block;

    margin-bottom: 0.5rem;

    font-weight: bold;

    color: #2c3e50;

}



.form-group input,

.form-group textarea {

    width: 100%;

    padding: 12px;

    border: 1px solid #ddd;

    border-radius: 5px;

    font-size: 1rem;

}



.form-group textarea {

    height: 120px;

    resize: vertical;

}



/* Footer - Compact & Sleek Design */

footer {

    background: linear-gradient(135deg, #1e7c3c 0%, #2a9860 50%, #27ae60 100%);

    color: #ecf0f1;

    padding: 1.5rem 0 0.8rem;

    margin-top: 2rem;

    border-top: 3px solid #27ae60;

}



.footer-content {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 1.5rem;

    margin-bottom: 1rem;

}



.footer-section h3 {

    margin-bottom: 0.5rem;

    color: #27ae60;

    font-size: 1rem;

    font-weight: 600;

}



.footer-section p,

.footer-section ul {

    color: white;

    line-height: 1.5;

    font-size: 0.9rem;

}



.footer-section ul {

    list-style: none;

}



.footer-section ul li a {

    color: white;

    text-decoration: none;

}



.footer-bottom {

    text-align: center;

    padding-top: 1rem;

    border-top: 1px solid rgba(255,255,255,0.1);

    margin-top: 0.5rem;

    font-size: 0.85rem;

    color: #95a5a6;

}



.footer-links a {

    color: white;

    text-decoration: none;

    margin: 0 0.5rem;

    padding: 0 0.5rem;

    border-right: 1px solid rgba(255,255,255,0.3);

}



.footer-links a:last-child {

    border-right: none;

}



/* Back to Top Button */

.back-to-top {

    position: fixed;

    bottom: 30px;

    right: 30px;

    width: 45px;

    height: 45px;

    border-radius: 50%;

    background: linear-gradient(135deg, #27ae60, #2ecc71);

    color: white;

    border: none;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1rem;

    opacity: 0;

    visibility: hidden;

    transition: all 0.3s ease;

    z-index: 1000;

    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);

}



.back-to-top.visible {

    opacity: 1;

    visibility: visible;

}



.back-to-top:hover {

    transform: translateY(-3px);

    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);

    background: linear-gradient(135deg, #2ecc71, #27ae60);

}



/* Admin Styles */

.admin-container {

    background: white;

    padding: 2rem;

    border-radius: 10px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.1);

    margin: 2rem auto;

    max-width: 800px;

}



.admin-header {

    background: #2c3e50;

    color: white;

    padding: 1rem;

    border-radius: 5px 5px 0 0;

    margin: -2rem -2rem 2rem -2rem;

}



.admin-nav {

    display: flex;

    gap: 1rem;

    margin-bottom: 2rem;

}



.admin-nav a {

    padding: 0.5rem 1rem;

    background: #3498db;

    color: white;

    text-decoration: none;

    border-radius: 5px;

    transition: background-color 0.3s;

}



.admin-nav a:hover {

    background: #2980b9;

}



/* Responsive Design */

@media (max-width: 768px) {

    body {

        padding-top: 80px;

    }

    

    .header-content {

        flex-direction: column;

        gap: 1rem;

    }

    

    .logo {

        font-size: 1.5rem;

    }

    

    .logo i {

        font-size: 1.8rem;

    }

    

    nav {

        position: fixed;

        top: 0;

        left: -100%;

        width: 80%;

        height: 100vh;

        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3498db 100%);

        z-index: 999;

        transition: left 0.3s ease;

        padding: 2rem;

        box-shadow: 2px 0 10px rgba(0,0,0,0.2);

    }

    

    nav.mobile-active {

        left: 0;

    }

    

    nav ul {

        flex-direction: column;

        gap: 0.5rem;

        text-align: center;

    }

    

    nav ul li a {

        padding: 1rem;

        border-radius: 10px;

        font-size: 1.1rem;

        margin-bottom: 0.5rem;

    }

    

    .mobile-menu-toggle {

        display: block;

        position: fixed;

        top: 1rem;

        right: 1rem;

        z-index: 1001;

    }

    

    .mobile-menu-toggle.active {

        background: rgba(243, 156, 18, 0.3);

        border: 1px solid rgba(243, 156, 18, 0.5);

    }

    

    .content-grid {

        grid-template-columns: 1fr;

        gap: 1rem;

    }

    

    .notices-section,

    .gallery-section {

        padding: 1.5rem;

    }

    

    .hero-content h1 {

        font-size: 2rem;

    }

    

    .gallery-grid {

        grid-template-columns: 1fr;

    }

    

    .photos-grid {

        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));

    }

    

    .section-title {

        font-size: 2rem;

    }

    

    .lightbox-nav {

        width: 40px;

        height: 40px;

        font-size: 14px;

    }

    

    .lightbox-prev {

        left: 10px;

    }

    

    .lightbox-next {

        right: 10px;

    }

}



@media (max-width: 480px) {

    .container {

        padding: 0 15px;

    }

    

    header {

        padding: 1rem 0;

    }

    

    .logo {

        font-size: 1.3rem;

    }

    

    .logo i {

        font-size: 1.5rem;

    }

    

    nav {

        width: 90%;

    }

    

    .hero-content h1 {

        font-size: 1.8rem;

    }

    

    .hero-content p {

        font-size: 1rem;

    }

    

    .btn {

        padding: 10px 20px;

        font-size: 0.9rem;

    }

}



/* Utility Classes */

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

.mt-2 { margin-top: 2rem; }

.mb-2 { margin-bottom: 2rem; }

.alert {

    padding: 1rem;

    border-radius: 5px;

    margin-bottom: 1rem;

}

.alert-success {

    background-color: #d4edda;

    color: #155724;

    border: 1px solid #c3e6cb;

}

.alert-error {

    background-color: #f8d7da;

    color: #721c24;

    border: 1px solid #f5c6cb;

}



/* Image Protection */

.photo-item img,

.album-cover img,

.lightbox-content img {

    -webkit-user-select: none;

    -moz-user-select: none;

    -ms-user-select: none;

    user-select: none;

    -webkit-user-drag: none;

    -khtml-user-drag: none;

    -moz-user-drag: none;

    -o-user-drag: none;

    pointer-events: auto;

}



/* Lightbox Styles */

.lightbox {

    display: none;

    position: fixed;

    z-index: 1000;

    left: 0;

    top: 0;

    width: 100%;

    height: 100%;

    background-color: rgba(0,0,0,0.8);

    justify-content: center;

    align-items: center;

    flex-direction: column;

}



.lightbox-content {

    position: relative;

    max-width: 90%;

    max-height: 90vh;

    text-align: center;

}



.lightbox-content img {

    max-width: 100%;

    max-height: 80vh;

    object-fit: contain;

    border-radius: 8px;

}



.close-lightbox {

    position: absolute;

    top: 10px;

    right: 20px;

    color: white;

    font-size: 28px;

    font-weight: bold;

    cursor: pointer;

    background: rgba(0,0,0,0.5);

    width: 35px;

    height: 35px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

}



.close-lightbox:hover {

    background: rgba(255,255,255,0.2);

}



#lightbox-caption {

    color: white;

    margin-top: 1rem;

    font-size: 1.1rem;

    text-align: center;

}



/* Lightbox Navigation Buttons */

.lightbox-nav {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    background: rgba(52, 152, 219, 0.8);

    color: white;

    border: none;

    width: 50px;

    height: 50px;

    border-radius: 50%;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 18px;

    transition: all 0.3s ease;

    z-index: 1002;

}



.lightbox-nav:hover {

    background: rgba(41, 128, 185, 0.9);

    transform: translateY(-50%) scale(1.1);

}



.lightbox-prev {

    left: 20px;

}



.lightbox-next {

    right: 20px;

}



/* Hide navigation on single photo */

.lightbox-nav.hidden {

    opacity: 0;

    pointer-events: none;

}



@keyframes fadeIn {

    from { opacity: 0; }

    to { opacity: 1; }

}



/* Slideshow Controls */

.slideshow-controls {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 1rem;

    margin-top: 1rem;

    padding: 1rem;

    background: rgba(0,0,0,0.7);

    border-radius: 8px;

}



.slideshow-btn {

    background: #3498db;

    color: white;

    border: none;

    padding: 0.5rem 1rem;

    border-radius: 5px;

    cursor: pointer;

    font-size: 1rem;

    transition: background-color 0.3s;

    display: flex;

    align-items: center;

    gap: 0.5rem;

}



.slideshow-btn:hover {

    background: #2980b9;

}



.slideshow-speed {

    display: flex;

    align-items: center;

    gap: 0.5rem;

    color: white;

}



.slideshow-speed label {

    font-size: 0.9rem;

}



.slideshow-speed select {

    background: #2c3e50;

    color: white;

    border: 1px solid rgba(255,255,255,0.3);

    padding: 0.3rem 0.5rem;

    border-radius: 4px;

    font-size: 0.9rem;

}



.slideshow-speed select:focus {

    outline: none;

    border-color: #3498db;

}



.slideshow-speed select option {

    background: #2c3e50;

    color: white;

}



/* Active navigation link */

nav a.active {

    background-color: rgba(255,255,255,0.2);

}



/* This is test drop down for desktop */



