/* Global Styles */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #ec4899;
    --accent-color: #f59e0b;
    --dark-bg: #1e0500;
    --dark-bg-secondary: #1e293b;
    --text-light: #f8fafc;
    --text-gray: #cbd5e1;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.25);
    --transition-normal: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    background: transparent;
    padding: 1rem 0;
    transition: all 0.3s ease-in-out;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    padding: 0.8rem 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.navbar-brand img {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-brand i {
    -webkit-text-fill-color: var(--primary-color);
}

.nav-link {
    color: #fff !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    font-weight: 700;
    transition: all var(--transition-normal);
}

.nav-link:hover {
    color: #6DB2A9 !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    overflow: hidden;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer-section {
    background: #000000;
    padding: 4rem 0;
    border-top: none;
}

.footer-social-icon {
    width: 45px;
    height: 45px;
    background-color: #F1EFE9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-icon:hover {
    background-color: #ffffff;
    transform: translateY(-5px);
    color: #000000;
}

.footer-info {
    margin-top: 2rem;
}

.footer-email {
    color: #C0D62E;
    text-decoration: none;
    font-weight: 500;
}

.footer-email:hover {
    color: #dbe868;
    text-decoration: underline;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #afc939 0%, #06b2c6 100%);
    ;
    border: none;
    border-radius: 50%;
    color: var(--text-light);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Event Details Section */
.event-details-section {
    padding: 6rem 0 3rem;
    background: linear-gradient(to bottom, #100807 0%, #1E0500 20%, #1E0500 100%);
    position: relative;
    overflow: hidden;
}

/* Countdown Styles */
.countdown-box {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.countdown-box span {
    font-size: 2.8rem;
    font-weight: 800;
    color: #000;
    line-height: 1;
}

.countdown-label {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Event Card Styles */
.event-card {
    border: 2px solid #F59E0B;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: transparent;
    height: 100%;
    transition: transform 0.3s ease;
}

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

.event-card-icon {
    flex-shrink: 0;
    width: 100%;
    max-width: 200px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-card-content {
    color: #fff;
}

.event-venue-name,
.event-date-day {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.event-address,
.event-date-full {
    color: #e2e8f0;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.event-city {
    margin-top: 1rem;
    font-size: 1rem;
    color: #cbd5e1;
}

/* Responsive - Event Details */
@media (max-width: 991px) {
    .countdown-box {
        width: 100px;
        height: 100px;
    }

    .countdown-box span {
        font-size: 2.2rem;
    }

    .event-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .countdown-box {
        width: 60px;
        height: 60px;
    }

    .countdown-box span {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 0.8rem;
    }

    .event-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 1.5rem;
        gap: 1rem;
    }

    .event-card-icon {
        max-width: 120px;
        margin-bottom: 0.5rem;
    }
}

/* Overview Section */
.overview-section {
    background-color: #1D0500;
    padding: 6rem 0;
    color: #fff;
    overflow: hidden;
}

.overview-image-container {
    position: relative;
}

.overview-image {
    width: 100%;
}

.overview-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.overview-text p:last-child {
    margin-bottom: 0;
}

/* Responsive - Overview */
@media (max-width: 991px) {
    .overview-text {
        margin-top: 2rem;
        padding-left: 0 !important;
    }

    .overview-image-container {
        max-width: 80%;
        margin: 0 auto;
    }
}

/* Past Events Section */
.year-tabs {
    display: flex;
    gap: 1rem;
    padding: 0.5rem;
    background: transparent;
}

.year-tab {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.year-tab:hover {
    background: rgba(255, 255, 255, 0.1);
}

.year-tab.active {
    border-color: #F59E0B;
    color: #F59E0B;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.year-gallery-container {
    display: none;
    animation: fadeIn 0.5s ease;
}

.year-gallery-container.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Scroll-Snap Gallery */
.gallery-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-scroll-container::-webkit-scrollbar {
    display: none;
}

.gallery-scroll-track {
    display: flex;
    gap: 15px;
    padding: 10px 0;
}

.gallery-scroll-item {
    scroll-snap-align: start;
    flex: 0 0 calc(33.333% - 10px);
}

.gallery-card {
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Mobile: 1 item per view */
@media (max-width: 767px) {
    .gallery-scroll-item {
        flex: 0 0 calc(100% - 20px);
    }
}

/* Tablet: 2 items per view */
@media (min-width: 768px) and (max-width: 991px) {
    .gallery-scroll-item {
        flex: 0 0 calc(50% - 10px);
    }
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    z-index: 1050;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #888;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.bottom-nav-item i {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
    color: #F59E0B;
}

.bottom-nav-item.active i {
    transform: scale(1.1);
}

/* Mobile Responsive - Show Bottom Nav, Hide Hamburger */
@media (max-width: 991px) {
    .mobile-bottom-nav {
        display: flex;
    }

    .navbar-toggler {
        display: none !important;
    }

    .navbar-collapse {
        display: none !important;
    }

    /* Add padding to footer and body for bottom nav */
    .footer-section {
        padding-bottom: 6rem;
    }

    .back-to-top {
        display: none !important;
    }
}

/* Floating RSVP Button */
.floating-rsvp-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 15px;
}

.floating-text {
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.3;
    color: #333;
    text-align: right;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease-out;
}

.floating-rsvp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #F59E0B;
    border: none;
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-rsvp-btn:hover {
    transform: scale(1.1);
    background: #D97706;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(245, 158, 11, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RSVP Modal */
.rsvp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.rsvp-modal-content {
    background: #1a0a00;
    background-image: linear-gradient(to bottom right, #2a0f05, #120500);
    border: 1px solid #F59E0B;
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rsvp-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.rsvp-modal-close:hover {
    color: #F59E0B;
}

.rsvp-modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #F59E0B;
    margin-bottom: 0.5rem;
}

.rsvp-modal-subtitle {
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.rsvp-greeting {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.attendance-buttons-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 2rem;
}

.attendance-btn-label {
    flex: 1;
    cursor: pointer;
}

.attendance-btn-label input {
    display: none;
}

.attendance-btn {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #F59E0B;
    border-radius: 12px;
    text-align: center;
    color: #F59E0B;
    font-weight: 600;
    transition: all 0.3s ease;
}

.attendance-btn-label input:checked+.attendance-btn,
.attendance-btn-label:hover .attendance-btn {
    background: #F59E0B;
    color: #120500;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.btn-text {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rsvp-modal-body .form-label {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.rsvp-modal-body .modal-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: white;
}

.rsvp-modal-body .modal-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #F59E0B;
    box-shadow: none;
}

.modal-submit-btn {
    width: 100%;
    margin-top: 1rem;
    background: linear-gradient(to right, #F59E0B, #D97706);
    border: none;
    padding: 12px;
    border-radius: 50px;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.modal-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.4);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .floating-rsvp-wrapper {
        bottom: 90px;
        /* comfortably above bottom nav */
        right: 20px;
        flex-direction: column-reverse;
        align-items: flex-end;
        gap: 10px;
    }

    .floating-text {
        text-align: center;
        width: 180px;
        font-size: 0.75rem;
        padding: 8px 12px;
    }

    .floating-rsvp-btn {
        width: 55px;
        height: 55px;
        font-size: 20px;
    }

    .rsvp-modal-content {
        padding: 1.5rem 1.2rem;
        max-height: 85vh;
        overflow-y: auto;
    }

    .rsvp-modal-title {
        font-size: 2rem;
    }

    .rsvp-modal-subtitle {
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .attendance-buttons-container {
        flex-direction: column;
        gap: 10px;
    }

    .attendance-btn {
        padding: 12px;
        font-size: 0.9rem;
    }

    .rsvp-greeting {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}
/* PKO Title Image Responsive */
.pko-title-img {
    height: 50px;
}

@media (max-width: 768px) {
    .pko-title-img {
        width: 100%;
        height: auto;
    }
}

/* Overview Title Image Responsive */
.overview-title-img {
    height: 100px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .overview-title-img {
        width: 100%;
        height: auto;
    }
}

/* PKO in Years Title Image Responsive */
.pko-years-title-img {
    height: 50px;
}

@media (max-width: 768px) {
    .pko-years-title-img {
        width: 100%;
        height: auto;
    }
}
