@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

@font-face {
  font-family: 'Switzer';
  font-style: normal;
  font-weight: 100 900;
  src: url('/fonts/Switzer-Medium.woff2') format('woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-steel {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    background: url('../img/steel-bg.png') repeat-x left top;
    background-size: auto 25px;
    height: 25px;
}

.header-main {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 0;
    background: url('../img/wood-bg.png') repeat-x left top;
    gap: 30px;
}

.header-info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    width: 30%;
    background: rgba(41, 41, 39, 0.67);
    padding: 25px;
}

.screw-header-1 {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20px;
    height: 20px;
}

.screw-header-2 {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
}

.header-logo {
    width: 243px;
    height: 184px;
}

.header-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.header-info h2 {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.2em;
    text-align: center;
}

.header-info-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.header-info-row h1 {
    color: #FFFFFF;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    line-height: 1.2em;
    text-align: center;
    width: 90%;
}

.header-phone {
    font-size: 29px;
}

.header-phone-svg,
.footer-phone-svg {
    width: 40px;
    height: 40px;
}

.header-check-svg,
.footer-check-svg {
    width: 25px;
    height: 25px;
}

.header-free-quote {
    font-size: 24px;
}

.header-navigation-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    width: 100%;
    background-color: #7A1302;
    padding: 20px;
}

.header-navigation {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 15px 40px;
    flex-wrap: wrap;
    position: relative;
}

.header-navigation > a:last-of-type {
    position: relative;
}

.header-navigation-container a {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    color: #FFFFFF;
    font-size: 15px;
    letter-spacing: -0.01em;
    line-height: 1.2em;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.header-navigation-container a:hover {
    color: #C1B69B;
    transition: 0.3s ease-in-out;
}

.home-navigation-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #7A1302;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    z-index: 1000;
    margin-top: 10px;
    border-radius: 4px;
}

.home-navigation-dropdown.show {
    /* display: block; */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding: 10px 15px;
}

.home-navigation-dropdown a {
    display: block;
    /* padding: 3px 10px; */
    /* border-bottom: 1px solid rgba(255,255,255,0.1); */
}

.home-navigation-dropdown a:last-child {
    border-bottom: none;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-context {
    position: absolute;
    top: 50%;
    right: 15%;
    transform: translateY(-50%);
    color: white;
    text-align: left;
    max-width: 600px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.carousel-context.left {
    position: absolute;
    top: 50%;
    left: 15%;
    transform: translateY(-50%);
    color: white;
    text-align: right;
    max-width: 600px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.carousel-context h1 {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    color: #FFFFFF;
    font-size: 20px;
    line-height: 1.2em;
}

.carousel-context h2 {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    color: #FFFFFF;
    font-size: 20px;
    line-height: 1.2em;
}

/* Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0 15px 5px;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

/* Indicator Dots */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 30px;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator-dot.active {
    background: white;
    transform: scale(1.2);
}

.home-page-content-1-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: url(../img/lower-bg.png) no-repeat center top;
    background-size: cover;
}

.home-page-content-1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 100px;
    width: 100%;
    padding: 50px 0;
}

.home-page-content-1-contexts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    width: 475px;
}

.home-page-content-1-contexts h1 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    color: #7A1302;
    font-size: 40px;
    letter-spacing: -0.04em;
    line-height: 1.1em;
    text-align: left;
}

.home-page-content-1-contexts p {
    font-family: "Switzer", sans-serif;
    font-weight: 500;
    color: #292927;
    font-size: 18px;
    letter-spacing: -0.02em;
    line-height: 1.4em;
    text-align: left;
}

.get-a-free-quote-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 25px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    color: #FFFFFF;
    font-size: 22px;
    line-height: 1.2em;
    text-decoration: none;
    background: #292927;
}

.home-page-content-1-image {
    width: 475px;
    height: 402px;
    overflow: hidden;
    border-radius: 10px;
}

.home-page-content-1-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-page-content-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    padding: 50px 20px;
    border-top: 2px solid #C7C1B8;
}

.home-page-content-2 h1 {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    color: #292927;
    font-size: 40px;
    letter-spacing: -0.04em;
    line-height: 1.1em;
    text-align: center;
}

.home-page-featured-sheds-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
}

.home-page-featured-shed-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: rgba(45, 30, 133, 0.1) 0px 4px 30px 0px;
    width: 245.5px;
    height: 310px;
    padding: 6px;
}

.home-page-featured-shed-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.home-page-featured-shed-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    width: 85%;
}

.home-page-featured-shed-info h2 {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    color: #101011;
    font-size: 22px;
    line-height: 1.1em;
    letter-spacing: -0.02em;
    text-align: left;
}

