/* Reset CSS
 * --------------------------------------- */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

table {
    border-spacing: 0;
}

fieldset,
img {
    border: 0;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-weight: normal;
    font-style: normal;
}

strong {
    font-weight: bold;
}

ol,
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

caption,
th {
    text-align: left;

}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    font-size: 100%;
    margin: 0;
    padding: 0;
    color: inherit;
}

q::before,
q::after {
    content: '';
}

abbr,
acronym {
    border: 0;
}

/* GENERAL CSS
 * --------------------------------------- */

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;

}

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}



:root {
    --site-width: 1300px;
    --primary-color: #7A8C7A;
    --secondary-color: #3B2F2A;
    --text-light: #595959;
    --cream: #FFF6EA;
    --text-color: #595959;
    --light-cream: #FFFAF4;
    --ivory: #F9F7F0;
    --dark-green: #014D41;
    --brown: #5D4038;
    --charcoal: #222;
    --honey: #FFF2E2;
    --gray: #D9D9D9;
    --bs-primary: #7A8C7A;
    --bs-body-font-size: 1.2rem !important;
    --bs-heading-color: #3B2F2A !important;
    --bs-font-sans-serif: 'Lato' !important;
}

/* alcove */


body {
    color: var(--secondary-color);
    font-family: 'Lato', sans-serif;
    overflow-x: hidden;
    padding-top: 80px;
}

.title-font {
    font-family: 'Playfair Display', serif;
}

.h1 {
    color: var(--secondary-color);
    font-size: 3rem;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.container {
    max-width: var(--site-width);
}

.h-70vh {
    height: 80vh;
}

.bg-cream {
    background-color: var(--cream) !important;
}

.bg-cream-light {
    background-color: var(--light-cream) !important;
}

.bg-ivory {
    background-color: var(--ivory) !important;
}


.btn.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    padding: 15px 30px;
}

.btn.btn-outline-light,
.btn.btn-outline-dark {
    padding: 15px 30px;
}

.btn.btn-primary:hover,
.btn.btn-primary:active,
.btn.btn-primary:focus {
    background-color: var(--charcoal) !important;
    border-color: var(--charcoal) !important;
    color: #FFF !important;
}

.btn.btn-outline-green {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn.btn-outline-green.active,
.btn.btn-outline-green:hover,
.btn.btn-outline-green:active,
.btn.btn-outline-green:focus {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: #FFF;
}

.text-dark-brown {
    color: var(--secondary-color) !important;
}

.text-green {
    color: var(--primary-color) !important;
}

.text-light-gray {
    color: var(--text-light) !important;
}

.icon-circle {
    border-radius: 50%;
}

.fixed-top {
    transform: translateZ(0);
    /* prevents jump */
}

main {
    overflow-x: hidden;
}

.bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    height: 80vh;
}

.bg-image.bg-image-hero {
    background-image: url('../images/hero-closet.png');
    height: 100vh;
}

#about-us {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    height: 80vh;
    background-image: url('../images/about-us.jpg');
}

#features {
    background-image: url('../images/features.jpg');
    height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 700px;

}

#features-list img {
    max-height: 50px;
}

#featuresMobileImg {
    width: 100%;
    object-fit: cover;
}

.scroll-offset {
    scroll-margin-top: 100px;
}

@media (min-width: 1024px) {
    #contact-footer {
        position: relative;
    }

    #contact-footer .scroll-offset {
        position: absolute;
        top: 0px;
    }
}

@media (max-width: 1024px) {
    .display-4 {
        font-size: calc(1.475rem + 1.7vw) !important;
        font-weight: 300;
        line-height: 1.2;
    }

    .bg-image {
        height: 50vh;
    }
}

@media (max-width: 768px) {

    .bg-image {
        background-image: none !important;
        height: auto !important;
        min-height: unset;
    }

    #about-us,
    #features {
        background-image: none;
        height: auto;
        min-height: unset;
    }

    .scroll-offset {
        scroll-margin-top: 150px;
    }

    #contact-footer .bg-white {
        font-size: 0.9rem;
    }
}

