/* Design System for Loveyansh Fitness Center */
:root {
    --primary-color: #ff0000; /* Bold Red */
    --secondary-color: #000000; /* Deep Black */
    --text-light: #ffffff;
    --text-dark: #333333;
    --accent-color: #e60000;
    --bg-dark: #121212;
    --card-bg: #1e1e1e;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary-color);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    transition: var(--transition);
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
}

.hero h1 {
    font-size: 4rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease;
}

.btn {
    padding: 0.8rem 2.5rem;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

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

/* Marquee Effect (About Page) */
.marquee-container {
    background: var(--card-bg);
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}

.marquee {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

.testimonial-card {
    background: #252525;
    padding: 1.5rem;
    margin-right: 2rem;
    border-radius: 10px;
    min-width: 300px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Grid Layout (Services Page) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 5rem 5%;
}

.service-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

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

.service-info {
    padding: 1.5rem;
}

.service-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price {
    font-weight: bold;
    color: #fff;
    margin-top: 1rem;
    display: block;
}

/* Forms (Contact Page) */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 8rem 5% 5rem;
}

form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem;
    background: #252525;
    border: 1px solid #444;
    color: #fff;
    border-radius: 5px;
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}