.home-page-featured-shed-info h3 {
    font-family: "Switzer", sans-serif;
    font-weight: 500;
    color: #606266;
    font-size: 16px;
    line-height: 1.4em;
    letter-spacing: -0.02em;
    text-align: left;
}

.footer-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: url(../img/footer-bg.png) no-repeat center top;
    background-size: cover;
    padding: 20px 0;
    gap: 40px;
}

.footer-logo {
    width: 243px;
    height: 184px;
}

.footer-info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    width: 348px;
    background: #292927;
    padding: 25px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-info h2 {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.2em;
    text-align: center;
}

.footer-info-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-info-row h1 {
    color: #FFFFFF;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    line-height: 1.2em;
    text-align: center;
    width: 90%;
}

.mobile-menu-btn {
    display: none;
}

.template-title-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    padding: 20px 0;
    background: url(../img/grayrock-bg.jpg) no-repeat center center;
    background-size: cover;
    border-bottom: 3px solid #791500;
}

.template-title-container h1 {
    font-family: "Switzer", sans-serif;
    font-weight: 700;
    color: #FFFFFF;
    font-size: 36px;
    letter-spacing: -0.04em;
    line-height: 1.1em;
    text-align: left;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    padding: 0 50px;
}

.template-contents-container {
    display: flex;
    flex-direction: row; 
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    padding: 50px 0;
    background: #e5e2dd url(../img/mountain-bg.jpg) bottom center no-repeat;
}

.template-contexts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    width: 40%;
}

.template-contexts p {
    font-family: "Switzer", sans-serif;
    font-weight: 400;
    color: #444;
    font-size: 16px;
    letter-spacing: -0.02em;
    line-height: 1.4em;
    text-align: left;
}

.template-contexts ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-left: 30px;
}

.template-context-a {
    text-decoration: none;
    font-family: "Switzer", sans-serif;
    font-weight: 400;
    color: #791500;
    font-size: 16px;
    letter-spacing: -0.02em;
    line-height: 1.4em;
    text-align: left;
    transition: 0.3s ease-in-out;
}

.template-context-a:hover {
    color: #A81D00;
    transition: 0.3s ease-in-out;
}

.template-contexts h1 {
    font-family: "Switzer", sans-serif;
    font-weight: 700;
    color: #444;
    font-size: 30px;
    letter-spacing: -0.04em;
    line-height: 1.1em;
    text-align: left;
}

.template-contexts h2 {
    font-family: "Switzer", sans-serif;
    font-weight: 700;
    color: #444;
    font-size: 24px;
    letter-spacing: -0.04em;
    line-height: 1.1em;
    text-align: left;
}

.template-contexts h3,
.template-contexts p span {
    font-family: "Switzer", sans-serif;
    font-weight: 700;
    color: #444;
    font-size: 16px;
    letter-spacing: -0.02em;
    line-height: 1.4em;
    text-align: left;
}

.template-button-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.template-button {
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    color: #FFFFFF;
    font-size: 16px;
    line-height: 1.2em;
    padding: 10px 25px;
    background: #791500;
    border: 1px solid rgba(0,0,0,0.5);
    transition: 0.3s ease-in-out;
}

.template-button:hover {
    background: #4e4b48;
    transition: 0.3s ease-in-out;
}

.template-images-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 50%;
}

.template-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 45%;
    height: 250px;
    position: relative;
    transition: 0.3s ease-in-out;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.template-image.delivery {
    width: 80%;
    height: 400px;
}

.template-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.template-image-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #595756;
}

.template-image-title h1 {
    font-family: "Switzer", sans-serif;
    font-weight: 500;
    color: #ddd;
    font-size: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2em;
    text-align: center;
    padding: 10px 0;
}

.template-image:hover {
    transform: scale(1.05);
    transition: 0.3s ease-in-out;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    background: #fff;
    padding: 20px;
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    text-align: center;
}

.lightbox img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    margin-bottom: 15px;
}

.lightbox-close {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 40px;
    font-weight: bolder;
    color: #fff;
    cursor: pointer;
    background: #791500;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
}

#lightbox-desc {
    font-family: "Switzer", sans-serif;
    font-weight: 500;
    color: #7A1302;
    font-size: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2em;
    text-align: center;
    padding: 10px 0;
}


/*  */

