/* Universal Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styles */
body {
    font-family: 'Arial', sans-serif !important;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Background Pattern --- */
.chess-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: -1;
    background-image:
        linear-gradient(45deg, #ffffff 25%, transparent 25%),
        linear-gradient(-45deg, #ffffff 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #ffffff 75%),
        linear-gradient(-45deg, transparent 75%, #ffffff 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(60px) translateY(60px); }
}

/* --- Layout Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px;
}

/* --- Header Section --- */
header {
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #cccccc;
    transform: translateY(-2px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 80px;
}

.hero-text h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: -2px;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 10px rgba(255,255,255,0.3)); }
    100% { filter: drop-shadow(0 0 20px rgba(255,255,255,0.6)); }
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #cccccc;
    max-width: 500px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.3);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 400px;
    height: 400px;
    border-radius: 20px;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    /* transform: rotateX(5deg) rotateY(5deg); */
    /* animation: float 6s ease-in-out infinite; */
}

/* @keyframes float {
    0%, 100% { transform: rotateX(5deg) rotateY(5deg) translateY(0px); }
    50% { transform: rotateX(5deg) rotateY(5deg) translateY(-10px); }
} */

.title{
    color: #ffffff;
}

/* --- Products Section --- */
.products-section {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.05) 100%);
}

.section-title {
    color: #ffffff;
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.product-card:hover::before {
    transform: scale(1);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 20px 40px rgba(255,255,255,0.1);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.product-card p {
    color: #cccccc;
    margin-bottom: 30px;
}

.product-price {
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
}

/* --- About Section --- */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(255,255,255,0.05) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-text p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 20px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat:hover {
    transform: scale(1.05);
    background: rgba(255,255,255,0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    display: block;
}

.stat-label {
    color: #cccccc;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(255,255,255,0.05) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.1);
}

.testimonial-content {
    font-style: italic;
    color: #cccccc;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    color: #ffffff;
    margin-bottom: 5px;
}

.author-info p {
    color: #999999;
    font-size: 0.9rem;
}

/* --- Footer Section --- */
footer {
    padding: 60px 0;
    background: rgba(0,0,0,0.9);
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.newsletter {
    margin-top: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter h3 {
    margin-bottom: 20px;
    color: #ffffff;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    font-size: 1rem;
}

.newsletter-input::placeholder {
    color: #999999;
}

.newsletter-button {
    padding: 15px 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    color: #000000;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.3);
}

/* --- Floating Chess Pieces (Hero Background) --- */
.floating-pieces {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.chess-piece {
    position: absolute;
    font-size: 3rem;
    color: rgba(255,255,255,0.1);
    animation: float 8s ease-in-out infinite;
}

.chess-piece:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.chess-piece:nth-child(2) { top: 20%; right: 15%; animation-delay: 2s; }
.chess-piece:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 4s; }
.chess-piece:nth-child(4) { bottom: 15%; right: 10%; animation-delay: 6s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.1; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.3; }
}

/* --- Responsive Design / Media Queries --- */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .profile-image {
        width: 300px;
        height: 300px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        display: none; /* Hide navigation menu on smaller screens */
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }
}