/* Custom styles for Tasveer Studio */

/* Adobe Garamond Pro Font Setup */
@font-face {
    font-family: 'adobe-garamond-pro';
    src: url('https://use.typekit.net/af/a4e080/00000000000000007735d91e/31/l?subset_id=2&fvd=n7&v=3') format("woff2"),
        url('https://use.typekit.net/af/a4e080/00000000000000007735d91e/31/d?subset_id=2&fvd=n7&v=3') format("woff"),
        url('https://use.typekit.net/af/a4e080/00000000000000007735d91e/31/a?subset_id=2&fvd=n7&v=3') format("opentype");
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
    font-display: swap;
}

@font-face {
    font-family: 'adobe-garamond-pro';
    src: url('https://use.typekit.net/af/a4e080/00000000000000007735f99a/31/l?subset_id=2&fvd=n4&v=3') format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Font Family Classes */
.font-adobe {
    font-family: 'adobe-garamond-pro', Georgia, serif;
}

.font-highlight {
    font-family: 'Saol-Display', 'Playfair Display', Georgia, serif;
}

.font-heading {
    font-family: 'Butler', Georgia, serif;
}

.font-text {
    font-family: 'Cormorant Garamond', Cormorant, serif;
}

.font-subtitle {
    font-family: 'Montserrat', sans-serif;
}

body {
    font-family: 'Cormorant Garamond', serif;
}

.ts-nav-link {
    position: relative;
    color: #5d5f4a;
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s ease, text-shadow 0.2s ease;
    padding-bottom: 4px;
}

.ts-nav-link:hover,
.ts-nav-link.active {
    color: #4a4c3b;
}

.ts-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4a4c3b;
    border-radius: 1px;
}

/* Animated Hamburger to Cross Icon */
#mobile-menu-btn .bar-top,
#mobile-menu-btn .bar-mid,
#mobile-menu-btn .bar-bot {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

#mobile-menu-btn.is-open .bar-top {
    transform: translateY(8px) rotate(45deg);
    background-color: #1c1917;
}

#mobile-menu-btn.is-open .bar-mid {
    opacity: 0;
    transform: scaleX(0);
}

#mobile-menu-btn.is-open .bar-bot {
    transform: translateY(-8px) rotate(-45deg);
    background-color: #1c1917;
}

/* Infinite Marquee Animations for Career Page */
@keyframes marqueeLeft {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes marqueeRight {
    0% {
        transform: translate3d(-50%, 0, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

.animate-marquee-left {
    display: flex;
    width: max-content;
    animation: marqueeLeft 30s linear infinite;
    will-change: transform;
}

.animate-marquee-right {
    display: flex;
    width: max-content;
    animation: marqueeRight 30s linear infinite;
    will-change: transform;
}