/* General Body and Font Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: #2C3E50; /* Dark Charcoal for general text */
    background-color: #F8F8F8; /* Off-white background */
    line-height: 1.6;
    scroll-behavior: smooth; /* Smooth scroll for anchor links */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif; /* Elegant font for headings */
    color: #4A2C6C; /* Deep Royal Purple for headings */
}

/* Custom Colors */
:root {
    --primary-color: #4A2C6C; /* Deep Royal Purple */
    --secondary-color: #2C3E50; /* Dark Charcoal */
    --accent-color: #F2A154; /* Warm Marigold Orange */
    --light-accent-color: #7E57C2; /* Lighter Purple */
    --text-dark: #2C3E50;
    --text-light: #F8F8F8;
    --bg-light: #F8F8F8;
    --bg-dark: #1a1a2e; /* Even darker background for contrast */
}

.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.text-light-accent { color: var(--light-accent-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--bg-dark) !important; } /* Using bg-dark for secondary sections */
.bg-accent { background-color: var(--accent-color) !important; }

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
    text-decoration: none; /* Ensure no underline */
    transition: background-color 0.0s, border-color 0.0s; /* Instant transition */
}
.btn-primary:hover {
    background-color: var(--light-accent-color);
    border-color: var(--light-accent-color);
    color: var(--text-light);
    text-decoration: none;
}

.btn-outline-light {
    color: var(--text-light);
    border-color: var(--text-light);
    text-decoration: none;
    transition: background-color 0.0s, border-color 0.0s, color 0.0s; /* Instant transition */
}
.btn-outline-light:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    text-decoration: none;
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-dark);
    text-decoration: none;
    transition: background-color 0.0s, border-color 0.0s; /* Instant transition */
}
.btn-accent:hover {
    background-color: #E08E41; /* Slightly darker marigold */
    border-color: #E08E41;
    color: var(--text-dark);
    text-decoration: none;
}

/* Custom Heading Styles */
.custom-heading {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem; /* Larger for main headings */
    position: relative;
    padding-bottom: 15px;
}
.custom-heading::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}
.custom-heading-small {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
}
/* For dark backgrounds, adjust heading color */
.bg-dark .custom-heading,
.bg-dark .custom-heading-small,
.bg-secondary .custom-heading,
.bg-secondary .custom-heading-small {
    color: var(--text-light);
}
.bg-dark .custom-heading::after,
.bg-secondary .custom-heading::after {
    background-color: var(--accent-color);
}


/* Navbar */
.navbar {
    background-color: rgba(26, 26, 46, 0.95); /* Semi-transparent dark background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}
.navbar-brand {
    color: var(--text-light) !important;
    font-weight: 700;
    display: flex;
    align-items: center;
}
.navbar-brand img {
    margin-right: 10px;
}
.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 400;
    padding: 0.5rem 1rem;
    transition: color 0.0s; /* Instant transition */
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh; /* Full viewport height */
    background: url(visuals/media/board-game-table-hero.jpg) no-repeat center center/cover;
    background-attachment: fixed; /* Parallax effect */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 70px; /* Offset for fixed navbar */
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}
.hero-content h1 {
    font-size: 4.5rem; /* Even larger for hero */
    color: var(--text-light);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}
.hero-content p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

/* About Us Section */
.about-section {
    background-color: var(--bg-light);
}
.about-section img {
    max-height: 500px;
    object-fit: cover;
    width: 100%;
}
.about-section .list-unstyled li {
    color: var(--text-dark);
}

/* Our Services Section */
.services-section {
    background-color: var(--bg-dark); /* Dark background */
    color: var(--text-light);
}
.services-section .nav-tabs {
    border-bottom: none;
}
.services-section .nav-link {
    color: rgba(255, 255, 255, 0.7);
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px; /* To prevent gap when active */
    padding: 1rem 1.5rem;
    transition: color 0.0s, border-color 0.0s; /* Instant transition */
}
.services-section .nav-link:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}
.services-section .nav-link.active {
    color: var(--accent-color);
    background-color: transparent;
    border-color: var(--accent-color);
    font-weight: bold;
}
.services-section .tab-content {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark for content */
    border-radius: 8px;
    padding: 30px;
}
.services-section .tab-pane img {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}
.services-section .list-unstyled li {
    color: var(--text-light);
}

