/*
Redesigned CSS for Jack Bontatibus website
- Elegant, artistic design with serif typography
- Warm beige/cream color palette inspired by original site
- Refined, editorial aesthetic
- Fully responsive for mobile and desktop
- Brand partners section with logo marquee and white-to-charcoal filter
- Portfolio: 3 TikToks in row (stack mobile), Telesin normal card, consistent video-info
*/

/* ==================== */
/* CSS Variables & Reset */
/* ==================== */
:root {
    --color-cream: #f5f1e8;
    --color-beige: #e8e3d6;
    --color-sand: #d4cdb8;
    --color-brown: #8b7f6d;
    --color-dark-brown: #5c523e;
    --color-black: #1a1614;
    --color-accent: #a48a6b;
    --color-white: #ffffff;
    
    --font-serif: 'Crimson Pro', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-cream);
    color: var(--color-black);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==================== */
/* Navigation */
/* ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(245, 241, 232, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(139, 127, 109, 0.15);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(26, 22, 20, 0.08);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-black);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: var(--transition-fast);
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--color-dark-brown);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 400;
    transition: var(--transition-fast);
    position: relative;
    letter-spacing: 0.01em;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-black);
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--color-black);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-black);
    margin: 3px 0;
    transition: var(--transition-smooth);
    border-radius: 2px;
}

/* ==================== */
/* Hero Section */
/* ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 80px;
    background-color: var(--color-cream);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-profile-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-sand);
}

.hero-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-brown);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.15;
    color: var(--color-black);
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.italic-text {
    font-style: italic;
    font-weight: 400;
}

.block {
    display: block;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-black);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--color-brown);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--color-sand);
}

.hero-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-dark-brown);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-block;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 1rem 2.5rem;
    border-radius: 2px;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-black);
}

.hero-cta:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

/* ==================== */
/* Accomplishments Section */
/* ==================== */
.accomplishments {
    padding: 8rem 0;
    background-color: var(--color-beige);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--color-black);
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.0625rem;
    color: var(--color-brown);
    margin-top: -2.5rem;
    margin-bottom: 4rem;
    font-style: italic;
    font-family: var(--font-serif);
}

.accomplishments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.accomplishment-card {
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 2px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(139, 127, 109, 0.15);
}

.accomplishment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(26, 22, 20, 0.1);
}

.accomplishment-card h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-black);
    line-height: 1.3;
}

.accomplishment-card p {
    color: var(--color-dark-brown);
    line-height: 1.8;
    font-size: 1rem;
}

/* Brand Partners Block - full-width, distinct from cards */
.accomplishments-grid-partners {
    grid-template-columns: 1fr;
}

.brand-partners-block {
    grid-column: 1 / -1;
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 2px;
    border: 1px solid rgba(139, 127, 109, 0.15);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.brand-partners-block:hover {
    box-shadow: 0 10px 30px rgba(26, 22, 20, 0.1);
}

.brand-partners-content {
    margin-bottom: 2.5rem;
}

.brand-partners-content h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-black);
    line-height: 1.3;
}

.brand-partners-content p {
    color: var(--color-dark-brown);
    line-height: 1.8;
    font-size: 1rem;
}

/* Logo strip - masks for fade edges */
.brand-logos-wrapper {
    position: relative;
    margin: 0 -3rem -3rem;
    padding: 2rem 0;
    overflow: hidden;
}

.brand-logos-wrapper::before,
.brand-logos-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.brand-logos-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--color-white), transparent);
}

.brand-logos-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--color-white), transparent);
}

/* White logos → off-black/charcoal to match site text */
.brand-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    /* Recolor white logos to site-appropriate charcoal */
    filter: brightness(0) saturate(100%);
    opacity: 0.75;
    transition: opacity var(--transition-fast);
}

.brand-partners-block:hover .brand-logo {
    opacity: 0.9;
}

.brand-logos-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: logo-marquee 35s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
    .brand-logos-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
    }

    .brand-logos-wrapper::before,
    .brand-logos-wrapper::after {
        display: none;
    }
}

/* ==================== */
/* Testimonial Section */
/* ==================== */
.testimonial-section {
    padding: 8rem 0;
    background-color: var(--color-cream);
}

.testimonial-container {
    max-width: 850px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 4rem;
    border-radius: 2px;
    border: 1px solid rgba(139, 127, 109, 0.15);
}

.testimonial-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stars {
    color: var(--color-accent);
    font-size: 1.25rem;
    letter-spacing: 0.25rem;
}

.rating-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-black);
}

.testimonial-badge {
    text-align: center;
    color: var(--color-brown);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-dark-brown);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-sand);
}

.author-name {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 0.25rem;
}

