/* Citta Games - Casino Game Website CSS */

/* CSS Variables */
:root {
    --primary-color: #036666;
    --secondary-color: #024a4a;
    --accent-color: #ffd700;
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-full: 9999px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
    color: var(--gray-700);
}

/* Header and Navigation */
.header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: var(--spacing-md) 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

/* Breadcrumb Navigation */
.breadcrumb-container {
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
    padding: var(--spacing-md) 0;
    margin-bottom: var(--spacing-lg);
}

.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.breadcrumb-item:not(:last-child)::after {
    content: "›";
    margin: 0 var(--spacing-sm);
    color: var(--gray-400);
    font-weight: bold;
    font-size: 1.1rem;
}

.breadcrumb-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
}

.breadcrumb-link:hover {
    color: var(--secondary-color);
    background-color: var(--gray-200);
    text-decoration: underline;
}

.breadcrumb-current {
    color: var(--gray-700);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
}

.breadcrumb-home {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.breadcrumb-home-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Responsive Breadcrumb */
@media (max-width: 768px) {
    .breadcrumb-container {
        padding: var(--spacing-sm) 0;
    }
    
    .breadcrumb {
        padding: 0 var(--spacing-md);
    }
    
    .breadcrumb-list {
        font-size: 0.8rem;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin: 0 var(--spacing-xs);
    }
}

@media (max-width: 480px) {
    .breadcrumb-list {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
    
    .breadcrumb-item:not(:last-child)::after {
        display: none;
    }
    
    .breadcrumb-item {
        margin-bottom: var(--spacing-xs);
    }
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    /* gap: var(--spacing-md); */
}

.nav-item {
    list-style: none;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
    display: inline-block;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(3, 102, 102, 0.4);
    transform: translateY(-2px);
    border: 2px solid var(--accent-color);
    font-weight: 600;
}

/* Button Styles */
.nav-link.login-btn, 
.nav-link.register-btn {
    background: var(--accent-color);
    color: var(--black);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    transition: var(--transition);
    border: 2px solid transparent;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: var(--spacing-md);
}

.nav-link.login-btn:hover, 
.nav-link.register-btn:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    outline: none;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}

/* Main Content */
.main-content {
    padding: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section {
    text-align: center;
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--gray-100), var(--white));
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-2xl);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.hero-text {
    text-align: left;
}

        .hero-text h1 {
            font-size: 2.5rem;
            margin-bottom: var(--spacing-lg);
            color: var(--primary-color);
            text-align: center;
        }

        .hero-text p {
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: var(--spacing-lg);
            color: var(--gray-700);
            text-align: center;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero-text .cta-buttons {
            justify-content: center;
        }

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    background: var(--primary-color);
    color: var(--white);
    margin: 0.25rem;
}

.cta-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 102, 102, 0.3);
}

.cta-btn.secondary {
    background: var(--accent-color);
    color: var(--black);
}

.cta-btn.secondary:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* Features Section */
.features-section {
    padding: var(--spacing-2xl) 0;
}

.features-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: var(--spacing-md);
}

.feature-card p {
    line-height: 1.6;
    color: var(--gray-700);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

/* Registration Steps Section */
.registration-steps {
    padding: var(--spacing-2xl) 0;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    margin: var(--spacing-2xl) 0;
}

.registration-steps h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-2xl) 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: var(--radius-lg);
    margin: var(--spacing-2xl) 0;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: var(--spacing-lg);
}

.cta-section p {
    color: var(--white);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.6;
}

.cta-section .cta-buttons {
    justify-content: center;
}

.cta-section .cta-btn {
    background: var(--accent-color);
    color: var(--black);
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.cta-section .cta-btn:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Games Section */
.games-section {
    padding: var(--spacing-2xl) 0;
    background: var(--white);
    color: var(--black);
}

.games-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xl);
    color: var(--primary-color);
}

.games-carousel {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.games-container {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: var(--spacing-lg) 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
}

.games-container::-webkit-scrollbar {
    display: none;
}

.game-card {
    flex: 0 0 280px;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.game-card:hover {
    transform: scale(1.05);
}

.game-card img {
    width: 280px;
    height: 497px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.image-navigation {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.nav-thumb {
    width: 60px;
    height: 90px;
    object-fit: cover;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    opacity: 0.7;
}

.nav-thumb:hover {
    opacity: 1;
    transform: scale(1.1);
}

.nav-thumb.active {
    border-color: var(--primary-color);
    opacity: 1;
    transform: scale(1.1);
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--accent-color);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-2xl) 0 var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
}

.footer-section ul {
    list-style: none;
}
.footer-section p {
  color: white;
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-bottom p{
   color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.3s ease-in-out;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
        z-index: 999;
    }
 
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        width: 100%;
        /* padding: var(--spacing-md); */
    }
    
    .login-btn, .register-btn {
        margin-left: 0 !important   ;
        margin: var(--spacing-xs) auto;
        display: inline-block;
        min-width: 120px;
    }
    
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    .nav-container {
        padding: 0 var(--spacing-md);
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
        padding: 0 var(--spacing-md);
    }

    .hero-text {
        text-align: center;
    }

                .hero-text h1 {
                font-size: 2rem;
            }

            .hero-text p {
                font-size: 1rem;
            }

            .hero-text .cta-buttons {
                justify-content: center;
            }

    .cta-buttons {
        justify-content: center;
    }

    .cta-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .games-section h2 {
        font-size: 2rem;
    }

    .games-container {
        gap: var(--spacing-md);
        padding: var(--spacing-md) 0;
        justify-content: flex-start;
    }

    .game-card {
        flex: 0 0 220px;
    }

    .game-card img {
        width: 220px;
        height: 390px;
    }

    .nav-thumb {
        width: 40px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 var(--spacing-md);
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .main-content {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .features-grid,
    .games-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 0 var(--spacing-sm);
    }

    .hero-text h1 {
        font-size: 1.75rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .games-section h2 {
        font-size: 1.75rem;
    }

    .game-card {
        flex: 0 0 180px;
    }

    .game-card img {
        width: 180px;
        height: 320px;
    }

    .nav-thumb {
        width: 50px;
        height: 75px;
    }

    .image-navigation {
        gap: var(--spacing-sm);
    }

    .registration-steps h2 {
        font-size: 1.75rem;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}

/* AOS (Animate On Scroll) Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* AOS Classes */
.aos-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.aos-fade-up.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.aos-fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.aos-fade-left.aos-animate {
    opacity: 1;
    transform: translateX(0);
}

.aos-fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.aos-fade-right.aos-animate {
    opacity: 1;
    transform: translateX(0);
}

.aos-scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease;
}

.aos-scale-in.aos-animate {
    opacity: 1;
    transform: scale(1);
}

.aos-slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.aos-slide-up.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for feature cards */
.aos-stagger .feature-card:nth-child(1) { transition-delay: 0.1s; }
.aos-stagger .feature-card:nth-child(2) { transition-delay: 0.2s; }
.aos-stagger .feature-card:nth-child(3) { transition-delay: 0.3s; }

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    border-radius: var(--radius-md);
    z-index: 1001;
    transition: top 0.3s ease;
    font-weight: 600;
}

.skip-link:focus {
    top: 6px;
}

/* Keyboard navigation styles */
.keyboard-navigation .nav-link:focus,
.keyboard-navigation .cta-btn:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Focus styles for accessibility */
.nav-link:focus,
.cta-btn:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .header,
    .hamburger,
    .cta-buttons {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .main-content {
        padding: 0;
    }
} 