/* Key Features Section */
.features-section {
    background-color: var(--bg-light);
}
.feature-list .bi {
    color: var(--primary-color);
}
.feature-list p {
    color: var(--text-dark);
}

/* Statistics Section */
.stats-section {
    background: url(visuals/media/dice-scatter-background.jpg) no-repeat center center/cover;
    background-attachment: fixed;
    position: relative;
    color: var(--text-light);
}
.stats-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;
}
.stats-section > .container {
    position: relative;
    z-index: 2;
}
.stats-section .bi {
    color: var(--accent-color);
}
.stats-section h3 {
    color: var(--text-light);
}
.stats-section p {
    color: rgba(255, 255, 255, 0.9);
}

/* Reviews Section */
.reviews-section {
    background-color: var(--bg-light);
}
.review-card {
    border: none;
    border-radius: 10px;
    transition: transform 0.0s, box-shadow 0.0s; /* Instant transition */
}
.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}
.review-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}
.card-text {
    color: var(--text-dark);
}
/* Overriding Bootstrap's text-muted */
.text-secondary {
    color: #6c757d !important;
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
}
.accordion-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}
.custom-accordion-button {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter dark */
    color: var(--text-light);
    font-weight: bold;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-align: left;
    transition: background-color 0.0s, color 0.0s; /* Instant transition */
}
.custom-accordion-button:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--accent-color);
}
.custom-accordion-button:focus {
    box-shadow: none;
}
.custom-accordion-button::after {
    display: none; /* Remove default Bootstrap arrow */
}
.accordion-icon {
    transition: transform 0.0s; /* Instant transition */
}
.custom-accordion-button:not(.collapsed) .accordion-icon {
    transform: rotate(45deg); /* Change to dash-like effect */
    content: "\F473"; /* bi-dash-lg unicode */
}
.custom-accordion-button.collapsed .accordion-icon::before {
    content: "\F47C"; /* bi-plus-lg unicode */
}
.accordion-body {
    background-color: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.8);
    padding: 1rem 1.5rem;
}

/* Contact Us Section */
.contact-section {
    background-color: var(--bg-light);
}
.contact-form {
    background-color: var(--text-light);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.contact-form .form-label {
    font-weight: bold;
    color: var(--primary-color);
}
.contact-form .form-control {
    border-color: rgba(0, 0, 0, 0.1);
    transition: border-color 0.0s, box-shadow 0.0s; /* Instant transition */
}
.contact-form .form-control:focus {
    border-color: var(--light-accent-color);
    box-shadow: 0 0 0 0.25rem rgba(126, 87, 194, 0.25); /* Light purple shadow */
}

/* Call to Action Section */
.cta-section {
    background-color: var(--primary-color); /* Use primary color for CTA */
    color: var(--text-light);
    padding: 80px 0;
    position: relative;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(visuals/media/board-game-pieces-cta.jpg) no-repeat center center/cover;
    background-attachment: fixed;
    opacity: 0.1; /* Subtle overlay */
    z-index: 0;
}
.cta-section > .container {
    position: relative;
    z-index: 1;
}
.cta-section h2, .cta-section p {
    color: var(--text-light);
}
.cta-section .form-control-lg {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}
.cta-section .form-control-lg::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
.cta-section .form-control-lg:focus {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(242, 161, 84, 0.25);
    color: var(--text-light);
}


/* Footer Section */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
}
.site-footer a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    transition: color 0.0s; /* Instant transition */
}

.site-footer a:hover {
    color: var(--accent-color);
}
.site-footer .custom-heading-small {
    color: var(--text-light);
}
.site-footer .accordion-item {
    border-color: rgba(255, 255, 255, 0.1);
}
.site-footer .custom-accordion-button {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
}
.site-footer .custom-accordion-button:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--accent-color);
}
.site-footer .accordion-body {
    background-color: rgba(255, 255, 255, 0.03);
}

/* Cookie Banner */
.cookie-banner {
    background-color: rgba(26, 26, 46, 0.95) !important; /* Dark background */
    z-index: 1050; /* Above modals */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}