@media (max-width: 1199px) {
    .header-logo {
        width: 235px;
        height: 178px;
    }

    .header-main {
        gap: 12px;
    }

    .header-phone {
        font-size: 20px;
    }

    .header-free-quote {
        font-size: 16px;
    }

    .header-info h2 {
        font-size: 10px;
    }

    .header-info-row {
        gap: 5px;
    }

    .header-phone-svg {
        width: 25px;
        height: 25px;
    }

    .header-check-svg {
        width: 20px;
        height: 20px;
    }

    .header-info-container {
        padding: 25px 20px;
    }

    .carousel-container {
        height: 300px;
    }

    .carousel-context {
        right: 8%;
        width: 35%;
    }

    .carousel-context.left {
        left: 8%;
        width: 35%;
    }

    .home-page-content-1 {
        flex-direction: column-reverse;
        align-items: center;
        gap: 20px;
        padding: 60px 50px;
    }

    .home-page-content-1-image {
        width: 100%;
        height: 476px;
    }

    .home-page-content-1-contexts {
        width: 100%;
    }

    .footer-logo {
        order: 2;
        width: 235;
        height: 178;
    }

    .footer-info-container.first {
        order: 1;
    }
    
    .footer-info-container.last {
        order: 3;
    }

    .footer-container {
        padding: 20px 30px;
    }

    .footer-phone {
        font-size: 20px;
    }

    .footer-free-quote {
        font-size: 20px;
    }

    .footer-info h2 {
        font-size: 10px;
    }

    .footer-info-row {
        gap: 5px;
    }

    .footer-phone-svg {
        width: 25px;
        height: 25px;
    }

    .footer-check-svg {
        width: 20px;
        height: 20px;
    }

    .header-info-container {
        padding: 20px 25px;
    }

    .footer-container {
        gap: 10px;
    }

    .template-images-container {
        width: 45%;
    }

    .template-image {
        width: 80%;
    }

    .template-button-container {
        flex-direction: column;
    }

    .template-button {
        width: 100%;
        text-align: center;
    }

    .template-contexts {
        gap: 20px
    }
    
    .template-image.delivery {
        width: 100%;
    }
}

@media (max-width: 810px) {
    .header-main {
        flex-direction: column;
        background-size: contain;
        padding: 10px 20px 30px;
    }
    
    .header-logo {
        order: 1;
        width: 243;
        height: 184;
    }

    .header-info-container.first {
        order: 2;
    }
    
    .header-info-container.last {
        order: 3;
    }

    .header-info-container {
        width: 348px;
    }

    .header-info-container h2 {
        font-size: 12px;
    }

    .header-phone {
        font-size: 29px;
    }

    .header-phone-svg {
        width: 40px;
        height: 40px;
    }

    .header-free-quote {
        font-size: 24px;
    }

    .header-check-svg {
        width: 25px;
        height: 25px;
    }

    .mobile-menu-btn {
        display: block;
        color: #FFFFFF;
        font-size: 30px;
    }

    .home-navigation-dropdown {
        display: flex !important;
        flex-direction: column;
        align-items: flex-end;
        gap: 15px;
        padding: 10px 20px;
        max-height: none !important;
        overflow: visible !important;
        transition: none !important;
        background: #FFFFFF;
        width: 100%;
    }

    .home-navigation-dropdown a {
        color: #7A1302;
        
    }

    .header-navigation-container.gap-open {
        gap: 10px;
    }

    .header-navigation {
        max-height: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
  
    .shed-style-toggle {
        pointer-events: none;
        cursor: default;
    }

    .shed-style-toggle .chev {
        transform: none !important;
    }

    .header-navigation.open {
        max-height: 100vh;
        overflow-y: auto;
    }

    .carousel-container {
        height: 410px;
    }

    .carousel-arrow.prev {
        left: 10px;
    }

    .carousel-arrow.next {
        right: 10px;
    }

    .carousel-indicators {
        bottom: 20px;
    }

    .home-page-content-1-image {
        height: 209px;
    }

    .footer-logo {
        order: 1;
        width: 235;
        height: 178;
    }

    .footer-info-container.first {
        order: 2;
    }
    
    .footer-info-container.last {
        order: 3;
    }

    .footer-container {
        padding: 10px 20px 30px;
    }

    .footer-info-container {
        width: 348px;
        padding: 20px 0;
    }

    .footer-info-container h2 {
        font-size: 12px;
    }

    .footer-phone {
        font-size: 29px;
    }

    .footer-phone-svg {
        width: 40px;
        height: 40px;
    }

    .footer-free-quote {
        font-size: 29px;
    }

    .footer-check-svg {
        width: 25px;
        height: 25px;
    }

    .footer-container {
        gap: 10px;
        flex-direction: column;
    }

    .template-title-container h1 {
        padding: 0 30px;
    }

    .template-contents-container {
        flex-direction: column; 
        align-items: center;
        gap: 30px;
        padding: 30px 0 50px;
    }

    .template-contexts {
        width: 80%;
    }

    .template-images-container {
        width: 80%;
        gap: 15px;
    }

    .template-image {
        width: 100%;
    }
    
    .template-image.delivery {
        height: 250px;
    }
}