/* 
 * TCK Gaming Website Styles
 * Modern and responsive design for gaming website
 */

/* Base Styles and CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4a0a77;
    --primary-dark: #380758;
    --primary-light: #6e2aa3;
    --secondary-color: #ff9900;
    --secondary-dark: #e08800;
    --text-light: #ffffff;
    --text-dark: #222222;
    --text-gray: #666666;
    --bg-dark: #111111;
    --bg-light: #f9f9f9;
    --bg-gray: #f1f1f1;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.primary-btn:hover {
    background-color: var(--primary-dark);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.secondary-btn {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.secondary-btn:hover {
    background-color: var(--secondary-dark);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Header */
header {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: var(--text-light);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background-color: var(--text-light);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: var(--text-light);
    padding: 150px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    margin: 10px;
}

/* Featured Games Section */
.featured-games {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.featured-games h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.game-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.game-image {
    height: 200px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-card h3 {
    padding: 20px 20px 10px;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.game-card p {
    padding: 0 20px 15px;
    color: var(--text-gray);
}

.game-card a {
    display: inline-block;
    margin: 0 20px 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.news-reference {
    margin-top: 50px;
    text-align: center;
    padding: 15px;
    background-color: var(--bg-gray);
    border-radius: 5px;
}

.news-reference a {
    font-weight: 600;
}

/* About Us Section */
.about-us {
    padding: 80px 0;
    background-color: var(--bg-gray);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-us h2 {
    margin-bottom: 30px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.about-us p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

/* Horse Racing Section */
.horse-racing {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.horse-racing h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.racing-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.racing-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.racing-text {
    flex: 1;
}

.racing-text h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.racing-text p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 350px;
    backdrop-filter: blur(5px);
}

.quote {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.author {
    font-weight: 600;
    text-align: right;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo p {
    margin-top: 15px;
    color: #999;
}

.footer-links h4,
.footer-games h4,
.footer-contact h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--text-light);
}

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

.footer-links a,
.footer-games a {
    color: #999;
}

.footer-links a:hover,
.footer-games a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    margin-bottom: 10px;
    color: #999;
}

.social-icons {
    display: flex;
    margin-top: 20px;
}

.social-icons a {
    margin-right: 15px;
    color: var(--text-light);
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: #777;
}

.footer-legal {
    display: flex;
}

.footer-legal li {
    margin-left: 20px;
}

.footer-legal a {
    color: #777;
    font-size: 0.9rem;
}

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

/* Contact Form Section */
#contact {
    padding: 80px 0;
    background-color: var(--bg-gray);
}

#contact h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.contact-container {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 15px;
    color: var(--text-gray);
}

.contact-form {
    flex: 2;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-group textarea {
    height: 150px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .about-content,
    .racing-content,
    .contact-container {
        flex-direction: column;
    }
    
    .about-image,
    .racing-image {
        margin-top: 30px;
        order: -1;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--bg-dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        transform: translateY(-100vh);
        transition: transform 0.4s ease-in-out;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-menu li {
        margin: 15px 0;
        width: 100%;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .testimonial-slider {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-legal {
        margin-top: 20px;
        justify-content: center;
    }
    
    .footer-legal li:first-child {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
}
