/* Root Variables - Anthropic-inspired palette */
:root {
    --primary-color: #BF5533;
    --secondary-color: #6B6B6B;
    --dark-color: #191919;
    --light-color: #F5F4EF;
    --accent-color: #BF5533;
    --accent-secondary: #2D6A6A;
    --cream-bg: #FAF9F6;
    --warm-white: #FFFFFE;
    --border-color: #E5E4DF;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--dark-color);
    overflow-x: hidden;
    background: var(--cream-bg);
    font-size: 16px;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar - Anthropic style */
.navbar {
    background: var(--dark-color) !important;
    padding: 0.5rem 0;
    border-bottom: none;
    box-shadow: none;
}

.navbar-brand {
    font-size: 1.25rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--warm-white) !important;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.navbar-brand:hover {
    opacity: 0.85;
}

.navbar-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.navbar-brand:hover .navbar-logo {
    opacity: 0.85;
}

.brand-text {
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--warm-white);
    display: none;
    transition: var(--transition);
}

@media (min-width: 992px) {
    .brand-text {
        display: inline;
    }
}

.nav-link {
    transition: var(--transition);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem;
    padding: 0.5rem 1.25rem !important;
}

.nav-link:hover {
    color: var(--warm-white) !important;
}

/* Hero Section - Anthropic style */
.hero-section {
    position: relative;
    min-height: 90vh;
    background: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--warm-white);
}

.hero-section h1 {
    font-weight: 400;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    line-height: 1.1;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.hero-section h1 .highlight {
    color: var(--accent-color);
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background: var(--warm-white);
    color: var(--dark-color);
    border: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.btn-primary:hover {
    background: var(--light-color);
    color: var(--dark-color);
    transform: translateY(-1px);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--warm-white);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--warm-white);
}

/* Animation - Subtle Anthropic style */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

/* Video Carousel Section - Anthropic style */
#videos {
    background: var(--cream-bg);
    position: relative;
    padding: 100px 0;
}

#videos h2 {
    color: var(--dark-color);
    font-weight: 400;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

#videos .lead {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 400;
}

.video-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 48px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--warm-white);
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.carousel-btn:hover {
    background: var(--dark-color);
    color: var(--warm-white);
    border-color: var(--dark-color);
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn.prev {
    left: -30px;
}

.carousel-btn.next {
    right: -30px;
}

.videos-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 24px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    width: 100%;
}

.videos-container::-webkit-scrollbar {
    height: 4px;
}

.videos-container::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: 4px;
}

.videos-container::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

.videos-container::-webkit-scrollbar-thumb:hover {
    background: var(--dark-color);
}

.video-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--warm-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    scroll-snap-align: start;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: var(--dark-color);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.card-content {
    padding: 24px;
}

.card-title {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 8px;
    transition: var(--transition);
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.video-card:hover .card-title {
    color: var(--accent-color);
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.card-meta small {
    color: var(--secondary-color) !important;
    font-size: 0.85rem;
}

/* Responsive Video Cards */
@media (max-width: 1024px) {
    .video-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .video-card {
        flex: 0 0 calc(100% - 8px);
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .carousel-btn.prev {
        left: -16px;
    }

    .carousel-btn.next {
        right: -16px;
    }
}

/* About Section - Anthropic style */
#about {
    padding: 100px 0;
    background: var(--warm-white) !important;
}

#about h2 {
    color: var(--dark-color);
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

#about .lead {
    font-size: 1.15rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--dark-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.2);
}

#about h5 {
    color: var(--dark-color);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 1rem;
}

#about h5 i {
    color: var(--accent-color);
    margin-right: 8px;
}

#about p {
    color: var(--secondary-color);
}

/* Contact Section - Anthropic style */
#contact {
    background: var(--cream-bg);
    padding: 100px 0;
}

#contact h2 {
    color: var(--dark-color);
    font-weight: 400;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

#contact .lead {
    color: var(--secondary-color);
    margin-bottom: 48px;
}

.contact-card {
    background: var(--warm-white);
    border: 1px solid var(--border-color);
    padding: 40px 24px;
    border-radius: 12px;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: transparent;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.contact-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 16px;
}

.contact-card h5 {
    color: var(--dark-color);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 1rem;
}

.contact-card a {
    color: var(--secondary-color);
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--accent-color);
}

.contact-form {
    max-width: 500px;
    margin: 48px auto 0;
}

.form-control,
.form-control:focus {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--warm-white);
}

.form-control:focus {
    border-color: var(--dark-color);
    box-shadow: none;
}

.form-control::placeholder {
    color: var(--secondary-color);
}

/* Footer - Anthropic style */
footer {
    background: var(--dark-color);
    border-top: none;
    padding: 48px 0;
}

footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

footer strong {
    color: var(--warm-white);
    font-weight: 500;
}

footer a {
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 1.1rem;
}

footer a:hover {
    color: var(--warm-white) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.25rem;
    }

    .hero-section .lead {
        font-size: 1.05rem;
    }

    #about,
    #videos,
    #contact {
        padding: 72px 0;
    }

    #about h2 {
        font-size: 1.75rem;
    }

    .about-image-placeholder {
        font-size: 5rem;
        margin-bottom: 32px;
    }

    #contact .lead {
        margin-bottom: 32px;
    }

    .contact-card {
        padding: 32px 20px;
    }

    .contact-card i {
        font-size: 1.75rem;
    }

    footer .row {
        text-align: center;
    }

    footer .col-md-6 {
        margin-bottom: 16px;
    }

    footer .col-md-6.text-md-end {
        text-align: center;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Selection styling */
::selection {
    background: var(--accent-color);
    color: var(--warm-white);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
.form-control:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}
