/* 
 * ByteRiderX - Main Stylesheet
 * A modern design for a website combining tech, motorcycles, and beauty
 */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

a {
    text-decoration: none;
    color: #0066cc;
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    background: #0066cc;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #0052a3;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    padding: 15px 0;
    text-align: center;
}

.logo h1 {
    color: #0066cc;
    font-size: 2rem;
    font-weight: 700;
}

nav {
    background-color: #0066cc;
}

nav ul {
    display: flex;
    justify-content: center;
    padding: 15px 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background 0.3s ease;
}

nav ul li a:hover, 
nav ul li a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Featured Section */
.featured {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.featured h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #0066cc;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.featured-item {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-5px);
}

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

.featured-item h3 {
    padding: 15px 15px 5px;
    color: #0066cc;
}

.featured-item p {
    padding: 0 15px 15px;
}

.featured-item .btn {
    margin: 0 15px 15px;
}

/* Content Sections */
.content-section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section h2 {
    color: #0066cc;
    margin-bottom: 20px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.content-item {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

.content-item h3 {
    padding: 15px 15px 5px;
}

.content-item p {
    padding: 0 15px 15px;
}

/* Gallery Section */
.gallery {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #0066cc;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .caption {
    opacity: 1;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #0066cc;
}

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

.footer-section ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    flex-direction: column;
}

.social-link {
    color: #ccc;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 5px 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .featured-grid,
    .content-grid,
    .gallery-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
}
