/* General Body and Typography */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a1a2e; /* Dark background for overall theme */
    color: #e0e0e0; /* Standard light text color */
    scroll-behavior: smooth; /* Smooth scroll for anchor links */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #f0f0f0; /* Slightly lighter for headings */
}

p {
    line-height: 1.6;
    color: #c0c0c0; /* Slightly darker for paragraphs */
}

a {
    color: #8be9fd; /* Light blue for links */
    text-decoration: none;
}

a:hover {
    color: #50fa7b; /* Greenish yellow on hover */
    text-decoration: none;
}

/* Custom Button Gradient */
.custom-btn-gradient {
    background: linear-gradient(45deg, #8be9fd, #50fa7b);
    border: none;
    color: #1a1a2e;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 12px 25px;
    border-radius: 8px;
}

.custom-btn-gradient:hover {
    background: linear-gradient(45deg, #50fa7b, #8be9fd);
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.3);
}

.btn-outline-primary {
    color: #8be9fd;
    border-color: #8be9fd;
}
.btn-outline-primary:hover {
    background-color: #8be9fd;
    color: #1a1a2e;
}

.btn-outline-light {
    color: #f0f0f0;
    border-color: #f0f0f0;
}
.btn-outline-light:hover {
    background-color: #f0f0f0;
    color: #1a1a2e;
}


/* Navbar */
.navbar {
    background-color: rgba(26, 26, 46, 0.9); /* Slightly transparent dark background */
    backdrop-filter: blur(5px);
    padding: 1rem 0;
    transition: background-color 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: #f0f0f0 !important;
    display: flex;
    align-items: center;
}

.navbar-brand .logo-img {
    height: 40px;
    margin-right: 10px;
}

.navbar-nav .nav-link {
    color: #f0f0f0 !important;
    font-weight: 600;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #50fa7b !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: url(photos/graphics/candle-lit-a-of-a-a-game-with-group-people-playing.jpg) no-repeat center center/cover;
    position: relative;
    padding-top: 80px; /* Adjust for fixed navbar */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay */
    z-index: 1;
}

.hero-section > .container-fluid {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: #f0f0f0;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-section p.lead {
    font-size: 1.25rem;
    color: #c0c0c0;
}

.hero-image-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hero-image {
    max-height: 80vh; /* Limit height to prevent overflow */
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

main {
    overflow: hidden;
}

/* General Section Styling */
section {
    padding: 80px 0;
}

.bg-light-dark {
    background-color: #282a36; /* Slightly lighter dark for contrast */
}

/* About Section */
.about-section h2, .about-section h3 {
    color: #f0f0f0;
}

.about-section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.about-section .list-unstyled li {
    font-size: 1.1rem;
    color: #c0c0c0;
}

.about-section .list-unstyled .bi {
    font-size: 1.2rem;
}

/* Services Section */
.service-card {
    background-color: #282a36;
    border: 1px solid #44475a;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.service-card .custom-icon-color {
    color: #8be9fd; /* Primary accent color for icons */
}

.service-card .card-title {
    color: #f0f0f0;
}

.service-card .card-text {
    color: #c0c0c0;
}

/* Game Categories / Industries Section */
.game-categories-section {
    background-color: #1a1a2e;
}

.game-categories-section .btn-group .btn {
    border-radius: 50px;
    margin: 0 5px;
    padding: 8px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.game-categories-section .btn-group .btn.active {
    background-color: #8be9fd;
    border-color: #8be9fd;
    color: #1a1a2e;
}

.game-card {
    background-color: #282a36;
    border: 1px solid #44475a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.game-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.game-card .card-body {
    padding: 1.5rem;
}

.game-card .card-title {
    color: #f0f0f0;
}

.game-card .card-text {
    color: #c0c0c0;
}

.card {
    background: none;
}

/* Events Section (Upcoming Tournaments) */
.tournament-card {
    background-color: #282a36;
    border: 1px solid #44475a;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tournament-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.tournament-card .card-title {
    color: #8be9fd;
}

.tournament-card .card-text {
    color: #c0c0c0;
    display: flex;
    align-items: center;
}

.tournament-card .card-text .bi {
    color: #50fa7b;
    font-size: 1.1rem;
}

/* Stats Section */
.stats-section {
    background: url(photos/graphics/a-of-having-night-friends-game-group.jpg) no-repeat center center/cover;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75); /* Darker overlay */
    z-index: 1;
}

.stats-section > .container {
    position: relative;
    z-index: 2;
}

.stat-circle {
    background-color: rgba(40, 42, 54, 0.8);
    border: 2px solid #8be9fd;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.stat-circle h2 {
    color: #50fa7b;
    font-size: 30px;
}

.stat-circle p {
    color: #f0f0f0;
    font-size: 1.1rem;
}

/* Pricing Section */
.pricing-section {
    background-color: #1a1a2e;
}

.pricing-section .nav-pills .nav-link {
    color: #f0f0f0;
    background-color: #282a36;
    border: 1px solid #44475a;
    margin: 0 5px;
    padding: 10px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.pricing-section .nav-pills .nav-link.active,
.pricing-section .nav-pills .nav-link:hover {
    background-color: #8be9fd;
    color: #1a1a2e;
    border-color: #8be9fd;
}

.pricing-card {
    background-color: #282a36;
    border: 1px solid #44475a;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.pricing-card .card-title {
    color: #f0f0f0;
}

.pricing-card .price {
    color: #50fa7b;
}

.pricing-card .price .text-primary {
    color: #8be9fd !important;
}

.pricing-card ul li {
    color: #c0c0c0;
}

.pricing-card ul .bi-check-circle-fill {
    color: #50fa7b !important;
}

.pricing-card ul .bi-x-circle-fill {
    color: #ff5555 !important;
}

/* Team Section */
.team-section {
    background-color: #282a36;
}

.founder-section {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.founder-section:last-of-type {
    border-bottom: none;
}

.team-avatar {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 4px solid #8be9fd;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.team-avatar-small {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid #50fa7b;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    margin: 0 auto;
}

.team-member-card {
    background-color: #1a1a2e;
    border: 1px solid #44475a;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.team-member-card .card-title {
    color: #f0f0f0;
}

.team-member-card p.text-primary {
    color: #8be9fd !important;
}

/* Portfolio Section */
.portfolio-section {
    background-color: #1a1a2e;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-title {
    color: #f0f0f0;
    font-size: 1.5rem;
    text-align: center;
    padding: 15px;
}

/* FAQ Section */
.faq-section {
    background-color: #282a36;
}

.faq-item {
    background-color: #1a1a2e;
    border: 1px solid #44475a;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-item .accordion-button {
    background-color: #1a1a2e;
    color: #f0f0f0;
    font-weight: 600;
    padding: 15px 20px;
    border: none;
    box-shadow: none;
    transition: background-color 0.3s ease;
}

.faq-item .accordion-button:not(.collapsed) {
    background-color: #282a36;
    color: #8be9fd;
}

.faq-item .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-item .accordion-button::after {
    filter: invert(1); /* Invert arrow color for dark background */
}

.faq-item .accordion-body {
    background-color: #282a36;
    color: #c0c0c0;
    padding: 15px 20px;
    border-top: 1px solid #44475a;
}

.faq-item .bi-question-circle {
    color: #50fa7b;
}

/* Booking/Inquiry Form Section */
.booking-section {
    background: url(photos/graphics/friends-cafe-a-games-playing-at-board.jpg) no-repeat center center/cover;
    position: relative;
}

.booking-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75); /* Darker overlay */
    z-index: 1;
}

.booking-section > .container {
    position: relative;
    z-index: 2;
}

.booking-form-card {
    background-color: rgba(40, 42, 54, 0.9); /* Slightly transparent dark card */
    border: 1px solid #44475a;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.booking-form-card .form-label {
    color: #f0f0f0;
    font-weight: 600;
}

.booking-form-card .form-control {
    background-color: #1a1a2e;
    border: 1px solid #44475a;
    color: #f0f0f0;
    padding: 10px 15px;
    border-radius: 5px;
}

.booking-form-card .form-control::placeholder {
    color: #999;
}

.booking-form-card .form-control:focus {
    background-color: #1a1a2e;
    border-color: #8be9fd;
    box-shadow: 0 0 0 0.25rem rgba(139, 233, 253, 0.25);
    color: #f0f0f0;
}

.booking-form-card .invalid-feedback {
    color: #ff5555;
}

/* Booking Modal */
.booking-modal-content {
    background-color: #282a36;
    border: 1px solid #44475a;
    border-radius: 10px;
    color: #f0f0f0;
}

.booking-modal-content .modal-header {
    border-bottom: 1px solid #44475a;
}

.booking-modal-content .modal-title {
    color: #f0f0f0;
}

.booking-modal-content .form-label {
    color: #f0f0f0;
}

.booking-modal-content .form-control {
    background-color: #1a1a2e;
    border: 1px solid #44475a;
    color: #f0f0f0;
}

.booking-modal-content .form-control:focus {
    border-color: #8be9fd;
    box-shadow: 0 0 0 0.25rem rgba(139, 233, 253, 0.25);
}

.booking-modal-content .btn-close-white {
    filter: invert(1); /* Ensure close button is visible on dark background */
}

/* Footer */
.footer {
    background-color: #1a1a2e;
    border-top: 1px solid #44475a;
    padding-top: 50px;
    padding-bottom: 30px;
}

.footer .navbar-brand {
    font-size: 1.5rem;
}

.footer p {
    color: #c0c0c0;
}

.footer h5 {
    color: #f0f0f0;
}

.footer-link {
    color: #c0c0c0;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #50fa7b;
}

.footer .bi {
    font-size: 1.1rem;
}

.footer .text-success {
    color: #50fa7b !important;
}

.footer .text-info {
    color: #8be9fd !important;
}

/* Cookie Banner */
.cookie-banner {
    background-color: rgba(26, 26, 46, 0.95) !important;
    border-top: 1px solid #44475a;
    z-index: 1070; /* Above modals */
    display: none; /* Hidden by default, shown by JS */
    color: #f0f0f0;
    padding: 15px 20px;
    gap: 10px;
}

.cookie-banner p {
    margin-bottom: 0;
    color: #c0c0c0;
}

.cookie-banner .btn {
    border-radius: 5px;
    font-weight: 600;
}

.cookie-banner .btn-primary {
    background-color: #50fa7b;
    border-color: #50fa7b;
    color: #1a1a2e;
}
.cookie-banner .btn-primary:hover {
    background-color: #44cc6a;
    border-color: #44cc6a;
}

.cookie-banner .btn-outline-light {
    color: #f0f0f0;
    border-color: #f0f0f0;
}
.cookie-banner .btn-outline-light:hover {
    background-color: #f0f0f0;
    color: #1a1a2e;
}

/* Cookie Settings Modal */
#cookieSettingsModal .modal-content {
    background-color: #282a36;
    border: 1px solid #44475a;
    color: #f0f0f0;
}

#cookieSettingsModal .modal-header {
    border-bottom: none;
}

