/* Main Styles for JD Games Website */

/* Base Styles */
:root {
    /* Primary colors - these will be adjusted based on your logo */
    --primary-color: #006466;
    --secondary-color: #065a60;
    --accent-color: #0b525b;
    --text-color: #333;
    --light-color: #f8f9fa;
    --dark-color: #144552;
    --border-color: #dee2e6;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Header Styles */
.header {
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.logo img {
    max-height: 100px;
}

/* Removed JD Games text next to logo as requested */

.nav-menu {
    display: flex;
    justify-content: flex-end;
    height: 100%;
}

.nav-menu .nav {
    align-items: center;
    height: 100%;
    width: 100%;
}

/* Hamburger Menu Styles */
.navbar-toggler {
    border: none;
    background: transparent;
    color: white;
    font-size: 1.5rem;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
}

.mobile-menu .nav-item:last-child {
    border-bottom: none;
}

.mobile-menu .nav-link {
    display: block;
    padding: 8px 0;
    color: white;
    font-weight: 500;
}

.nav-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.nav-link {
    color: white;
    font-weight: 500;
    padding: 10px 12px;
    margin: 0 2px;
    text-align: center;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
    opacity: 0.8;
}

.get-app-btn {
    background-color: white;
    color: var(--primary-color);
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.get-app-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

/* Banner Section */
.banner {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 100px;
    position: relative;
    overflow: hidden;
}

.banner::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: white;
    border-radius: 100% 100% 0 0;
}

.welcome-badge {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 8px 20px;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 500;
}

.banner-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.banner-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 500;
}

.banner .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
    margin-right: 10px;
}

.contact-info {
    margin-top: 30px;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-info .phone {
    font-size: 1.5rem;
    font-weight: 700;
}

.action-btn {
    background-color: white;
    color: var(--primary-color);
    border: none;
    border-radius: 30px;
    padding: 10px 30px;
    font-weight: 600;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
}

.action-btn i {
    margin-right: 8px;
}

.action-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

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

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-title p {
    font-size: 1.1rem;
    color: #6c757d;
}

/* Games Section */
.games-section {
    background-color: white;
}

.game-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.game-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 15px;
    text-align: center;
}

.game-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.game-body {
    padding: 20px;
    background-color: white;
}

.game-time {
    margin-bottom: 20px;
}

.game-time p {
    margin: 10px 0;
    font-size: 1rem;
    color: var(--text-color);
}

.game-time i {
    color: var(--accent-color);
    margin-right: 8px;
}

.btn-play {
    background-color: var(--accent-color);
    color: white;
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    font-weight: 500;
}

.btn-play:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Features Section */
.features-section {
    background-color: #f8f9fa;
}

.feature-card {
    padding: 30px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Footer Styles */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

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

.footer-links li, .footer-contact li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #adb5bd;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #adb5bd;
}

/* Download App Section */
.download-app {
    background-color: white;
    padding: 30px 0;
    text-align: center;
}

.download-btn {
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    padding: 12px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.download-btn i {
    margin-right: 10px;
}

.download-btn:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Winners Section */
.winners-section {
    background-color: white;
    padding: 40px 0;
    text-align: center;
}

.section-heading {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-heading i {
    color: #FFD700;
    margin: 0 10px;
}

.winner-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 0 10px;
    transition: transform 0.3s ease;
}

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

.winner-name {
    font-weight: 600;
    margin-bottom: 10px;
}

.winner-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Game Rates Section */
.game-rates-section {
    background-color: #f8f9fa;
    padding: 50px 0;
    text-align: center;
}

.game-rates-badge {
    background-color: #e0f2f1;
    color: var(--primary-color);
    border-radius: 20px;
    padding: 8px 20px;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 500;
}

.game-rates-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.game-rates-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #6c757d;
}

.rate-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    height: 100%;
}

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

.rate-type {
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rate-type i {
    margin-right: 8px;
}

.rate-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .nav-menu {
        justify-content: center;
        margin-top: 15px;
    }
    
    .banner-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .banner {
        padding: 60px 0 100px;
    }
    
    .banner-content h1 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .action-btn {
        display: block;
        margin-bottom: 10px;
        text-align: center;
    }
}