.cookie-banner p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}
.cookie-banner a {
    color: var(--accent-color) !important;
    text-decoration: underline;
}
.cookie-banner .btn {
    text-decoration: none !important; /* Ensure no underline */
}

/* Toast styling */
.toast-container {
    z-index: 1060; /* Above cookie banner */
}
.toast {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}
.toast-header {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.toast-header strong {
    color: var(--text-light);
}
.toast-body {
    background-color: var(--primary-color);
    color: var(--text-light);
}
.toast .btn-close {
    filter: invert(1); /* Make close button white */
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .custom-heading {
        font-size: 2.5rem;
    }
    .custom-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .custom-heading-small {
        font-size: 1.8rem;
    }
    .about-section .col-md-6.order-md-2 {
        order: 1 !important;
    }
    .about-section .col-md-6.order-md-1 {
        order: 2 !important;
    }
    .services-section .tab-content {
        padding: 20px 15px;
    }
    .stats-section .display-1 {
        font-size: 4rem;
    }
    .stats-section .display-4 {
        font-size: 3rem;
    }
    .reviews-section .col {
        margin-bottom: 1rem;
    }
}/* Styles for content within .userClauseNet */
.userClauseNet {
    padding: 60px 20px; /* Padding top/bottom and left/right for the content area */
    max-width: 1200px; /* Max width for better readability on large screens */
    margin: 0 auto; /* Center the content block */
}

.userClauseNet h1 {
    font-family: 'Playfair Display', serif; /* Elegant font for headings */
    font-size: 2.5rem; /* Moderate size for main content headings */
    color: var(--primary-color); /* Deep Royal Purple */
    margin-top: 2rem; /* Top margin for spacing */
    margin-bottom: 1rem; /* Bottom margin for spacing */
    line-height: 1.2; /* Line height for better readability */
}

.userClauseNet h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem; /* Slightly smaller than h1 */
    color: var(--primary-color);
    margin-top: 1.8rem;
    margin-bottom: 0.9rem;
    line-height: 1.3;
}

.userClauseNet h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem; /* Further reduction in size */
    color: var(--primary-color);
    margin-top: 1.6rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.userClauseNet h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem; /* Standard subheading size */
    color: var(--primary-color);
    margin-top: 1.4rem;
    margin-bottom: 0.7rem;
    line-height: 1.5;
}

.userClauseNet h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem; /* Smallest heading size */
    color: var(--primary-color);
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

.userClauseNet p {
    font-family: 'Roboto', sans-serif; /* Body font */
    font-size: 1rem; /* Base font size for paragraphs */
    color: var(--text-dark); /* Dark Charcoal for general text */
    margin-bottom: 1.2em; /* Spacing between paragraphs */
    line-height: 1.7; /* Increased line height for readability */
}

.userClauseNet ul {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    list-style-type: disc; /* Default disc bullet style */
    padding-left: 25px; /* Indentation for list items */
    margin-bottom: 1.5em; /* Spacing after the list */
    line-height: 1.7; /* Line height for list items */
}

.userClauseNet ol {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    list-style-type: decimal; /* Default decimal numbering style */
    padding-left: 25px; /* Indentation for list items */
    margin-bottom: 1.5em; /* Spacing after the list */
    line-height: 1.7; /* Line height for list items */
}

.userClauseNet li {
    margin-bottom: 0.5em; /* Spacing between list items */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 767.98px) {
    .userClauseNet {
        padding: 40px 15px; /* Adjust padding for smaller screens */
    }

    .userClauseNet h1 {
        font-size: 2rem;
    }
    .userClauseNet h2 {
        font-size: 1.75rem;
    }
    .userClauseNet h3 {
        font-size: 1.5rem;
    }
    .userClauseNet h4 {
        font-size: 1.25rem;
    }
    .userClauseNet h5 {
        font-size: 1.1rem;
    }
    .userClauseNet p,
    .userClauseNet ul,
    .userClauseNet ol {
        font-size: 0.95rem; /* Slightly smaller text on mobile */
    }
}
.text-white-50{
        color: rgba(255, 255, 255, .9) !important;
}
