/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0d0d0d;
    --secondary-dark: #1a1a1a;
    --accent-bordeaux: #722f37;
    --accent-bordeaux-light: #8b3a44;
    --accent-bordeaux-hover: #9e4851;
    --text-primary: #e5e5e5;
    --text-secondary: #b8b8b8;
    --text-muted: #888888;
    --border-color: #333333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
.navbar {
    background-color: var(--secondary-dark);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo a {
    color: var(--accent-bordeaux-light);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: var(--accent-bordeaux-hover);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-bordeaux-light);
}

/* Main content */
.main-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 4rem 0 6rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-bordeaux);
    color: var(--text-primary);
}

.btn-primary:hover {
    background-color: var(--accent-bordeaux-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-bordeaux-light);
    border-color: var(--accent-bordeaux);
}

.btn-secondary:hover {
    background-color: var(--accent-bordeaux);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Features section */
.features {
    padding: 2rem 0;
}

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

.feature-card {
    background-color: var(--secondary-dark);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-bordeaux);
}

.feature-card h3 {
    color: var(--accent-bordeaux-light);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--secondary-dark);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    margin-top: auto;
}

/* Latest Gallery Section */
.latest-gallery {
    margin: 4rem 0;
    overflow: hidden;
}

.latest-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 2rem;
}

.latest-gallery-header h2 {
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-primary);
    margin: 0;
}

.view-all-link {
    color: var(--accent-bordeaux-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.view-all-link:hover {
    color: var(--accent-bordeaux-hover);
}

.latest-gallery-container {
    width: 100%;
    overflow: hidden;
    mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.latest-gallery-track {
    display: flex;
    gap: 1rem;
    animation: scrollRightToLeft 30s linear infinite;
    width: max-content;
}

.latest-gallery-track:hover {
    animation-play-state: paused;
}

.latest-gallery-item {
    flex-shrink: 0;
    width: 200px;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--secondary-dark);
}

.latest-gallery-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 30px rgba(114, 47, 55, 0.4);
}

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

.latest-gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: var(--text-primary);
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: translateY(100%);
}

.latest-gallery-item:hover .latest-gallery-item-overlay {
    opacity: 1;
    transform: translateY(0);
}

.latest-gallery-item-model {
    font-size: 0.75rem;
    color: var(--accent-bordeaux-light);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.latest-gallery-item-prompt {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: var(--text-secondary);
    width: 100%;
}

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

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
    }
    
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .latest-gallery-header {
        padding: 0 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .latest-gallery-header h2 {
        font-size: 1.5rem;
    }
    
    .latest-gallery-item {
        width: 150px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
} 