/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #000000; /* Black */
    color: #f5f5f5; /* Light grey for default text */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll due to animations */
}

/* Color Scheme */
:root {
    --color-black: #000000;
    --color-burgundy: #800020;
    --color-dark-grey: #1a1a1a;
    --color-light-grey: #f5f5f5;
    --color-white: #ffffff;
    --color-success: #48c78e;
}

/* Bulma Overrides & Customizations */
.has-background-black {
    background-color: var(--color-black) !important;
}

.has-background-black-ter {
    background-color: var(--color-dark-grey) !important; /* Slightly lighter black for contrast */
}

.has-background-dark {
    background-color: #2a2a2a !important; /* Darker grey for card backgrounds */
}

.has-background-danger-dark {
    background-color: #6a001a !important; /* Darker burgundy for disclaimer */
}

.has-text-white {
    color: var(--color-white) !important;
}

.has-text-danger {
    color: var(--color-burgundy) !important;
}

.has-text-grey-light {
    color: #b0b0b0 !important;
}

.title, .subtitle {
    color: var(--color-white);
}

.button.is-danger {
    background-color: var(--color-burgundy);
    border-color: var(--color-burgundy);
    color: var(--color-white);
    text-decoration: none; /* Remove underline */
}

.button.is-danger:hover {
    background-color: #a0002a;
    border-color: #a0002a;
}

.button.is-danger.is-outlined {
    background-color: transparent;
    border-color: var(--color-burgundy);
    color: var(--color-burgundy);
}

.button.is-danger.is-outlined:hover {
    background-color: var(--color-burgundy);
    color: var(--color-white);
}

.button.is-light.is-outlined {
    background-color: transparent;
    border-color: var(--color-light-grey);
    color: var(--color-light-grey);
}

.button.is-light.is-outlined:hover {
    background-color: var(--color-light-grey);
    color: var(--color-black);
}

a {
    color: var(--color-burgundy);
    text-decoration: none;
}

a:hover {
    color: #a0002a;
    text-decoration: underline;
}

/* Header */
.header-main {
    border-bottom: 1px solid #333;
    position: relative; /* For z-index context */
    z-index: 100;
}

.header-main .navbar-item img {
    max-height: 2.5rem; /* Adjust logo size */
}