#cookieSettingsModal .modal-title {
    color: #f0f0f0;
}

#cookieSettingsModal .form-check-label {
    color: #f0f0f0;
    font-weight: 600;
}

#cookieSettingsModal .form-check-input:checked {
    background-color: #50fa7b;
    border-color: #50fa7b;
}

#cookieSettingsModal .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(80, 250, 123, 0.25);
}

#cookieSettingsModal .text-secondary {
    color: #c0c0c0 !important;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .hero-section {
        text-align: center;
        padding-top: 100px;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p.lead {
        font-size: 1rem;
    }
    .hero-image-container {
        display: none; /* Hide image on small screens */
    }
    .btn-group {
        display: none;
    }
    .about-section .row,
    .founder-section {
        flex-direction: column;
    }
    .about-section .col-md-6,
    .founder-section .col-md-6 {
        order: initial !important;
    }
    .about-section img,
    .team-avatar {
        margin-bottom: 20px;
    }
    .stat-circle {
        width: 150px;
        height: 150px;
    }

    .stat-circle p {
        font-size: 0.9rem;
    }
    .pricing-section .nav-pills {
        flex-wrap: wrap;
    }
    .pricing-section .nav-pills .nav-item {
        flex: 1 0 auto;
        margin-bottom: 10px;
    }
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-banner .d-flex {
        width: 100%;
        justify-content: center;
    }
    .cookie-banner .btn {
        flex: 1 0 48%;
        margin: 5px 1%;
    }
}

