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

body {
    font-family: Arial, sans-serif;
}

/* Header styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #e0e0e0;
    border-bottom: 1px solid #ccc;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    flex-grow: 1;
}

.search-icon {
    position: absolute;
    right: 2rem;
}

.search-icon img {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

/* Navigation styles */
nav {
    background-color: black;
    padding: 0.75rem 0;
    border-bottom: 1px solid #333;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 1.5rem;
}

nav ul li {
    color: white;
    font-size: 1.2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Content Container Styles */
.content-container {
    display: flex;
    padding: 2rem;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Main Content Styles */
.main-content {
    flex: 2.5;
}

.featured-graphic {
    border: 2px solid #000;
    aspect-ratio: 16/13.7;
    position: relative;
    overflow: hidden;
}

.featured-graphic .graphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.featured-graphic .recommendation-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-graphic .recommendation {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    font-size: 2.5rem;
    color: black;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
    z-index: 1;
}

.featured-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.featured-link:hover {
    transform: scale(1.01);
}

/* Sidebar Styles */
.sidebar {
    flex: 0.9;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    max-width: 350px;
}

.recommendation-item {
    border: 2px solid #000;
    padding: 0.9rem;
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.recommendation-item .graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.recommendation-item h3 {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
}

.recommendation-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.recommendation-link:hover {
    transform: scale(1.02);
}

/* Recommendations Grid */
.recommendations-grid {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.grid-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
    min-height: 320px;
}

.item-image {
    border: 2px solid #000;
    aspect-ratio: 16/9;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.grid-item h3 {
    font-size: 1.5rem;
    margin: 0;
}

.recommendation-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.graphic {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
}

.grid-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.grid-link:hover {
    transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
    }
    
    .main-nav {
        flex-wrap: wrap;
    }

    .grid-container {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer Styles */
footer {
    background-color: #000;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

footer p {
    margin: 0;
    font-size: 1rem;
} 