/* Hero Section */
.hero-bg-image {
    background-image: url('img/graphics/mexico-casino-banner_2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg-image::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-body > .container {
    position: relative;
    z-index: 2;
}

.hero .title {
    font-size: 3.5rem;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.5rem;
    line-height: 1.5;
}

/* About Us Section */
.about-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Casino Cards (Recommended Platforms) */
.casino-card {
    background-color: var(--color-dark-grey);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.casino-card:hover {
    transform: translateY(-5px);
}

.casino-card .columns {
    margin-left: 0;
    margin-right: 0;
}

.casino-card .column {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.casino-card .image.is-96x96 {
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.casino-card .image.is-96x96 img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.casino-features {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
}

.casino-features li {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.casino-features li i {
    font-size: 1.2em;
}

/* Why Choose Us (Features & Services) */
.feature-card {
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #333;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.feature-card .card-content {
    flex-grow: 1;
    padding: 2rem;
}

/* Client Testimonials */
.testimonial-slider-container {
    position: relative;
    overflow: hidden;
    padding: 0 50px; /* Space for nav buttons */
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-item {
    flex: 0 0 100%; /* Each item takes full width */
    padding: 1rem;
    box-sizing: border-box;
}

.testimonial-item .box {
    border: 1px solid var(--color-burgundy);
    border-radius: 10px;
    padding: 2rem;
    min-height: 220px; /* Ensure consistent height for testimonials */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-item .is-rounded-image {
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-burgundy);
}

.testimonial-item .is-rounded-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(128, 0, 32, 0.7); /* Burgundy with transparency */
    color: var(--color-white);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.slider-nav-btn:hover {
    background-color: var(--color-burgundy);
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

/* Responsible Gaming Disclaimer Block */
.disclaimer-block {
    background-color: #33000a; /* Darker burgundy */
    border-top: 5px solid var(--color-burgundy);
    border-bottom: 5px solid var(--color-burgundy);
    padding: 4rem 2rem;
    margin-top: 4rem;
    margin-bottom: 0;
}

.disclaimer-block .title {
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.disclaimer-block .title i {
    font-size: 2.5rem;
    color: #ff0505;
}

/* Footer */
.footer {
    padding: 3rem 1.5rem;
    background-color: var(--color-black);
    border-top: 1px solid #333;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 5px;
}

.footer-links a {
    color: var(--color-grey-light);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-burgundy);
    text-decoration: none;
}

.responsible-gaming-logos {
    margin-top: 2rem;
    gap: 1.5rem; /* Space between logos */
}

.footer-logo-item {
    max-width: 120px; /* Adjusted width for 5 logos */
    height: auto;
    object-fit: contain;
    display: block; /* Ensure correct centering */
}

.footer-logo-link {
    display: flex; /* For centering images within links */
    align-items: center;
    justify-content: center;
}

/* Age Verification Modal */
#age-verification-modal .modal-content {
    max-width: 600px;
    padding: 20px;
}

#age-verification-modal .box {
    border: 2px solid var(--color-burgundy);
    border-radius: 10px;
}

#age-verification-modal .buttons .button {
    min-width: 150px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Semi-transparent black */
    color: var(--color-white);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    border-bottom: 1px solid var(--color-burgundy);
}

.cookie-banner .container {
    max-width: 1000px; /* Limit width */
    margin: 0 auto;
}

.cookie-banner p {
    flex-grow: 1;
    margin-right: 1rem;
}

.cookie-banner .buttons {
    flex-shrink: 0;
}

/* Cookie Settings Modal */
#cookie-settings-modal .modal-card {
    max-width: 550px;
}

#cookie-settings-modal .modal-card-head {
    border-bottom: 1px solid var(--color-burgundy);
}

#cookie-settings-modal .modal-card-foot {
    border-top: 1px solid var(--color-burgundy);
}

#cookie-settings-modal .switch[type="checkbox"] + label::before {
    background-color: #555;
}

#cookie-settings-modal .switch[type="checkbox"]:checked + label::before {
    background-color: var(--color-burgundy);
}

#cookie-settings-modal .switch[type="checkbox"]:checked + label::after {
    background-color: var(--color-white);
}
    .header-main .container {

        padding: 15px;
    }
