/* Critical CSS for fast loading */
:root {
    --primary: #0f172a;
    --secondary: #64748b;
    --accent: #3b82f6;
    --surface: #f8fafc;
    --border: #e2e8f0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    letter-spacing: -0.025em;
    margin: 0;
    padding: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.btn-primary {
    background-color: #0f172a;
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.5s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background-color: #1e293b;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.25);
}

.btn-secondary {
    border: 1px solid #cbd5e1;
    color: #0f172a;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.5s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    border-color: #0f172a;
    color: white;
    background-color: #0f172a;
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}

.slide-up {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(40px);
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

.hero-indicator {
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-indicator.active {
    width: 2rem !important;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile menu styles */
#mobile-nav {
    transition: all 0.3s ease;
}

#mobile-nav.show {
    display: block !important;
}

.card-minimal {
    transition: all 0.5s ease;
}

.card-minimal:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.1);
}

/* Gallery styles */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.gallery-modal img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.gallery-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.gallery-close:hover {
    background: rgba(255, 255, 255, 0.2);
}
