/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-logo i {
    color: #ff6b35;
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #a2a2a2;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #a2a2a2;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.login-btn {
    background: #ff6b35;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    color: #fff !important;
}

.login-btn:hover {
    background: #e55a2b;
    color: #fff !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding: 0 20px;
    z-index: 2;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-image {
    flex: 1;
    position: relative;
    height: 100vh;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('/bg.jpg') center/cover;
    opacity: 0.3;
}

.hero-bg video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3;
}

/* Video fallback for older browsers */
.hero-bg {
    background: url('/bg.jpg') center/cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 1rem;
}

.btn-primary {
    background: #000000;
    color: #fff;
}

.btn-primary:hover {
    background: #d3d3d3;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(100, 100, 100, 0.3);
}

.btn-secondary {
    background: grey;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #1e3c72;
    transform: translateY(-2px);
}

/* Introduction Section */
.introduction {
    padding: 5rem 0;
    background: #fff;
    text-align: center;
}

.introduction h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    font-size: 2.5rem;
    font-weight: 600;
}

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

.intro-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.intro-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.intro-card h3 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.intro-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Featured Events Section */
.featured-events {
    padding: 5rem 0;
    background: #f8f9fa;
    text-align: center;
}

.featured-events h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    font-size: 2.5rem;
    font-weight: 600;
}

.events-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Access Control */
.access-control {
    padding: 5rem 0;
    background: #f8f9fa;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.access-message {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 3rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.access-message i {
    font-size: 4rem;
    color: #ff6b35;
    margin-bottom: 1rem;
}

.access-message h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.access-message p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Login Section */
.login-section {
    padding: 5rem 0;
    background: #f8f9fa;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.login-container {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.login-form-wrapper {
    background: #fff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.login-form-wrapper h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 2rem;
    font-weight: 600;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.login-form input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.login-form input:focus {
    outline: none;
    border-color: #667eea;
}

.login-form .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Rounded login button styling */
.login-submit-btn {
    border-radius: 25px !important;
    transition: all 0.3s ease;
}

.login-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 107, 107, 0.4);
}

