/* ===================================
    Crafto - Branding Studio
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@100..900&display=swap');
/* variable */
:root {      
    --alt-font: "Archivo", sans-serif; 
    --primary-font: "Archivo", sans-serif;
    --base-color:#FF6036;
    --dark-gray: #151515;
    --medium-gray:#626262;
}
/* reset */
body { 
    font-size: 17px;
    line-height: 28px;
}
/* heading */
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    letter-spacing: -1px;
}
h1, .h1 {
    font-size: 5rem;
    line-height: 5.2rem;
}
.h2, h2 {
    line-height: 3.2rem;
}
.h3, h3 {
    line-height: 2.8rem;
}
.h6, h6 {
    line-height: 2.2rem;
}
/* btn */
.btn {
    letter-spacing:0px;
    text-transform: none;
}
.btn.btn-extra-large {
    font-size: 19px;
    padding: 22px 45px;
}
.btn.btn-large {
    font-size: 16px;
    padding: 16px 34px;
}
.btn.btn-medium {
    font-size: 14px;
    padding: 12px 24px;
}
.btn.btn-small {
    font-size: 12px;
    padding: 9px 20px;
}
.btn.btn-very-small {
    font-size: 11px;
    padding: 9px 16px 7px;
}
.btn.btn-switch-text.btn-extra-large>span {
    padding: 22px 47px;
}
.btn.btn-switch-text.btn-large>span {
    padding: 16px 36px;
}
.btn.btn-switch-text.btn-medium>span {
    padding: 12px 26px;
}
.btn.btn-switch-text.btn-small>span {
    padding: 7px 22px;
}
.btn.btn-switch-text.btn-very-small>span {
    padding: 11px 18px 9px;
}
.btn.btn-link {
    padding: 0 0 2px;
}
.btn.btn-transparent-light-gray:active, .btn.btn-transparent-light-gray:hover {
    border-color: var(--dark-gray);
}
/* gradient background color */
.bg-gradient-misty-rose {
    background-image: linear-gradient(360deg, rgba(254, 243, 240, 0.5) 0%, #fff6f3 100%);
}
/* text gradient color */
.text-gradient-light-gray-white {
    background-image: linear-gradient(to bottom, #eaeaea, #efefef, #f7f7f7, #fafafa, #ffffff); 
} 
/* background */
.bg-bright-turquoise {
    background-color: #ffddd4;
}
.bg-seashell {
    background-color: #fff6f3;
}
.bg-base-color-transparent {
    background-color: rgba(255, 96, 54, .8);
}
/* padding */
.pb-190px {
    padding-bottom: 190px;
}
/* bg sliding line */ 
.bg-sliding-line-dark-gray { 
    background-image: linear-gradient(135deg, transparent 45%, #464646 45%, #464646 55%, transparent 0);
    background-size: 5px 5px;
}
/* header */
header .container-fluid {
    padding-left: 4%;
    padding-right: 4%;
}
.navbar .navbar-nav .nav-link {
    font-size: 17px;
}
.navbar .btn.btn-switch-text.btn-large > span {
    padding: 13px 25px 12px;
}
header .left-nav .navbar-nav:before {
    background: rgba(0,0,0,.3);
}
/* highlight separator */
.highlight-separator[data-shadow-animation] span,
.highlight-separator[data-shadow-animation] span img {
    height: 29px;
    z-index: -1;
}
.highlight-separator[data-shadow-animation] span {
    bottom: -13px;
}
/* height */
.h-430px {
    height: 430px !important;
}
/* position */
.bottom-minus-180px {
    bottom: -180px;
}
/* HTML video play */
.video-icon-medium .video-icon {
    width: 60px;
    height: 60px;
}
.video-icon-medium .video-icon .video-icon-sonar .video-icon-sonar-bfr {
    width: 110px;
    height: 110px;
}
/* blog button */
.categories-btn {
    font-size: 12px;
}
/* accordion style 02 */
.accordion-style-02 .accordion-item .accordion-header {
    padding: 24px 0;
}
.accordion-style-02 .accordion-item .accordion-body {
    padding-right: 35px;
}
/* review star */
.review-star-icon i {
    color: var(--base-color);
}
/* animation rotation */
.animation-rotation-slow {
    -webkit-animation: rotation 35s infinite linear;
}
/* list */
.list-style-02 li {
    align-items: center;
}
/* portfolio */
.portfolio-transform .portfolio-box .caption {
    box-shadow: none;
    padding: 10px 35px;
}
/* page title */
.page-title-extra-large h2 {
    font-size: 5rem;
    line-height: 5rem;
}
.page-title-extra-large h1 {
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0px;
}
/* swiper */
.swiper-pagination-style-2 .swiper-pagination-bullet:first-child{
    margin-left: 0 !important;
}
.swiper-pagination-style-2 .swiper-pagination-bullet {
    margin: 0 10px !important;
}
/* footer */
footer {
    line-height: 24px;
}
footer ul li {
    margin-bottom: 3px;
}
footer ul li a {
    color: var(--white);
}

.hero-img {
    width: 700px;
    height: 700px;
    object-fit: cover;
    margin: 50px;
}

@media (max-width: 768px) {
    .hero-img {
        height: 550px;
        width: auto;
        max-width: 100%;
    }
    
    /* Responsive images in "chi siamo" section */
    .h-300px {
        height: 250px !important;
    }
    
    .h-550px {
        height: 350px !important;
    }
    
    /* Footer responsive */
    .footer-logo-img {
        max-width: 200px !important;
        width: auto;
        height: auto;
    }
    
    .footer-contact-list a {
        word-break: break-word;
    }
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(359deg);
    }
}
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1270px;
    }
}
@media (max-width: 1900px) {
    .fs-200 {
        font-size: 14rem;
        line-height: 14rem;
    }
}
@media (max-width: 1600px) {
    header .container-fluid {
        padding-left: 2%;
        padding-right: 2%;
    }
    h1, .h1 {
        font-size: 4rem;
        line-height: 4rem;
    }
    .fs-200 {
        font-size: 12rem;
        line-height: 12rem;
    }
}
@media (max-width: 1399px) {
    .navbar .navbar-nav .nav-link {
        padding: 10px 10px;
    }
    .fs-200 {
        font-size: 9rem;
        line-height: 9rem;
    }
}
@media (max-width: 991px) {
    .fs-200 {
        font-size: 8rem;
        line-height: 8rem;
    }
}
@media (max-width: 767px) { 
    .fs-200 {
        font-size: 4rem;
        line-height: 4rem;
    }
}

