:root {
    --primary-color: #f21f44; /* Stripchat-like red/pink */
    --primary-hover: #d6183a;
    --bg-color: #121212;
    --secondary-bg: #1e1e1e;
    --tertiary-bg: #2a2a2a;
    --text-color: #e0e0e0;
    --heading-color: #ffffff;
    --link-color: #f21f44;
    --border-color: #333;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --spacing-unit: 1rem;
    --border-radius: 8px;
    --header-height: 60px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
    font-size: 16px;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    margin-bottom: var(--spacing-unit);
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-top: 2rem; }
h3 { font-size: 1.5rem; margin-top: 1.5rem; }

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Header */
header {
    background-color: var(--secondary-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: var(--header-height); /* Changed from height to min-height for expansion */
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
    flex-wrap: wrap; /* Allow wrapping for mobile menu */
}

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary-color);
    z-index: 1001; /* Ensure logo stays above if needed */
}

.logo img {
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
}

.mobile-menu-btn {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-color);
    text-decoration: none;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    text-decoration: none;
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(242, 31, 68, 0.1);
    text-decoration: none;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('images/camd.jpg');
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #eee;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Grid Layouts */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background-color: var(--secondary-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.card-img-wrapper {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
}

.card-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.card-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.card-info {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 1rem;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--secondary-bg);
    border-radius: var(--border-radius);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    fill: var(--primary-color);
}

/* Category Pills */
.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.category-pill {
    background-color: var(--secondary-bg);
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-pill:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    text-decoration: none;
}

/* Content Sections */
.content-section {
    background-color: var(--secondary-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.text-content p {
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background-color: var(--secondary-bg);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #aaa;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--tertiary-bg);
    color: #777;
    font-size: 0.9rem;
}

.cta-banner {
    background: linear-gradient(45deg, var(--primary-color), #ff4b6e);
    padding: 3rem 0;
    text-align: center;
    border-radius: var(--border-radius);
    margin: 3rem 0;
}

.cta-banner h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.cta-banner .btn {
    background-color: white;
    color: var(--primary-color);
}

.cta-banner .btn:hover {
    background-color: #f8f9fa;
}

/* Blog Specific Styles */
.blog-grid .card-img-wrapper {
    padding-top: 60%;
}

@media (min-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .models-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-inner {
        padding: 0.5rem 1rem;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0;
        margin-top: 1rem;
        background-color: var(--secondary-bg);
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 1rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--tertiary-bg);
    }
    
    .header-actions {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1rem 0;
    }

    .header-actions.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
