/*
==================================
VERDE CASINO - LIGHT THEME STYLES
==================================
Author: Verde Casino Development Team
Description: Main stylesheet for Verde Casino landing page
Theme: Light (Green accent colors)
Responsive: Mobile-first approach
*/

/* ===========================
   CSS RESET & BASE STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/* Prevent horizontal scrolling globally */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #555555;
}

a {
    color: #28a745;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1e7e34;
}

ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

/* ===========================
   CONTAINER & LAYOUT
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===========================
   HEADER SECTION
   Navigation and branding
   =========================== */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Logo styling */
.logo-wrapper {
    flex-shrink: 0;
}

.logo {
    height: 40px;
    width: auto;
    display: block;
}

/* Main navigation */
.main-nav {
    flex-grow: 1;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-list a {
    color: #333333;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #28a745;
}

/* Header action buttons */
.header-actions {
    display: flex;
    gap: 0.75rem;
}

.header-actions .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ===========================
   BREADCRUMBS NAVIGATION
   Helps users understand location
   =========================== */
.breadcrumbs {
    background-color: #e9ecef;
    padding: 0.75rem 0;
    border-bottom: 1px solid #dee2e6;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    margin: 0;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    margin: 0;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin: 0 0.5rem;
    color: #6c757d;
}

.breadcrumb-list a {
    color: #28a745;
}

.breadcrumb-list li[aria-current="page"] {
    color: #6c757d;
}

/* ===========================
   HERO BANNER SECTION
   Main promotional banner with CTA
   =========================== */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 400px;
    overflow: hidden;
    margin-bottom: 3rem;
}

/* Banner image container */
.banner-image {
    width: 100%;
    height: 100%;
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Semi-transparent overlay for CTA */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45); /* Semi-transparent dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Banner content container */
.banner-content {
    text-align: center;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.15); /* Semi-transparent light background */
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.banner-title {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-subtitle {
    color: #f8f9fa;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.banner-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   BUTTONS & CALL TO ACTION
   Reusable button styles
   =========================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
}

/* Primary button - Green theme */
.btn-primary {
    background-color: #28a745;
    color: #ffffff;
    border-color: #28a745;
}

.btn-primary:hover {
    background-color: #218838;
    border-color: #1e7e34;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Secondary button */
.btn-secondary {
    background-color: #6c757d;
    color: #ffffff;
    border-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Secondary outline button */
.btn-secondary-outline {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-secondary-outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Large button size */
.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* ===========================
   POPULAR SLOTS SECTION
   Grid display for slot games
   =========================== */
.popular-slots {
    padding: 3rem 0;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #6c757d;
    margin-bottom: 2.5rem;
}

/* Slots grid - 6 columns on desktop */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Individual slot item */
.slot-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1;
    background-color: #f8f9fa;
}

.slot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.slot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slot overlay on hover */
.slot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40, 167, 69, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.125rem;
}

.slot-item:hover .slot-overlay {
    opacity: 1;
}

.play-btn {
    padding: 0.75rem 1.5rem;
    background-color: #ffffff;
    color: #28a745;
    border-radius: 5px;
    font-weight: 700;
}

/* ===========================
   MAIN CONTENT SECTION
   Article content and text
   =========================== */
.main-content {
    padding: 3rem 0;
    background-color: #ffffff;
}

.content-article {
    max-width: 900px;
    margin: 0 auto;
}

/* ===========================
   TABLES - RESPONSIVE DESIGN
   Mobile-friendly table layout
   =========================== */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.content-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    font-size: 0.95rem;
}

.content-table thead {
    background-color: #28a745;
    color: #ffffff;
}

.content-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #1e7e34;
}

.content-table td {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.content-table tbody tr:hover {
    background-color: #f1f3f5;
}

.content-table tbody tr:last-child td {
    border-bottom: none;
}

/* Hide data labels on desktop */
.content-table td::before {
    display: none;
}

/* ===========================
   CTA SECTION
   Call to action block
   =========================== */
.cta-section {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    padding: 3rem;
    border-radius: 10px;
    margin: 3rem 0;
    text-align: center;
    color: #ffffff;
}

.cta-section h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #f8f9fa;
    font-size: 1.125rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* ===========================
   FAQ SECTION
   Frequently asked questions
   =========================== */
.faq-section {
    margin: 2rem 0;
}

.faq-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid #28a745;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: #28a745;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.faq-item p {
    margin-bottom: 0;
}