@media (min-width: 768px) {
    .hero-section .col-md-6:first-child {
        padding-right: 5rem !important;
    }
    .hero-section .col-md-6:last-child {
        padding-left: 5rem !important;
    }
}

/* Ensure equal height for cards in grids */
.row.row-cols-md-3 > .col,
.row.row-cols-lg-3 > .col,
.row.row-cols-md-2 > .col,
.row.row-cols-lg-4 > .col {
    display: flex;
}
.row.row-cols-md-3 > .col .card,
.row.row-cols-lg-3 > .col .card,
.row.row-cols-md-2 > .col .card,
.row.row-cols-lg-4 > .col .card {
    flex-grow: 1;
}
/* Policy Scope Wrapper Styles */
.policyScopeWrap {
    padding: 60px 20px; /* Top/bottom padding and side padding for smaller screens */
    max-width: 900px; /* Limit content width for readability */
    margin: 0 auto; /* Center the content wrapper */
    background-color: #1a1a2e; /* Ensure background matches the main theme */
    color: #c0c0c0; /* Default text color for this section */
}

/* Heading Styles within Policy Scope Wrapper */
.policyScopeWrap h1 {
    font-size: 2.2rem; /* Moderate size for main headings */
    margin-top: 2rem; /* Top margin for spacing */
    margin-bottom: 1rem; /* Bottom margin for spacing */
    line-height: 1.2; /* Line height for readability */
    color: #f0f0f0; /* Heading text color */
}