/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .hero .title {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .header-main .container {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .header-main .navbar-brand {
        margin-bottom: 1rem;
    }

    .header-main .has-text-right {
        text-align: center;
    }

    .casino-card .columns {
        flex-direction: column;
    }

    .casino-card .column.is-12-mobile {
        width: 100%;
    }

    .casino-card .column.is-3-desktop.is-4-tablet.is-5-mobile, 
    .casino-card .column.is-6-desktop.is-5-tablet.is-7-mobile {
        width: 100%;
        text-align: center;
    }

    .casino-card .button.is-fullwidth {
        width: 80%;
        margin: 0 auto;
    }

    .testimonial-item .box {
        min-height: 250px;
    }

    .testimonial-slider-container {
        padding: 0;
    }

    .slider-nav-btn {
        padding: 8px 12px;
        font-size: 1.2rem;
    }

    .footer .columns {
        text-align: center;
    }

    .footer .column.is-half-desktop.is-full-tablet.has-text-right-desktop {
        text-align: center;
    }

    .responsible-gaming-logos {
        flex-direction: column;
        align-items: center;
    }

    .footer-logo-item {
        margin-right: 0 !important;
        margin-bottom: 1rem !important;
    }

    .cookie-banner .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cookie-banner p {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
    .hero .title {
        font-size: 3rem;
    }

    .hero .subtitle {
        font-size: 1.3rem;
    }

    .casino-card .column.is-3-desktop.is-4-tablet.is-5-mobile {
        width: 33.33%;
    }

    .casino-card .column.is-6-desktop.is-5-tablet.is-7-mobile {
        width: 41.66%;
    }

    .casino-card .column.is-3-desktop.is-3-tablet.is-12-mobile {
        width: 25%;
    }
}
/* Styles for the rightsCloudWrap container */
.rightsCloudWrap {
    padding-top: 2.5rem;    /* Top padding for the content block */
    padding-left: 1.5rem;   /* Left padding for the content block */
    padding-right: 1.5rem;  /* Right padding for the content block */
    padding-bottom: 2.5rem; /* Bottom padding for the content block */
    /* Ensure text color is consistent with the site's light grey */
    color: var(--color-light-grey); 
}

/* Heading 1 styles */
.rightsCloudWrap h1 {
    font-size: 1.8rem;      /* Moderate font size for main headings */
    margin-top: 2rem;       /* Top margin for separation */
    margin-bottom: 1rem;    /* Bottom margin for separation */
    line-height: 1.2;       /* Tighter line height for headings */
    color: var(--color-white); /* White color for headings */
    font-weight: 600;       /* Slightly bolder for emphasis */
}

/* Heading 2 styles */
.rightsCloudWrap h2 {
    font-size: 1.5rem;      /* Moderate font size for sub-headings */
    margin-top: 1.8rem;     /* Top margin for separation */
    margin-bottom: 0.9rem;  /* Bottom margin for separation */
    line-height: 1.3;       /* Tighter line height for headings */
    color: var(--color-white); /* White color for headings */
    font-weight: 600;
}

/* Heading 3 styles */
.rightsCloudWrap h3 {
    font-size: 1.3rem;      /* Slightly smaller font size */
    margin-top: 1.5rem;     /* Top margin */
    margin-bottom: 0.8rem;  /* Bottom margin */
    line-height: 1.4;
    color: var(--color-white); /* White color for headings */
    font-weight: 500;       /* Standard weight */
}

/* Heading 4 styles */
.rightsCloudWrap h4 {
    font-size: 1.15rem;     /* Even smaller font size */
    margin-top: 1.2rem;     /* Top margin */
    margin-bottom: 0.7rem;  /* Bottom margin */
    line-height: 1.5;
    color: var(--color-white); /* White color for headings */
    font-weight: 500;
}

/* Heading 5 styles */
.rightsCloudWrap h5 {
    font-size: 1.05rem;     /* Smallest heading size, close to paragraph */
    margin-top: 1rem;       /* Top margin */
    margin-bottom: 0.6rem;  /* Bottom margin */
    line-height: 1.5;
    color: var(--color-white); /* White color for headings */
    font-weight: 500;
}

/* Paragraph styles */
.rightsCloudWrap p {
    font-size: 1rem;        /* Standard paragraph font size */
    margin-bottom: 1rem;    /* Bottom margin for paragraph spacing */
    line-height: 1.7;       /* Comfortable line height for readability */
    color: inherit;         /* Inherit text color from parent */
}

/* Unordered list styles */
.rightsCloudWrap ul {
    list-style: disc;       /* Default disc bullet points */
    margin-top: 1rem;       /* Top margin for list separation */
    margin-bottom: 1rem;    /* Bottom margin for list separation */
    padding-left: 1.5rem;   /* Indentation for bullet points */
    color: inherit;         /* Inherit text color */
}

/* List item styles */
.rightsCloudWrap li {
    font-size: 1rem;        /* Standard font size for list items */
    margin-bottom: 0.5rem;  /* Spacing between list items */
    line-height: 1.6;       /* Comfortable line height */
    color: inherit;         /* Inherit text color */
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 768px) {
    .rightsCloudWrap {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .rightsCloudWrap h1 {
        font-size: 1.6rem;
        margin-top: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .rightsCloudWrap h2 {
        font-size: 1.3rem;
        margin-top: 1.5rem;
        margin-bottom: 0.7rem;
    }

    .rightsCloudWrap h3 {
        font-size: 1.1rem;
        margin-top: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .rightsCloudWrap h4 {
        font-size: 1rem;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }

    .rightsCloudWrap h5 {
        font-size: 0.95rem;
        margin-top: 0.8rem;
        margin-bottom: 0.4rem;
    }

    .rightsCloudWrap p,
    .rightsCloudWrap li {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    .rightsCloudWrap ul {
        padding-left: 1.2rem;
    }
}
