@font-face {
    font-family: 'AveFedan_PERSONAL_USE';
    src: url('/fonts/AveFedan_PERSONAL_USE.ttf') format('truetype');
}

@font-face {
    font-family: 'Jost-Medium';
    src: url('/fonts/Jost-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Jost-Regular';
    src: url('/fonts/Jost-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Jost-SemiBold';
    src: url('/fonts/Jost-SemiBold.ttf') format('truetype');
}

html,
body {
    scroll-behavior: smooth;
    margin: 0;
}

.panel {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    flex-shrink: 0;
}

.navBar {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navBarItem {
    color: black;
    text-decoration: none;
    font-family: 'Jost-Regular';
    font-size: 20px;
}

.navLogo {
    color: #e97c22;
    font-family: 'AveFedan_PERSONAL_USE', sans-serif;
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.navLinks {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}

.navLinks li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.navLinks li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #e97c22;
    transition: width 0.3s;
}

.navLinks li a:hover {
    color: #e97c22;
}

.navLinks li a:hover::after {
    width: 100%;
}

.navBarItem.active {
    color: #e97c22;
    font-weight: bold;
}

.navBarItem.active::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #e97c22;
    margin-top: 4px;
}

.navRight {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* === SOCIAL ICONS === */
.socialIcons {
    display: flex;
    gap: 1rem;
}

.socialIcons a {
    color: #333;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.socialIcons a:hover {
    color: #e97c22;
}

#section1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
}


#bg-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.firstSecHeading {
    color: #e97c22;
    font-family: 'AveFedan_PERSONAL_USE';
    font-size: 8rem;
    margin: 0;
}

.firstSecSubHeading {
    font-family: 'Jost-Regular';
    font-size: 30px;
    margin: 0;
    color: white;
}

.aboutSection {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    height: 100vh;
    color: white;
    background-color: #a36218;
}

.aboutText,
.aboutVideo {
    flex: 1;
}

.aboutText {
    padding: 0 35px;
}

.aboutText,
.aboutVideo {
    flex: 1;
}

.aboutVideo {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.aboutVideo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-section {
    background-color: #005856;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.portfolio-section a {
    display: block;
    width: 100%;
    height: calc((100vw / 3) / 1.34);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-section a:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.portfolio-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.portfolio-section a:hover img {
    transform: scale(1.05);
}

.aboutText {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


.aboutUsHeading {
    justify-content: center;
    display: flex;
    text-align: center;
    font-family: 'Jost-Regular';
    color: #ffe5c9;
}

.aboutUsHeading {
    font-size: 40px;
    margin: 0;
}

.aboutUsParagraphs {
    padding: 0 64px;
    font-size: 19px;
    text-align: center;
    box-sizing: border-box;
    font-family: 'Jost-Regular';
    max-width: 600px;
    width: 100%;
    color: #ffe5c9;
}

.aboutUsParagraphs p {
    margin-bottom: 0;
    margin-top: 18px;
}

.horizontal-line {
    border-bottom: 2px dashed #ffe5c9;
    width: 100%;
    max-width: 500px;
    margin: 20px 0;
}

.aboutButton {
    padding: 10px 20px;
    background-color: #fff;
    color: #e97c22;
    border: none;
    border-radius: 4px;
    font-family: 'Jost-Regular';
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.aboutButton:hover {
    background-color: #e97c226c;
}

.infoButton {
    padding: 10px 20px;
    background-color: #e97c22;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: 'Jost-Regular';
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#section3 {
    background-color: #ffe5c9;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
}

.servicesHeader {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Jost-Regular';
    font-size: 45px;
    color: #e97c22;
    margin: 0;
}

.servicesSubheader {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
    font-family: 'Jost-Regular';
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Flip card styling */
.flip-card {
    background-color: transparent;
    width: 280px;
    height: 350px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
    font-family: 'Jost-Regular';
}

.flip-card-front {
    background: white;
    color: #333;
}

.flip-card-front i {
    font-size: 3.5rem;
    color: #e97c22;
    margin-bottom: 25px;
}

.flip-card-front h3 {
    font-size: 1.5rem;
    margin: 0;
}

.flip-card-back {
    background: #e97c22;
    color: white;
    transform: rotateY(180deg);
    text-align: center;
}

.flip-card-back p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.service-button {
    background: white;
    color: #e97c22;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Jost-Regular';
}

.service-button:hover {
    background: #f5f5f5;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}


.contactUsHeader {
    font-family: 'Jost-Regular';
    font-size: 45px;
    color: #e97c22;
    display: flex;
    justify-content: center;
    align-items: center;
}

#section5 {
    background-color: white;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contactUsHeader {
    text-align: center;
    font-size: 45px;
    color: #e97c22;
    margin-bottom: 40px;
    margin-top: 0;
    font-family: 'Jost-Regular';
}

.contactContent {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.contactColumn {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contactColumn p {
    font-family: 'Jost-Regular';
    color: #e97c22;
    margin: 5px 0;
    font-size: 20px;
}

.label {
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 10px;
}

.contactMap iframe {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.phoneText,
.openingText,
.address,
.email {
    margin-top: 30px;
}

#section6 {
    background-color: #e97c22;
    height: 100vh;
    padding: 60px 40px;
}

.reviewHeader {
    text-align: center;
    font-size: 45px;
    color: #ffffff;
    margin: 0;
    font-family: 'Jost-Regular';
}

#testimonials {
    padding: 31px 20px;
    background-color: #fff;
    text-align: center;
}

.section-title {
    font-size: 45px;
    margin-bottom: 60px;
    color: #333;
    position: relative;
    display: inline-block;
    font-family: 'Jost-Regular';
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #e97c22;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    height: 390px;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.8s ease;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 0 20px;
}

.client-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    position: relative;
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #e97c22;
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
    font-style: italic;
    font-family: 'Jost-Regular';
    position: relative;
    padding: 0 20px;
}

.client-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: #e97c22;
    margin-top: 10px;
    font-family: 'Jost-Regular';
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.slider-prev,
.slider-next {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #e97c22;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev:hover,
.slider-next:hover {
    background-color: rgba(233, 124, 34, 0.1);
}

.slider-dots {
    display: flex;
    gap: 8px;
    margin: 0 15px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dot.active {
    background-color: #e97c22;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.slider-prev,
.slider-next {
    background: none;
    border: none;
    font-size: 24px;
    color: #e97c22;
    cursor: pointer;
    padding: 5px 15px;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.testimonial-slide.active {
    display: block;
    height: calc(100% - 150px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.footerText {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-family: 'Jost-Regular';
}

.footerText p {
    margin: 5px 0;
    font-family: 'Jost-Regular';
}

.footer-link {
    color: #ffffff;
    text-decoration: underline;
    font-family: 'Jost-Regular';
}

.aboutSection {
    position: relative;
}


@media only screen and (max-width: 1024px) {
    .navLinks {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        transform: translateX(100%);
        background-color: white;
        width: 200px;
        padding: 1rem;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }


    .navLinks.show {
        display: flex;
    }

    .hamburger {
        display: block;
        margin-left: 42px;
    }

    .navLinks {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        left: unset;
    }

    .navLinks.show {
        max-height: 500px;
        transform: translateX(0);
    }

    .navLinks li {
        margin: 0;
    }

    .navLinks li a {
        display: block;
        padding: 12px 20px;
        color: #333;
        font-size: 18px;
        font-weight: 600;
        text-decoration: none;
        transition: background-color 0.3s ease;
        border-radius: 6px;
    }

    .navLinks li a:hover {
        background-color: #e97c22;
        color: white;
    }


    .hamburger:hover {
        color: #c76500;
    }

    .aboutSection::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url(/public/aboutPic.jpg);
        background-size: cover;
        background-position: center;
        z-index: 0;
    }

    .aboutSection::after {
        content: "";
        position: absolute;
        inset: 0;
        background: #a36218;
        filter: opacity(80%);
        z-index: 1;
    }

    .aboutText {
        position: relative;
        z-index: 2;
        padding: 2rem;
        color: white;
    }

    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .aboutVideo {
        display: none;
    }

    .aboutUsHeading,
    .horizontal-line,
    .aboutUsParagraphs {
        color: white;
    }

    .aboutUsHeading,
    .servicesHeader,
    .contactUsHeader,
    .section-title {
        font-size: 35px;
    }

    .aboutUsParagraphs,
    .servicesSubheader {
        font-size: 20px;
    }

    .aboutUsParagraphs {
        padding: 0;
    }

}

@media only screen and (max-width: 869px) {
    .contactContent {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        flex-direction: column;
    }

    .contactColumn {
        padding: 0 70px;
    }

    .contactColumn {
        gap: 21px;
    }

    .phoneText,
    .openingText,
    .address,
    .email {
        margin-top: 0;
    }
}

@media only screen and (max-width: 769px) {
    .firstSecHeading {
        font-size: 100px;
    }

    .aboutUsHeading,
    .servicesHeader,
    .contactUsHeader,
    .section-title {
        font-size: 30px;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .aboutUsParagraphs,
    .servicesSubheader,
    .testimonial-text,
    .phoneText .label,
    .openingText .label,
    .address .label,
    .email .label {
        font-size: 16px;
    }

    .firstSecSubHeading {
        font-size: 21px;
    }

    .portfolio-section {
        gap: 0px;
        padding: 0;
    }

    .portfolio-section a {
        border-radius: 0;
    }

    .services-container {
        width: 100%;
    }

    .flip-card {
        width: 100%;
        height: 250px;
    }

    .aboutUsParagraphs {
        padding: 0;
    }
}

@media only screen and (max-width: 600px) {
    .contactColumn {
        padding: 0;
    }

    .navLogo {
        font-size: 20px;
    }

    .firstSecHeading {
        font-size: 75px;
    }

    .hamburger {
        display: block;
        margin-left: 20px;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .testimonial-content {
        padding: 13px;
    }

    .aboutUsHeading,
    .servicesHeader,
    .contactUsHeader,
    .section-title {
        font-size: 24px;
    }

    .aboutUsParagraphs {
        padding: 0;
    }

    .aboutUsParagraphs,
    .servicesSubheader,
    .testimonial-text,
    .phoneText .label,
    .openingText .label,
    .address .label,
    .email .label,
    .contactEmail .label,
    .firstSecSubHeading,
    .infoButton,
    .flip-card-back p,
    .service-button,
    .contactColumn p {
        font-size: 14px;
    }

    #section5 {
        background-color: white;
        padding: 50px 65px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .hamburger {
        font-size: 24px;
    }


    .horizontal-line {
        border-bottom: 2px dashed #ffe5c9;
        width: 100%;
        max-width: 356px;
        margin: 20px 0;
    }
}

@media only screen and (max-width: 400px) {
    .firstSecHeading {
        font-size: 57px;
    }

    .aboutUsParagraphs {
        padding: 0;
    }

    .testimonial-text {
        padding: 0;
    }

    .flip-card-front h3 {
        font-size: 20px;
        margin: 0;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .testimonial-content {
        padding: 13px;
    }
}