/* ===========================
   FOOTER SECTION
   Payment methods and links
   =========================== */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

/* Payment methods grid */
.payment-methods {
    margin-bottom: 3rem;
}

.payment-methods h3 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
}

.payment-grid img {
    max-width: 80px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.payment-grid img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Footer links columns */
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333333;
}

.footer-column h4 {
    color: #28a745;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-column ul {
    list-style: none;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #cccccc;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #28a745;
}

/* Footer bottom section */
.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #333333;
}

.footer-bottom p {
    color: #999999;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.75rem;
    color: #777777;
}

/* ===========================
   RESPONSIVE DESIGN - TABLET
   Breakpoint: 768px
   =========================== */
@media (max-width: 768px) {
    /* Typography adjustments */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    /* Header - Mobile navigation */
    .header-content {
        flex-wrap: nowrap;
    }
    
    .main-nav {
        display: none;
    }
    
    .main-nav.active {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .header-actions .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    /* Banner adjustments */
    .banner-title {
        font-size: 2rem;
    }
    
    .banner-subtitle {
        font-size: 1rem;
    }
    
    .banner-content {
        padding: 1.5rem;
    }
    
    /* Slots grid - 3 columns on tablet */
    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    /* Footer links - 2 columns on tablet */
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Payment grid adjustment */
    .payment-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 1rem;
    }
    
    .payment-grid img {
        max-width: 60px;
    }
}

/* ===========================
   RESPONSIVE DESIGN - MOBILE
   Breakpoint: 480px
   =========================== */
@media (max-width: 480px) {
    /* Container padding reduction */
    .container {
        padding: 0 15px;
    }
    
    /* Typography for small screens */
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Header adjustments */
    .logo {
        height: 35px;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .main-nav {
        display: none;
    }
    
    /* Banner for mobile */
    .hero-banner {
        min-height: 300px;
    }
    
    .banner-title {
        font-size: 1.5rem;
    }
    
    .banner-subtitle {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }
    
    .banner-content {
        padding: 1rem;
    }
    
    .banner-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .banner-actions .btn {
        width: 100%;
    }
    
    /* Slots grid - 2 columns on mobile */
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    /* Tables - Mobile card layout */
    .content-table {
        font-size: 0.875rem;
    }
    
    .content-table thead {
        display: none;
    }
    
    .content-table tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .content-table td {
        display: flex;
        justify-content: space-between;
        padding: 0.75rem;
        border-bottom: 1px solid #f1f3f5;
    }
    
    .content-table td:last-child {
        border-bottom: none;
    }
    
    /* Show data labels on mobile */
    .content-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #28a745;
        display: inline-block;
        margin-right: 1rem;
        flex-shrink: 0;
    }
    
    /* CTA section mobile */
    .cta-section {
        padding: 2rem 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    /* Footer - Single column on mobile */
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Payment grid - Smaller on mobile */
    .payment-grid {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
        gap: 0.75rem;
    }
    
    .payment-grid img {
        max-width: 50px;
    }
    
    /* Button sizing */
    .btn {
        padding: 0.625rem 1.25rem;
    }
    
    .btn-large {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* ===========================
   ACCESSIBILITY IMPROVEMENTS
   Focus states and visual aids
   =========================== */
*:focus {
    outline: 2px solid #28a745;
    outline-offset: 2px;
}

.btn:focus {
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.25);
}

/* Skip to main content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #28a745;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* ===========================
   UTILITY CLASSES
   Helper classes for common needs
   =========================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ===========================
   ANIMATIONS
   Smooth transitions and effects
   =========================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth scroll padding for fixed header */
html {
    scroll-padding-top: 80px;
}

/* Mobile scroll padding adjustment */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 20px;
    }
    
    /* Ensure header can be hidden smoothly */
    .header {
        transition: transform 0.3s ease-in-out;
    }
    
    /* Lock horizontal scrolling on mobile */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
        position: relative;
    }
    
    /* Prevent all elements from overflowing horizontally */
    * {
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    /* Ensure containers don't exceed viewport */
    .container,
    .header-content,
    .banner-content,
    .slots-grid,
    .footer {
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Prevent tables from causing horizontal scroll */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }
    
    /* Ensure images don't overflow */
    img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    /* Prevent text from causing overflow */
    p, h1, h2, h3, h4, h5, h6, li, td {
        word-break: break-word;
        hyphens: auto;
    }
}

/* Loading state for images */
img {
    max-width: 100%;
    height: auto;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