@media (max-width: 545px) {

    #hero-checks span {
        font-size: 0.8rem;
    }

    #contact-footer .bg-white {
        font-size: 0.8rem;
    }
}


.bg-image-3d {
    background-image: url('../images/3d\ design\ live.png');
}

.bg-image-warranty {
    background-image: url('../images/Lifetime\ Warranty.png');
}

.bg-image-team {
    background-image: url('../images/team.png');
}

.bg-image-luxury {
    background-image: url('../images/luxury-closets.jpg');
}


.bg-image-proud-left {
    background-image: url('../images/proud\ american\ closets\ 1.jpg');
    border-right: 1rem solid var(--charcoal);
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

.bg-image-proud-right {
    background-image: url('../images/proud\ american\ closets\ 2.jpg');
    border-left: 1rem solid var(--charcoal);
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

@media (max-width: 1024px) {


    .bg-image-proud-right,
    .bg-image-proud-left {
        height: auto;
    }

    .bg-image-proud-right {
        background-position: left;
    }
}

@media (max-width: 768px) {
    #proud-american .display-5 {
        font-size: 1.5rem;
    }

    #proud-american p {
        font-size: 1rem;
    }

    .bg-image-proud-left {
        border-right-width: 0.4rem;
    }

    .bg-image-proud-right {
        border-left-width: 0.4rem;
    }
}

.border-secondary {
    border: 1px solid var(--secondary-color);
}

.bg-green {
    background-color: var(--primary-color) !important;
}

.bg-dark-green {
    background-color: var(--dark-green) !important;
}

.bg-brown {
    background-color: var(--brown) !important;
}

.bg-charcoal {
    background-color: var(--charcoal) !important;
}


.spaces .space-item {
    position: relative;
    height: 400px;
}

.spaces-desktop .space-item {
    flex: 0 0 20%;
}

.spaces img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ensures image fills the box without distortion */
    display: block;
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
}

.spaces h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.7) 0%,
            /* solid black start */
            rgba(0, 0, 0, 0.7) 60%,
            /* stay black up to 40% */
            rgba(0, 0, 0, 0) 100%
            /* fade out to transparent */
        );
    z-index: 1;
    color: #fff;
    width: 100%;
    margin-bottom: 0;
}

.display-7 {
    font-size: 1.5rem;
    line-height: 1.7rem;
}

#premium-quality::after {
    content: '';
    display: block;
    width: 150px;
    height: 150px;
    background-image: url('../images/alcove\ transparent\ icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    z-index: 1;
    position: absolute;
    top: 10%;
    right: 0;
}

@media (max-width: 992px) {

    .spaces .space-item {
        height: 250px;
    }
}


.testimonial-card .card-img-top {
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

.testimonial-card.card {
    border-radius: 25px;
}

.circle-letter {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    /* Use flexbox for perfect centering */
    align-items: center;
    /* Vertical centering */
    justify-content: center;
    /* Horizontal centering */
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    /* Prevents extra vertical offset */
    text-align: center;
    user-select: none;
}


#trusted-testimonials::after {
    content: '';
    display: block;
    width: 150px;
    height: 150px;
    background-image: url('../images/alcove\ transparent\ icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    z-index: 1;
    position: absolute;
    bottom: 10%;
    right: 0;
}

@media (max-width: 1024px) {
    .testimonial-card.card {
        min-height: 550px;
    }
}

@media (max-width: 768px) {
    #trusted-testimonials::after {
        content: none;
    }

    #dream-closet-testimonials .testimonial-card.card {
        min-height: 450px;
    }
}


.step-line::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 450px;
    height: 2px;
    background: var(--primary-color);
    /* line color */
    transform: translateY(-50%);
    z-index: -1;
}

.step-line {
    position: relative;
    z-index: 2;
}

