/* 
* NetBahis Main Stylesheet
* Version: 1.0
* Author: NetBahis Team
*/

/* ======= CSS Reset ======= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ======= Base Styles ======= */
:root {
    --primary-color: #0056b3;
    --secondary-color: #004494;
    --accent-color: #ff6b00;
    --text-color: #333;
    --light-text: #666;
    --lightest-text: #999;
    --dark-bg: #1a1a1a;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

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

section {
    padding: 60px 0;
}

/* ======= Header ======= */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

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

.menu {
    display: flex;
    margin: 0;
}

.menu li {
    margin: 0 10px;
}

.menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px;
}

.menu a:hover,
.menu a.active {
    color: var(--primary-color);
}

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

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.language-selector {
    display: flex;
    align-items: center;
}

.language-selector button {
    background: none;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    color: var(--light-text);
    font-weight: 600;
}

.language-selector button.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* ======= Hero Section ======= */
.hero {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

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

/* ======= Features Section ======= */
.features {
    text-align: center;
    background-color: var(--light-bg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.feature-item h3 {
    margin-bottom: 15px;
}

/* ======= Latest Posts Section ======= */
.latest-posts {
    background-color: var(--white);
}

.latest-posts h2 {
    text-align: center;
    margin-bottom: 50px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.post-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.read-more:hover {
    color: var(--secondary-color);
}

.view-all {
    text-align: center;
    margin-top: 50px;
}

/* ======= Testimonials Section ======= */
.testimonials {
    background-color: var(--light-bg);
    text-align: center;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 20px 0;
    scrollbar-width: none;
    /* Firefox */
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, and Opera */
}

.testimonial-item {
    flex: 0 0 350px;
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    scroll-snap-align: start;
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.user-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.user-info h4 {
    margin-bottom: 0;
}

/* ======= Our Team Section ======= */
.our-team {
    background-color: var(--white);
    text-align: center;
}

.team-member {
    display: flex;
    align-items: center;
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 30px;
    margin-top: 40px;
    text-align: left;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 30px;
}

.member-info h3 {
    margin-bottom: 5px;
}

.position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    max-height: 40px;
    margin-bottom: 15px;
}

.footer-links h3,
.footer-contact h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-links a {
    color: var(--white);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}