/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

/* Header */
/* Header Styling */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #081501; /* Dark green background */
    height: 70px; /* Fixed height for consistency */
    border-bottom: 1px solid #e5e5e5;
}

/* Header Left Section */
.header-left {
    display: flex;
    align-items: center;
}

/* Burger Menu Icon */
.menu-icon {
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    margin-right: 10px;

    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px; /* Expand clickable area width */
    height: 50px; /* Expand clickable area height */
    cursor: pointer;
    
}

/* Logo Container */
/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px; /* Adjust the width */
    height: 100px; /* Adjust the height */
    margin-left: 30px; /* Add spacing from the burger menu */
}

/* Logo Styling */
.logo {
    width: 200px; /* Set a fixed width for better visibility */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure the entire logo fits */
    cursor: pointer;
}
/* Search Bar Container */
.search-container {
    flex: 1; /* Allows the search bar to take up available space */
    display: flex;
    align-items: center;
    justify-content: center; /* Center the search bar */
    margin: 0 15px; /* Add spacing around the search bar */
    max-width: 600px; /* Restrict maximum width */
}

/* Search Bar Input */
.search-bar {
    width: 100%;
    padding: 8px 15px;
    border: 1px solid #ccc;
    border-radius: 20px 0 0 20px;
    outline: none;
    font-size: 14px;
}

/* Search Button */
.search-icon {
    background: #ff8c00; /* Bright orange */
    border: none;
    border-radius: 0 20px 20px 0;
    padding: 8px 15px;
    color: white;
    cursor: pointer;
}

.search-icon i {
    font-size: 14px;
}


/* Account Icon */


.account-icon,
.cart-icon {
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}
.account-icon:hover,
.cart-icon:hover {
    color: #ff8c00; /* Bright orange hover effect */
}

/* Tabs Navigation */
.tabs {
    display: flex;
    justify-content: center;
    background: #fff;
    padding: 10px;
    position: sticky;
    top: 60px;
    z-index: 999;
    border-bottom: 1px solid #e5e5e5;
}

.tab-button {
    padding: 10px 20px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s, border-bottom 0.3s;
}

.tab-button.active {
    border-bottom: 3px solid #01230b;
}

.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

/* Main Content */
main {
    max-width: 1100px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.section-header p {
    font-size: 16px;
    color: #666;
}

/* Section Containers */
.tab-content {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

/* Your Tickets & Marketplace */
.ticket-list,
.market-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

/* Ticket Card */
.ticket-card,
.market-card {
    flex: 1 1 calc(45% - 20px);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    min-width: 280px;
}

.ticket-card:hover,
.market-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.ticket-card img,
.market-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
}

.ticket-info,
.market-info {
    padding: 15px 0;
}

.ticket-info h3,
.market-info h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

.ticket-info p,
.market-info p {
    font-size: 16px;
    color: #666;
}

/* Action container to hold both sell and assign actions */
.ticket-actions {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.sell-action,
.assign-action {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sell-price-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 10px;
}

.sell-button,
.assign-button {
    padding: 10px;
    background-color: #bac11b;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.sell-button:hover,
.assign-button:hover {
    background: #333;
    transform: scale(1.05);
}

/* Your Listings Section */
#your-listings {
    padding: 20px;
    text-align: center;
}

.listing-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.listing-list li {
    background: #f1f1f1;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 16px;
    color: #555;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Empty State */
.listing-list li:first-child {
    color: #888;
    font-style: italic;
}

/* Categories */
.categories {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.category-button {
    padding: 10px 20px;
    background: #f1f1f1;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.category-button.active,
.category-button:hover {
    background-color: #bac11b;
    color: #fff;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 400px;
    text-align: center;
    position: relative;
    animation: fadeIn 0.3s;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.burger-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 250px;
    height: 100%;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 1000;
}

.burger-menu ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.burger-menu ul li {
    margin-bottom: 20px;
}

.burger-menu ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.burger-menu ul li a:hover {
    color: #ff8c00;
}

.burger-menu.open {
    left: 0;
}

.burger-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
   
}


/* Footer */
footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    background-color: #fff;
    color: #777;
    font-size: 14px;
    border-top: 1px solid #e5e5e5;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
/* Media Queries for Mobile */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .menu-icon {
        font-size: 20px;
    }

    .logo {
        width: 120px; /* Slightly smaller logo */
    }

    .profile-section {
        padding: 15px;
    }

    .profile-container {
        gap: 15px;
    }

    .events-container {
        grid-template-columns: 1fr;
    }

    .event-card h3 {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 15px;
    }

    .logo {
        width: 100px;
    }

    .profile-photo .image-placeholder {
        width: 80px;
        height: 80px;
        font-size: 24px;
    }

    .profile-section h2,
    .events-section h2 {
        font-size: 18px;
    }

    .profile-field input,
    .profile-field button {
        font-size: 12px;
    }
}