.step {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    /* circle fill */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 24px;
    border: 2px solid var(--light-cream);
    left: 0;
    font-family: 'Playfair Display', serif;
}

@media (max-width: 768px) {

    .step-line::before {
        width: 100%;
    }

}


#expertly-crafted::after {
    content: '';
    display: block;
    width: 150px;
    height: 150px;
    background-image: url('../images/alcove\ transparent\ white\ icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    z-index: 1;
    position: absolute;
    top: 10%;
    right: 0;
}

#expertly-crafted img {
    max-height: 400px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ensures image fills the box without distortion */
    display: block;
}

#featureTabs a {
    color: #FFF;
    display: block;
    border-bottom: 1px solid #FFF;
    padding-bottom: 5px;
    margin-bottom: 5px;
    box-sizing: border-box;
}

#featureTabs a:hover,
#featureTabs a.active {
    border-bottom: 3px solid #FFF;
}

.slick-dots {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.slick-dots li {
    margin: 0;
}

.slick-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--gray);
    ;
    cursor: pointer;
    padding: 0;
    font-size: 0;
    /* hide the number */
    transition: all 0.3s ease;
}

/* Active dot */
.slick-dots .slick-active button {
    background: var(--primary-color);
}

/* Hover effect */
.slick-dots button:hover {
    background: var(--primary-color);
    opacity: 0.7;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 10px;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Make one image span 2 columns (wide) */
.gallery-item.wide {
    grid-column: span 2;
    grid-row: span 2;
    /* optional, can also span 2 for taller */
}

/* Example: make another image tall */
.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.taller {
    grid-row: span 4;
}

/* Responsive: single column on mobile */
@media (max-width: 768px) {
    .gallery {
        grid-auto-rows: 10vh;
    }
}

.faq-item {
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 0;
}

.faq-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    padding: 0;
    color: #212529;
    transition: color 0.3s ease;
}

.faq-button:hover {
    color: #000;
}

.faq-button:focus {
    outline: none;
    box-shadow: none;
}

.faq-arrow {
    font-size: 2rem;
    transform: rotate(90deg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    transform-origin: center;
    line-height: 1;
    margin-left: 8px;
    font-family: 'Lato';
}

.faq-button[aria-expanded="true"] .faq-arrow {
    transform: rotate(-90deg) translateY(-0.5rem);
}

.faq-content {
    margin-top: 0.5rem;
    color: #555;
}

#contact-footer {
    background-image: url("../images/contact-footer.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .navbar .btn-primary {
        font-size: 0.8rem;
    }

    .bg-sm-honey {
        background-color: var(--honey) !important;
    }

    .text-white.text-sm-body {
        color: var(--secondary-color) !important;
    }

    .bg-cream.bg-sm-cream-light {
        background-color: var(--light-cream) !important;
    }

    .contact-image img {
        max-height: 200px;
        width: 100%;
        object-fit: cover;
    }
}

img.we-believe {
    max-height: 50vh;
    width: 100%;
    object-fit: cover;
}

#comparison-table {
    min-width: 900px;
}

nav .menu-toggler {
    height: 15px;
    position: relative;
    width: 25px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    display: block;
}

nav .menu-toggler span {
    background: #000;
    height: 1.5px;
    position: absolute;
    top: 0;
    -webkit-transition: all .3s;
    transition: all .3s;
    width: 100%
}

nav .menu-toggler span:first-child {
    top: 0
}

nav .menu-toggler span:nth-child(2) {
    top: 8px
}

nav .menu-toggler span:last-child {
    top: 15px;
}

nav .custom-toggler:not(.collapsed) .menu-toggler span:first-child {
    top: 8px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg)
}

nav .custom-toggler:not(.collapsed) .menu-toggler span:nth-child(2) {
    opacity: 0
}

nav .custom-toggler:not(.collapsed) .menu-toggler span:last-child {
    top: 8px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    width: 100%
}

@media (max-width: 1024px) {
    .comparison-table-wrapper {
        overflow-x: scroll;
    }

    img.we-believe {
        max-height: 30vh;
    }
}