.author-title {
    color: var(--color-brown);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==================== */
/* Portfolio Section */
/* ==================== */
.portfolio {
    padding: 8rem 0;
    background-color: var(--color-beige);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.video-card {
    background-color: var(--color-white);
    border-radius: 2px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(139, 127, 109, 0.15);
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26, 22, 20, 0.12);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: var(--color-beige);
}

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

/* TikTok block - 3 videos in a ROW on desktop, stacked on mobile */
.video-tiktok-block {
    grid-column: span 2;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
}

.video-tiktok-block .tiktok-embed {
    margin: 0;
}

/* Consistent text block for all cards */
.video-info {
    padding: 1.5rem 1.5rem 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.video-info h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-black);
    line-height: 1.35;
    margin: 0;
}

.video-badge {
    font-size: 0.75rem;
    color: var(--color-brown);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin: 0;
}


/* ==================== */
/* Work Experience Section */
/* ==================== */
.work-experience {
    padding: 8rem 0;
    background-color: var(--color-cream);
}

.experience-block {
    margin-bottom: 5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.experience-block:last-child {
    margin-bottom: 0;
}

.experience-content {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 3rem;
    padding: 3rem 0;
    border-top: 1px solid rgba(139, 127, 109, 0.2);
}

.experience-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-brown);
    font-weight: 300;
}

.company-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}

.company-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.experience-details h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-black);
}

.experience-role {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-brown);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.experience-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-dark-brown);
    margin-bottom: 2.5rem;
}

.experience-highlights {
    display: grid;
    gap: 2.5rem;
}

.highlight-item {
    position: relative;
}

.highlight-image {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(139, 127, 109, 0.15);
    max-width: 50%;
}

.highlight-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

.highlight-item:hover .highlight-image img {
    transform: scale(1.02);
}

.highlight-item h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-black);
}

.highlight-item p {
    color: var(--color-dark-brown);
    line-height: 1.8;
}

/* ==================== */
/* Contact Section */
/* ==================== */
.contact-section {
    padding: 8rem 0;
    background-color: var(--color-beige);
    text-align: center;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-profile {
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-sand);
}

.contact-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-brown);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.contact-content h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-black);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.contact-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-dark-brown);
    margin-bottom: 2.5rem;
}

.contact-button {
    display: inline-block;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 1rem 2.5rem;
    border-radius: 2px;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-black);
    margin-bottom: 3rem;
}

.contact-button:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

.contact-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 127, 109, 0.2);
}

.contact-info p {
    font-size: 0.875rem;
    color: var(--color-brown);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-info a {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--color-black);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* ==================== */
/* Footer */
/* ==================== */
.footer {
    padding: 3rem 0;
    background-color: var(--color-cream);
    border-top: 1px solid rgba(139, 127, 109, 0.15);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    font-size: 0.875rem;
    color: var(--color-brown);
    line-height: 1.6;
}

.footer-right {
    display: flex;
    gap: 2rem;
}

.footer-right a {
    font-size: 0.875rem;
    color: var(--color-dark-brown);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-right a:hover {
    color: var(--color-black);
}

/* ==================== */
/* Animations */
/* ==================== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

/* ==================== */
/* Responsive Design */
/* ==================== */

/* Tablet */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .video-tiktok-block {
        grid-column: span 1;
    }

    .experience-content {
        grid-template-columns: 80px 1fr;
        gap: 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-cream);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition-smooth);
        box-shadow: -5px 0 20px rgba(26, 22, 20, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a::after {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero-profile-image {
        width: 100px;
        height: 100px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-divider {
        width: 50px;
        height: 1px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .accomplishments,
    .testimonial-section,
    .portfolio,
    .work-experience,
    .contact-section {
        padding: 4rem 0;
    }

    .accomplishments-grid,
    .video-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .video-tiktok-block {
        grid-column: span 1;
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .accomplishment-card,
    .testimonial-container,
    .brand-partners-block {
        padding: 2rem;
    }

    .brand-logos-wrapper {
        margin: 0 -2rem -2rem;
    }

    .brand-logos-wrapper::before,
    .brand-logos-wrapper::after {
        width: 40px;
    }

    .brand-logo {
        height: 28px;
    }

    .brand-logos-track {
        gap: 2rem;
    }

    .experience-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .experience-number {
        font-size: 1.125rem;
    }

    .experience-details h3 {
        font-size: 1.5rem;
    }

    .company-header {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 1rem;
    }

    .company-logo {
        height: 30px;
    }

    .highlight-image {
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-profile {
        width: 120px;
        height: 120px;
    }

    .contact-content h2 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-right {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-description,
    .contact-description {
        font-size: 0.9375rem;
    }

    .hero-cta,
    .contact-button {
        padding: 0.875rem 2rem;
        font-size: 0.875rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