.policyScopeWrap h2 {
    font-size: 1.8rem; /* Smaller than h1 */
    margin-top: 1.8rem;
    margin-bottom: 0.9rem;
    line-height: 1.3;
    color: #f0f0f0;
}

.policyScopeWrap h3 {
    font-size: 1.5rem; /* Smaller than h2 */
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    color: #f0f0f0;
}

.policyScopeWrap h4 {
    font-size: 1.2rem; /* Smaller than h3 */
    margin-top: 1.2rem;
    margin-bottom: 0.7rem;
    line-height: 1.5;
    color: #f0f0f0;
}

.policyScopeWrap h5 {
    font-size: 1.1rem; /* Smallest heading size */
    margin-top: 1rem;
    margin-bottom: 0.6rem;
    line-height: 1.5;
    color: #f0f0f0;
}

/* Paragraph Styles within Policy Scope Wrapper */
.policyScopeWrap p {
    font-size: 1rem; /* Standard paragraph font size */
    margin-bottom: 1rem; /* Bottom margin for paragraph spacing */
    line-height: 1.6; /* Line height for improved readability */
    color: #c0c0c0; /* Paragraph text color */
}

/* Unordered List Styles within Policy Scope Wrapper */
.policyScopeWrap ul {
    margin-top: 1rem; /* Top margin for list spacing */
    margin-bottom: 1rem; /* Bottom margin for list spacing */
    padding-left: 25px; /* Standard indentation for list items */
    list-style-type: disc; /* Default bullet style */
    color: #c0c0c0; /* List text color */
}

/* List Item Styles within Policy Scope Wrapper */
.policyScopeWrap li {
    font-size: 1rem; /* Standard list item font size */
    margin-bottom: 0.5rem; /* Spacing between list items */
    line-height: 1.6; /* Line height for improved readability */
    color: #c0c0c0; /* List item text color */
}

/* Responsive adjustments for policyScopeWrap */
@media (min-width: 768px) {
    .policyScopeWrap {
        padding: 80px 40px; /* Increase padding on larger screens */
    }
}

@media (min-width: 992px) {
    .policyScopeWrap {
        padding: 100px 0; /* Adjust padding for very large screens if max-width is set */
    }
}
