:root {
    --primary-color: #000000;
    --accent-color: #313131;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f9f9f9;
    --bg-dark: #1a1a1a;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    background-color: var(--bg-light);
    color: var(--text-dark);
    transition: var(--transition);
    font-family: 'Roboto', sans-serif;
    margin-top: 60px; /* Matches navbar height */
}

body.dark-mode {
    --bg-light: var(--bg-dark);
    --text-dark: var(--text-light);
}

/* Carousel Section */
.hero-carousel {
    height: 60vh;
    margin-top: 64px;
}

.carousel-image {
    width: 100%;
    height: 60vh;
    object-fit: cover;
}

/* Guides Section */
.guides-section {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.guide-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

body.dark-mode .guide-card {
    background: #2b2b2b;
}

.guide-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.guide-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.guide-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.guide-button {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    margin-top: auto;
    width: fit-content;
    transition: var(--transition);
}

.guide-button:hover {
    background: #a31616;
    transform: translateY(-2px);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hero-carousel {
        height: 50vh;
    }

    .carousel-image {
        height: 50vh;
    }
}