/* Profile Section */
.profile-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.profile-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-header {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-avatar {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.profile-header h2 {
    color: #fff;
    font-size: 2rem;
    margin: 0;
}

.profile-content {
    color: #fff;
}

.profile-info {
    margin-bottom: 2rem;
}

.info-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.info-group:last-child {
    border-bottom: none;
}

.info-group label {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-group span {
    font-weight: 400;
    opacity: 0.9;
}

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

.profile-actions .btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Cart Section */
.cart-section {
    padding: 5rem 0;
    background: #f8f9fa;
    min-height: 70vh;
}

.cart-container {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 1rem;
}

.cart-header h2 {
    color: #333;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    gap: 1rem;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-item-name {
    font-weight: 600;
    color: #1e3c72;
}

.cart-item-price {
    font-weight: 600;
    color: #ff6b35;
    font-size: 1.1rem;
}

.cart-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    height: fit-content;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.total {
    font-weight: 700;
    font-size: 1.2rem;
    color: #1e3c72;
    border-top: 2px solid #1e3c72;
    margin-top: 1rem;
    padding-top: 1rem;
}

.pay-btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.empty-cart {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.empty-cart i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-cart h3 {
    margin-bottom: 0.5rem;
    color: #1e3c72;
}

.empty-cart p {
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .cart-content {
        grid-template-columns: 1fr;
    }

    .cart-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Message Styles */
.message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    animation: slideIn 0.3s ease;
}

.message.success {
    background: #28a745;
}

.message.error {
    background: #dc3545;
}

.message.info {
    background: #17a2b8;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Events Section */
.events {
    padding: 140px 0;
    background: #fff;
}

.events h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.events-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #000000;
    background: transparent;
    color: #000000;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
    background: #000000;
    color: #fff;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.event-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.event-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.event-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

.event-status.upcoming {
    background: #28a745;
}

.event-status.past {
    background: #6c757d;
}

.event-content {
    padding: 1.5rem;
}

.event-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e3c72;
}

.event-date,
.event-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.event-scenario {
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #555;
}

.event-details {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #666;
}

.event-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.event-actions .btn {
    flex: 1;
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* Registration Section */
.register {
    padding: 140px 0;
    background: linear-gradient(135deg, #a8a8a8 0%, #626262 100%);
    color: #fff;
}

.register h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.registration-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.registration-tabs {
    display: flex;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 5px;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: #fff;
    color: #667eea;
}

.registration-form {
    display: none;
}

.registration-form.active {
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #fff;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #fff;
}

/* Select box styling for registration forms */
.form-group select {
    color: #1a1a66 !important;
    background: rgba(255, 255, 255, 0.9) !important;
}

.form-group select option {
    color: #1a1a66;
    background: #fff;
}

/* Phone hint styling */
.phone-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.radio-group {
    display: flex;
    gap: 1rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #fff;
    background: #fff;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
}

/* Shop Section */
.shop {
    padding: 140px 0;
    background: #fff;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.shop h2 {
    font-size: 2.5rem;
    color: #333;
    margin: 0;
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
}

.shop-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 20px;
    border: 2px solid #ff6b35;
    background: transparent;
    color: #ff6b35;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.category-btn.active,
.category-btn:hover {
    background: #ff6b35;
    color: #fff;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

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

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

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1e3c72;
}

.product-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff6b35;
}

.original-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.product-actions {
    display: flex;
    gap: 1rem;
}

.product-actions .btn {
    flex: 1;
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery {
    padding: 140px 0;
    background: #f8f9fa;
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 10px 20px;
    border: 2px solid #ff6b35;
    background: transparent;
    color: #ff6b35;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.gallery-filter-btn.active,
.gallery-filter-btn:hover {
    background: #ff6b35;
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.gallery-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.gallery-overlay i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

.modal h2 {
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    color: #333;
    font-weight: 600;
}

.login-form input {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    color: #333;
}

.login-form input:focus {
    border-color: #2d2d2d;
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
    color: #666;
}

.form-footer a {
    color: #1f0f08;
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #000000;
    color: #fff;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #fff;
    font-weight: bold;
}

.footer-section p {
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #919191;
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: #919191;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #595959;
    color: #fff;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #bdbdbd;
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 50px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .events-grid,
    .shop-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .events-filter,
    .shop-categories,
    .gallery-filter {
        flex-direction: column;
        align-items: center;
    }

    .event-actions,
    .product-actions {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .events h2,
    .register h2,
    .shop h2,
    .gallery h2 {
        font-size: 2rem;
    }

    .registration-container {
        padding: 1.5rem;
    }

    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-weight: 600;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Cart Count Badge */
.cart-count-badge {
    background: #ff6b35;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-left: 5px;
    min-width: 18px;
    text-align: center;
    display: inline-block;
}

/* Form Hints */
.email-hint,
.tckn-hint {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.tckn-info {
    color: #007bff;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
    font-weight: 500;
}

.tckn-info i {
    margin-right: 5px;
}

/* Purchase History */
.purchase-history {
    padding: 4rem 0;
    background: #f8f9fa;
}

.purchase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.purchase-header h2 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 600;
}

.purchase-header h2 i {
    margin-right: 10px;
    color: #007bff;
}

.purchase-list {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.purchase-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.purchase-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.purchase-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.purchase-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.purchase-date i {
    margin-right: 5px;
    color: #007bff;
}

.purchase-total {
    color: #2c3e50;
    font-size: 1.1rem;
}

.purchase-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.purchase-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.purchase-item:last-child {
    border-bottom: none;
}

.item-name {
    color: #2c3e50;
    font-weight: 500;
}

.item-price {
    color: #007bff;
    font-weight: 600;
}

.empty-purchases {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-purchases i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.empty-purchases h3 {
    color: #495057;
    margin-bottom: 0.5rem;
}

.empty-purchases p {
    margin-bottom: 2rem;
}

/* Disabled Button */
.add-to-cart-btn.disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.add-to-cart-btn.disabled:hover {
    background: #6c757d;
    transform: none;
}

/* Remove from Cart Button */
.remove-from-cart-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.remove-from-cart-btn:hover {
    background: #c82333;
}

.remove-from-cart-btn i {
    font-size: 0.8rem;
}

.invalid-feedback {
    color: #000;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.is-invalid {
    border: 2px solid #000!important;
    color: #000!important;
}

/* Commitment Form Styles */
.commitment-section {
    width: 100%;
    margin: 25px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.commitment-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.commitment-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #fff;
    border-radius: 4px;
}

.commitment-checkbox label {
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.commitment-link {
    color: #fff;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.commitment-link:hover {
    color: #ff6b35;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 30px;
    max-height: 50vh;
    overflow-y: auto;
    background-color: #f8f9fa;
}

.modal-body p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
}

.modal-body ol {
    counter-reset: item;
    padding-left: 0;
}

.modal-body li {
    display: block;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    line-height: 1.5;
    color: #555;
}

.modal-body li:before {
    content: counter(item) ".";
    counter-increment: item;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    color: #667eea;
    min-width: 25px;
}

.modal-footer {
    padding: 20px 30px;
    background-color: #fff;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.modal-footer .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.modal-footer .btn-secondary {
    background-color: #6c757d;
    color: white;
}

.modal-footer .btn-secondary:hover {
    background-color: #5a6268;
}

.modal-footer .btn-primary {
    background-color: #007bff;
    color: white;
}

.modal-footer .btn-primary:hover {
    background-color: #0056b3;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 20px;
        max-height: 60vh;
    }
    
    .modal-footer {
        padding: 15px 20px;
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-2px);
}

.gallery-media {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

/* Gallery Modal Styles */
#imageModal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

#imageModal .modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

#imageModal .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10002;
}

#imageModal .close:hover {
    color: #bbb;
}

#modalImage {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
}

/* Disabled Button */
.btn-disabled {
    background: #6c757d;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: not-allowed;
    opacity: 0.6;
    text-decoration: none;
    display: inline-block;
}

/* Gallery Section */
#gallery {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
}

#gallery h3 {
    color: #495057;
    margin-bottom: 1.5rem;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .gallery-media {
        height: 150px;
    }
    
    #imageModal .modal-content {
        width: 95%;
        max-height: 85vh;
    }
}

/* Footer Tagline Styling */
.footer-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 0.5rem;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .footer-tagline {
        font-size: 1rem;
    }
}

/* User Profile Section */
.user-profile {
    padding: 5rem 0;
    background: #f8f9fa;
    min-height: 70vh;
}

.user-profile-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.user-profile h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 2rem;
    font-weight: 600;
}

.user-profile .form-group {
    margin-bottom: 1.5rem;
}

.user-profile label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.user-profile input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.user-profile input:focus {
    outline: none;
    border-color: #667eea;
}

.user-profile .btn {
    width: 100%;
    margin-top: 1rem;
}

.user-profile .alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.user-profile .alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.user-profile .sidebar {
    margin-top: 2rem;
    text-align: center;
}

.user-profile .sidebar .btn {
    width: auto;
    display: inline-block;
    padding: 12px 30px;
}

/* Remember Me Checkbox Styling */
.remember-me-group {
    margin-bottom: 1.5rem;
}

.remember-me-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    color: #333;
}

.remember-me-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #667eea;
}

.remember-me-text {
    font-size: 0.95rem;
    user-select: none;
}

.remember-me-label:hover .remember-me-text {
    color: #667eea;
}

/* Units Page Styles */
.units-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.units-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.units-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.units-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.unit-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #667eea;
}

.unit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.unit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.unit-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.unit-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.unit-content h3 {
    color: #667eea;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem 0;
}

.unit-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.unit-content ul {
    margin: 0.5rem 0 1rem 1.5rem;
    color: #555;
}

.unit-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.unit-note {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    color: #1565c0;
}

.unit-summary {
    background: #f3e5f5;
    border: 1px solid #e1bee7;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    color: #7b1fa2;
}

.unit-note strong,
.unit-summary strong {
    font-weight: 600;
}

@media (max-width: 768px) {
    .units-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .units-hero-content p {
        font-size: 1rem;
    }
    
    .units-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .unit-card {
        padding: 1.5rem;
    }
    
    .unit-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}