@media (max-width: 768px) {
    .comparison-table-wrapper {
        font-size: 0.9rem;
    }

    .comparison-table-wrapper .display-7 {
        font-size: 1rem;
    }

    #comparison-table {
        min-width: 550px;
    }

    .comparison-table-wrapper .check-icon,
    .comparison-table-wrapper .circle-line-icon {
        width: 1.2rem;
        height: 1.2rem;
    }
}

.slick-prev,
.slick-next {
    position: absolute;
    bottom: 10px;
    /* move up/down as needed */
    left: 20px;
    /* starting point */
    z-index: 10;
    width: 40px !important;
    /* smaller width */
    height: 40px !important;
    border-radius: 50%;
    background: #000;
    /* black circle */
    color: #fff;
    /* arrow color */
    border: none;
    display: flex !important;
    justify-content: center;
    align-items: center;
    font-size: 0;
    /* hide default text */
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Next button sits to the right of Prev */
.slick-next {
    left: 70px;
    /* 40px width + 10px gap + 20px margin-left */
}

/* Hover effect */
.slick-prev:hover,
.slick-next:hover {
    background: #222;
    transform: scale(1.05);
}

/* Replace default text with custom arrow icons (using Unicode or SVGs) */
.slick-prev::before,
.slick-next::before {
    content: "";
    width: 10px;
    /* smaller width */
    height: 10px;
    background-size: contain;
    display: block;
}

.slick-prev::before {
    background-image: url("../images/right-arrow.png");
    transform: rotate(180deg);
}

.slick-next::before {
    background-image: url("../images/right-arrow.png");
}

.slick-next:hover,
.slick-prev:hover {
    background-color: var(--primary-color);
}

#gallery-tablist .tab-button {
    flex: unset;
}

@media (min-width: 1024px) {
    .navbar-expand-lg .navbar-collapse.d-lg-none {
        display: none !important;
    }
}

/* Mobile behavior */
@media (max-width: 1024px) {

    #contact-footer {
        background: #000;
    }

    #contact-footer #contact-text.bg-white {
        background-color: transparent !important;
        color: #FFF;
    }


    #contact-footer .text-dark-brown span,

    #contact-footer h2 {
        color: #FFF;
    }

    body {
        padding-top: 130px;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 130px;
        font-size: 1rem;
        line-height: 1.2rem;
    }

    .testimonial-card p,
    .faq-content {

        font-size: 1rem;
        line-height: 1.5rem;
    }

    #gallery-tablist [role="tablist"] {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        /* adjust spacing */
    }

    #gallery-tablist .tab-button {
        flex: 1 1 calc(50% - 10px);
        /* two per row */
        min-width: 140px;
        /* prevents buttons from becoming too narrow */
        text-align: center;
    }

    .title-font:not(h1, h2, h3) {
        font-family: 'Lato', sans-serif;
    }

    .btn.btn-primary[type=submit] {
        font-size: 0.9rem;
    }

    #featureTabsMobile.slick-slider {
        padding-left: 0;
    }

    #featureTabsMobile a.btn {
        padding: 10px;
        font-size: 0.8rem;
        font-family: 'Lato';
        width: 100%;
        display: block;
    }

    #expertly-crafted img {
        max-height: 200px;
        ;
    }

    .btn.btn-primary {
        padding: 15px 10px;
    }

    #premium-upgrades .slick-slide {
        min-height: 550px;
    }

    #premium-upgrades .card-text {
        height: 300px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    #premium-upgrades .testimonial-info {
        height: 250px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

.navbar-toggler {
    border: none !important;
}

.navbar-toggler:active,
.navbar-toggler:focus {
    box-shadow: none !important;
}


.google-icon {
    max-height: 40px;
}

.google-rating .google-icon {
    max-height: 30px;
}

@media (max-width: 768px) {
    #premium-quality::after {
        content: none;
    }

    #expertly-crafted::after {
        content: none;
    }
}