/* Contact Info Cards - Enhanced Styles */
.contact-info-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 96, 54, 0.03) 0%, rgba(255, 96, 54, 0.01) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-info-card:hover::before {
    opacity: 1;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--base-color) !important;
}

.contact-icon-wrapper {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 96, 54, 0.2);
}

.contact-info-card:hover .contact-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(255, 96, 54, 0.3);
}

.contact-info-card a {
    transition: all 0.2s ease;
}

.contact-info-card a:hover {
    color: var(--base-color) !important;
}

/* Responsive adjustments for contact section */
@media (max-width: 991px) {
    .ps-lg-60px {
        padding-left: 0 !important;
        padding-top: 40px;
    }
}

@media (max-width: 767px) {
    .contact-info-card {
        margin-bottom: 20px;
    }
    
    .contact-icon-wrapper {
        width: 50px !important;
        height: 50px !important;
    }
    
    .contact-icon-wrapper i {
        font-size: 20px !important;
    }
}

/* Portfolio Modern Cards - Enhanced Styles */
.portfolio-card-modern {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.portfolio-card-modern:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.portfolio-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.portfolio-image-wrapper {
    background: #f5f5f5;
}

.portfolio-image-wrapper img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card-modern:hover .portfolio-image-wrapper img {
    transform: scale(1.1);
}

.portfolio-overlay {
    background: rgba(255, 96, 54, 0.95);
    backdrop-filter: blur(10px);
}

.portfolio-card-modern:hover .portfolio-overlay {
    opacity: 1 !important;
}

.portfolio-card-modern:hover .portfolio-overlay .portfolio-category,
.portfolio-card-modern:hover .portfolio-overlay .portfolio-title,
.portfolio-card-modern:hover .portfolio-overlay .portfolio-description,
.portfolio-card-modern:hover .portfolio-overlay .portfolio-icon-wrapper {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.transition-transform-500ms {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-all-300ms {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.translateY-20 {
    transform: translateY(20px);
}

.bg-gradient-dark {
    background: rgba(255, 96, 54, 0.95);
}

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

.border-radius-bottom-15px {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.portfolio-arrow-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card-modern:hover .portfolio-arrow-icon {
    transform: translateX(5px) scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 96, 54, 0.4);
}

.portfolio-icon-wrapper {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card-modern:hover .portfolio-icon-wrapper {
    transform: rotate(45deg) scale(1.1);
}

/* Responsive adjustments for portfolio */
@media (max-width: 991px) {
    .portfolio-overlay {
        padding: 25px !important;
    }
    
    .portfolio-title {
        font-size: 22px !important;
    }
    
    .portfolio-description {
        font-size: 14px !important;
    }
}

@media (max-width: 767px) {
    .portfolio-caption {
        padding: 20px !important;
    }
    
    .portfolio-title {
        font-size: 20px !important;
    }
    
    .portfolio-icon-wrapper {
        width: 45px !important;
        height: 45px !important;
    }
}

/* Rotating Text Around Circle */
.rotating-text-wrapper {
    width: 150px;
    height: 220px;
    animation: rotate-text 20s linear infinite;
}

.rotating-text-wrapper-index {
    width: 170px;
    height: 150px;
    animation: rotate-text 20s linear infinite;
}

.rotating-text-svg {
    width: 100%;
    height: 100%;
}

.rotating-text {
    font-family: var(--primary-font);
    text-transform: uppercase;
    fill: var(--dark-gray);
    font-size: 12px;
}

@keyframes rotate-text {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments for rotating text */
@media (max-width: 1399px) {
    .rotating-text-wrapper {
        width: 150px;
        height: 150px;
    }
    
    .rotating-text {
        font-size: 9px !important;
    }
}

@media (max-width: 991px) {
    .rotating-text-wrapper {
        width: 120px;
        height: 120px;
    }
    
    .rotating-text {
        font-size: 8px !important;
    }
}

/* Footer Enhanced Styles */
footer {
    position: relative;
    overflow: hidden;
}

.footer-overlay {
    background: linear-gradient(135deg, rgba(21, 21, 21, 0.95) 0%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.footer-logo-img {
    max-width: 150px;
    height: auto;
    transition: transform 0.3s ease;
}

footer a:hover .footer-logo-img {
    transform: scale(1.05);
}

.footer-social-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.footer-social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 96, 54, 0.3);
}

.footer-menu-list li,
.footer-contact-list li {
    transition: all 0.2s ease;
}

.footer-link {
    position: relative;
}

.footer-link i {
    transition: transform 0.3s ease;
}

.footer-link:hover {
    opacity: 1 !important;
    transform: translateX(5px);
}

.footer-link:hover i {
    transform: translateX(3px);
}

.footer-contact-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-contact-list li:hover .footer-contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 15px rgba(255, 96, 54, 0.3);
}

.footer-contact-list a:hover {
    opacity: 1 !important;
    color: var(--base-color) !important;
}

.scroll-top-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-top:hover .scroll-top-icon {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 96, 54, 0.4);
}

.footer-bottom {
    margin-top: 40px;
}

.bg-opacity-10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.border-opacity-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.gap-3 {
    gap: 1rem;
}

/* Responsive Footer */
@media (max-width: 991px) {
    .footer-logo-img {
        max-width: 120px;
    }
    
    .footer-social-icon {
        width: 40px !important;
        height: 40px !important;
    }
    
    .footer-contact-icon {
        width: 35px !important;
        height: 35px !important;
    }
    
    .footer-contact-icon i {
        font-size: 14px !important;
    }
}

@media (max-width: 767px) {
    .footer-social-links {
        justify-content: center;
    }
    
    footer .footer-menu-list,
    footer .footer-contact-list {
        text-align: center;
    }
    
    footer .footer-contact-list li {
        justify-content: start;
    }
}