/* Hot Anvil Productions - Main Stylesheet */

/* Font import with font-display */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;700&display=swap');

.py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.py-7 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.py-8 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

/* Base Styles */
body {
    font-family: 'Raleway', sans-serif;
    background-color: #000;
    color: #fff;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Global font weight normalization */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reset font synthesis to prevent fake bold */
* {
    font-synthesis: none;
}

/* Ensure consistent font weights */
h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p {
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    font-weight: inherit;
}

/* Raleway specific weight classes */
.fw-300 { font-weight: 300 !important; }
.fw-400 { font-weight: 400 !important; }
.fw-500 { font-weight: 500 !important; }
.fw-700 { font-weight: 700 !important; }

/* Prevent synthetic bold in webkit browsers */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    * {
        -webkit-font-smoothing: antialiased !important;
        -webkit-text-stroke: 0.04px;
    }
}

/* Safari-specific font weight fix */
@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance:none) {
        body, h1, h2, h3, h4, h5, h6, p, a, span, div {
            -webkit-font-smoothing: subpixel-antialiased;
        }

        .menu-item,
        .section-title,
        .carousel-content h2,
        .contact-title {
            -webkit-text-stroke: 0.2px;
        }
    }
}

/* Header Styles */
.desktop-header {
    height: 220px;
    position: relative;
}

.logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.nav-container {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.menu-item {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500 !important;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    padding-bottom: 8px; /* Reserve space for underline */
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.menu-item:hover {
    color: #cccccc;
}

.menu-item.active {
    text-decoration: underline;
    text-underline-offset: 7px;
    text-decoration-thickness: 1px;
}

.social-icon {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.socialIcons {
    margin-top: -5px;
}

.socialIcons .social-icon {
    font-size: 20px !important;
    padding: 0 5px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.social-icon:hover {
    color: #cccccc;
}

/* Mobile Menu */
#mobile-menu {
    z-index: 1002;
    position: fixed;
    top: 67px; /* More space for the moved X icon */
    left: 0;
    width: 100%;
    height: calc(100vh - 67px); /* Adjust height to maintain full coverage */
    background-color: #000;
}

/* Page transition effect */
.page-transition {
    animation: fadeOut 0.4s ease;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.mobile-header {
    height: 67px;
    z-index: 1051; /* Higher than the mobile menu to remain visible */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    transition: height 0.3s ease;
}

.mobile-header-index {
    height: 139px;
}

.mobile-header.mobile-menu-open {
    height: 67px;
    overflow: visible; /* Allow X icon to be visible outside header bounds */
    transition: height 0.3s ease;
}

/* When menu is open, hide the brand text but keep hamburger visible */
.mobile-menu-open .mobile-header-text {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hide mobileLogo when mobile menu is open with transition */
#mobileLogo {
    opacity: 1;
    transition: opacity 0.3s ease; /* Only applies when opacity changes from 0 to 1 */
}

.mobile-menu-open #mobileLogo {
    opacity: 0;
    transition: none; /* No transition for immediate hide */
}

body.mobile-menu-open {
    overflow: hidden; /* Prevent scrolling when menu is open */
}

/* Main Content */
main {
    padding-top: 220px;
    padding-bottom: 0; /* No bottom padding on mobile */
}

/* Footer */
footer {
    width: 100%;
    z-index: 1000;
    height: 70px; /* Set exact height */
    position: relative; /* Default for mobile */
}

footer small {
    /*height: 70px;*/
    line-height: 70px;
    font-size: 0.875rem; /* 14px - legible size */
}

footer .pika-svon a {
    text-decoration: none;
    font-size: 0.75rem; /* 12px - minimum legible size */
}
footer .pika-svon a span {
    color: #fff;
    padding: 5px 7px 0 7px;
}

/* Non-sticky footer on all screen sizes */
@media (min-width: 992px) {
    footer {
        /* position: fixed; */
        /* bottom: 0; */
    }

    main {
        /* padding-bottom: 80px; */ /* Removed padding since footer is no longer fixed */
    }
}

/* Medium screens (tablets) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .carousel-content h2 {
        font-size: 2.5rem;
        letter-spacing: 0.15em;
    }

    .carousel-content .btn {
        font-size: 0.85rem;
        padding: 14px 35px;
    }
}

/* Hero Banners */
.hero-banner {
    position: relative;
    height: 25vh;
    min-height: 434px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.about-hero {
    background-image: url('../images/about_hero.jpg');
}

.craft-hero {
    height: 20vh;
    min-height: initial;
    background-image: url('../images/craft_hero.jpg');
}

.contact-hero {
    min-height: initial;
    background-image: url('../images/contact_hero.jpg');
}

.craft-content {
    margin-top: calc(10vh - 1.2em);
}

.contact-content {
    margin-top: calc(10vh - 1.2em);
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: 10;
}

/* Section Styles */
.section-title {
    font-size: 2.4em;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /*margin-bottom: 1.5rem;*/
}

.section-description {
    max-width: 1000px;
    margin: 0 auto 3rem auto;
    font-size: 1em;
    line-height: 1.7em;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* About Page */
.about-section {
    margin-bottom: 5rem;
}

.commitment-icon {
    height: 80px;
    margin-bottom: 1.5rem;
}

.commitment-title {
    font-size: 2.3em;
    font-weight: 400;
    margin-bottom: 4rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-title {
    margin-bottom: 3rem;
}

.commitment-subtitle {
    font-weight: 600;
    font-size: 1.2em;
    margin-bottom: 0.3em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.about-hero-content {
    max-width: 1000px;
    margin: 0 auto 3rem auto;
    margin-top: 8.2vh;
    font-weight: 400;
}

.about-hero-text {
    font-size: 1.05em;
    line-height: 1.8em;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.about-portrait {
    max-height: 400px;
}

.about-story-text {
    font-size: 1em;
    line-height: 1.9em;
    font-weight: 300 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.about-commitment-img {
    max-height: 400px;
}

.ourCommitmentText {
    line-height: 1.7em;
    font-size: 1em;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Contact Page */
.contact-main {
    min-height: calc(100vh - 90px); /* Full viewport height */
    padding-top: 220px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 991.98px) {
    .contact-main {
        min-height: calc(100vh - 67px); /* Mobile: Full height minus mobile header (footer is not fixed) */
        padding-top: 67px;
    }
}

.contact-hero {
    height: 20vh;
    background-position: center;
    background-size: cover;
}

.contact-section {
    padding: 0px 0 40px 0; /* Added bottom padding */
    height: auto; /* Remaining height after hero */
    min-height: 400px;
    display: block;
    margin-top: calc(25vh + 20px);
    align-items: center;
    flex: 1; /* Fill remaining space */
}

.contact-header {
    margin-top: -10vh;
    margin-bottom: 50px;
}

.contact-title {
    font-family: 'Raleway', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #000;
    margin-bottom: 0.5rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.contact-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: 1.05rem;
    color: #000;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.contact-info-wrapper {
    text-align: center;
    margin-top: 90px;
    margin-bottom: 90px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0px;
    font-size: 1.05rem;
}

.contact-info-item i {
    font-size: 1.1rem;
    color: #000;
}

.contact-info-item a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-item a:hover {
    color: #666;
}

.contact-info-item span {
    color: #000;
}

.contact-info-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 10px;
}

.contact-social-wrapper {
    text-align: center;
    margin-top: 100px;
    margin-bottom: 0;
}

.contact-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: #000;
    text-decoration: none;
    margin: 0 0px;
    font-size: 1.4rem;
    transition: all 0.3s;
}

.contact-social-icon:hover {
    transform: scale(1.3);
}

/* Legacy contact styles for backwards compatibility */
.lead {
    font-size: 1.5rem;
    font-weight: 300;
}

.contact-icon {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    padding-right: 1rem;
}

.contact-item {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.contact-item a {
    color: inherit;
    text-decoration: none !important;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #666;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: 10;
}

/* Craft Page */
.craft-section {
    padding: 5rem 0;
}

.craft-section:nth-child(even) {
    background-color: #111;
}


.craft-item {
    margin-bottom: 2rem;
}

.craft-item-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Creates a square container */
    overflow: hidden;
}

.craft-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Home Page */
.carousel-container {
    height: calc(100vh - 220px); /* Viewport height minus header only */
    overflow: hidden;
}

.carousel-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    pointer-events: none; /* Allows clicks to pass through to the elements beneath */
    z-index: 1; /* Ensure it's above the image but below any controls */
}

.carousel-item {
    position: relative; /* Ensure the overlay positions relative to this */
}

.carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Carousel Content Styles */
.carousel-content {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 1200px;
}

.carousel-content h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 2.6rem;
    color: white;
    letter-spacing: 0.03em;
    margin-bottom: 2.5rem;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.carousel-content .btn {
    background-color: #000;
    color: white;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 15px 40px;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.carousel-content .btn:hover {
    background-color: white;
    color: #000;
    /*transform: translateY(-2px);*/
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Custom fade transition duration for homeCarousel */
#homeCarousel.carousel-fade .carousel-item {
    transition-duration: 0.8s; /* Reduced fade duration for better performance */
}

/* Hardware acceleration for carousel items */
#homeCarousel .carousel-item {
    will-change: opacity;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Optimize carousel images */
#homeCarousel .carousel-item img {
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.object-fit-cover {
    object-fit: cover;
}

.object-position-top {
    object-position: center 25%;
}

/* Prevent carousel freezing on visibility change */
#homeCarousel.carousel-fade .carousel-item.active {
    display: block !important;
    opacity: 1 !important;
}

/* Hamburger Menu Animation */
.hamburger-menu {
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    display: inline-block;
    z-index: 1060; /* Make sure it's higher than the mobile menu */
    padding: 10px;
    margin-top: 10px;
    margin-right: -10px; /* Offset the padding */
    transition: all 0.3s;
}

.hamburger-line {
    width: 100%;
    height: 1px;
    background-color: white;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
    overflow: hidden;
    text-indent: -9999px;
    font-size: 0;
}

.hamburger-line:nth-child(1) {
    top: 0;
}

.hamburger-line:nth-child(2) {
    top: 11px;
}

/* Animated X state */
.hamburger-menu.active {
    transform: translate(-30px, 30px); /* Move X icon away from top-right corner */
    z-index: 1070; /* Higher than mobile menu overlay (1050) and header (1051) */
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    top: 11px;
    transform: rotate(-45deg);
}

/* Mobile header text */
.mobile-header-text {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.mobile-header-text:hover {
    color: #cccccc;
}

.mobile-menu-item {
    transition: transform 0.2s ease;
    padding: 15px 30px;
    letter-spacing: 1px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.mobile-menu-item:hover {
    transform: scale(1.1);
    color: #cccccc;
}

@media (max-width: 1366px) {
    .about-hero-content {
        margin-top: 13vh !important;
    }
}

@media (width: 1024px) {
    .about-hero-content {
        margin-top: 10vh !important;
    }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    main {
        padding-top: 54px; /* Adjust for mobile header height */
    }

    .mobileHeader {
        font-size: 1.4rem;
        font-weight: bold;
        text-align: center;
        text-decoration: none;
        color: white;
        font-family: 'Raleway', sans-serif;
    }

    .carousel-container {
        height: calc(100vh - 139px); /* Viewport height minus mobile header only */
        overflow: hidden;
    }

    /* Custom fade transition duration for homeCarousel on mobile */
    #homeCarousel.carousel-fade .carousel-item {
        transition-duration: 0.6s; /* Shorter duration for mobile performance */
    }

    /* Mobile performance optimizations */
    #homeCarousel {
        -webkit-overflow-scrolling: touch;
    }

    #homeCarousel .carousel-item img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }

    /* Carousel Content Mobile Styles */
    .carousel-content {
        bottom: 10%; /* Slightly closer to bottom on mobile */
    }

    .carousel-content h2 {
        font-size: 1.6rem;
        line-height: 2.4rem;
        letter-spacing: 0.1em;
        margin-bottom: 1.5rem;
        white-space: normal; /* Allow wrapping on mobile */
    }

    .carousel-content .btn {
        font-size: 0.8rem;
        padding: 12px 30px;
        letter-spacing: 0.1em;
    }

    .hero-banner {
        height: 65vh;
    }

    .about-section {
        margin-bottom: 2rem;
    }

    .about-hero-content {
        margin-top: 7vh !important;
    }

    .about-hero-text {
        font-size: 1.05em;
        line-height: 1.6em;
    }

    .about-portrait {
        max-height: 400px;
    }

    .about-story-text {
        font-size: 1.0em;
        line-height: 1.8em;
        font-weight: 300 !important;
    }

    .commitment-title {
        margin-top: 1.5rem;
        font-size: 1.5em;
        font-weight: 400;
    }

    .about-commitment-img {
        max-height: 200px;
    }

    .craft-hero {
        height: 16vh;
    }

    .craft-content {
        margin-top: 3vh;
    }

    .craft-item {
        margin-bottom: 1rem;
    }

    .contact-hero {
        height: 14vh;
    }

    .contact-content {
        margin-top: 1vh;
    }

    .contact-section {
        padding: 20px 20px 40px 20px; /* Added bottom padding on mobile */
        min-height: 460px;
        margin-top: calc(2vh + 20px);
        flex: 1; /* Fill remaining space on mobile too */
    }

    .contact-header {
        margin-top: 0vh;
        margin-bottom: 50px;
    }

    .contact-title {
        font-size: 1.3rem;
    }

    .contact-subtitle {
        font-size: 1rem;
    }

    .contact-info-wrapper {
        margin-top: 80px;
        margin-bottom: 30px;
    }

    .contact-info-item {
        margin-bottom: 15px;
    }

    .contact-info-row {
        flex-direction: column;
        gap: 0px;
        margin-top: 0;
    }

    .contact-social-wrapper {
        margin-top: 60px;
    }

    .contact-social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem !important;
        font-weight: 300 !important;
    }

    .lead {
        font-size: 1.2rem;
    }

    .contact-icon {
        font-size: 1rem;
        margin-right: 10px;
        display: inline;
    }

    .contact-item {
        margin-bottom: 1.5rem;
        font-size: 1.1rem;
    }

    .social-icon {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.55em;
        line-height: 1.4em;
        font-weight: 400;
        margin-top: 3.6vh;
    }

    .section-description {
        font-size: 1em;
        line-height: 1.8em;
    }

    footer {
        font-size: 0.8rem;
        text-align: center;
    }

    footer small, footer small.py-3 {
        line-height: initial;
        padding-top: 0px !important;
    }

    /* Mobile Footer Layout */
    footer {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: auto;
        padding: 20px 0;
    }

    footer .social-icons-mobile {
        margin-top: 5px;
        margin-bottom: 20px; /* Equal gap */
    }

    footer .copyright-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px; /* Equal gap between copyright text and pika/svon */
    }

    footer .copyright-mobile small {
        font-size: 0.75rem;
        white-space: nowrap;
        margin: 0; /* Remove any default margins */
    }

    footer .pika-svon-mobile {
        display: flex;
        gap: 10px;
        align-items: center;
        margin: 0; /* Remove any default margins */
        margin-bottom: 15px;
        vertical-align: middle;
    }

    footer .pika-svon-mobile a.design img {
        height: 15px !important;
    }

    footer .pika-svon-mobile a.website img {
        height: 9px !important;
    }
    footer .pika-svon-mobile a {
        font-size: 0.75rem !important;
        text-decoration: none;
    }
    footer .pika-svon-mobile a span {
        color: #fff;
        padding: 5px 7px 0 7px;
    }

    .craft-section {
        padding: 1.6em 0;
    }

    .commitment-subtitle {
        font-size: 1.1em;
        margin-bottom: 2px;
    }

    .ourCommitmentText {
        line-height: 1.5em;
    }
}

/* Safari-specific font weight normalization */
@supports (-webkit-appearance: none) {
    body {
        -webkit-text-size-adjust: 100%;
    }

    .fw-300,
    .about-story-text,
    .contact-subtitle {
        font-weight: 400 !important;
        letter-spacing: 0.02em;
    }

    .fw-400,
    .section-title,
    .section-description,
    p {
        font-weight: 400 !important;
    }

    .fw-500,
    .commitment-subtitle {
        font-weight: 600 !important;
    }

    .fw-700,
    .carousel-content .btn {
        font-weight: 700 !important;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    margin: auto;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

.lightbox-close-line:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}

.lightbox-close-line:nth-child(2) {
    top: 11px;
    transform: rotate(-45deg);
}

.lightbox-close:hover .lightbox-close-line {
    background-color: #bbb;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    padding: 10px 20px;
    transition: color 0.3s ease;
    user-select: none;
}

.lightbox-nav:hover {
    color: #bbb;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Make craft images clickable */
.craft-item-container {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.craft-item-container:hover {
    transform: scale(1.02);
}

/* Make about commitment images clickable */
.about-commitment-img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.about-commitment-img:hover {
    transform: scale(1.02);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .lightbox-close {
        top: 20px;
        right: 20px;
    }

    .lightbox-nav {
        font-size: 24px;
        padding: 5px 10px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}
