/* francescoFRANCESCOCATANIA.NET - TEMA GLOBALE */
/* === VARIABILI === */
:root {
    /* Tema Principale */
    --primary: #FF6200;
    --secondary: #28a745;
    --dark: #1a1a1a;
    --darker: #0d0d0d;
    --light: #f8f9fa;
    --text-light: #e0e0e0;
    --text-dark: #333;
    --danger: #dc3545;

    /* Variabili Admin */
    --admin-bg-light: #f8f9fa;
    --admin-text-dark: #212529;
    --admin-text-medium: #6c757d;
    --admin-text-light: #adb5bd;
    --admin-primary: var(--neyna-orange-light);
    --admin-primary-dark: #b8653f;
    --admin-secondary: var(--neyna-beige);
    --admin-success: #28a745;
    --admin-warning: #ffc107;
    --admin-danger: #dc3545;
    --admin-info: #17a2b8;
}


/* montserrat-300 - latin */
@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/montserrat-v25-latin-300.woff2') format('woff2'),
    url('../fonts/montserrat-v25-latin-300.woff') format('woff');
}

/* montserrat-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/montserrat-v25-latin-regular.woff2') format('woff2'),
    url('../fonts/montserrat-v25-latin-regular.woff') format('woff');
}

/* montserrat-500 - latin */
@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/montserrat-v25-latin-500.woff2') format('woff2'),
    url('../fonts/montserrat-v25-latin-500.woff') format('woff');
}

/* montserrat-600 - latin */
@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/montserrat-v25-latin-600.woff2') format('woff2'),
    url('../fonts/montserrat-v25-latin-600.woff') format('woff');
}

/* montserrat-700 - latin */
@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/montserrat-v25-latin-700.woff2') format('woff2'),
    url('../fonts/montserrat-v25-latin-700.woff') format('woff');
}

/* montserrat-800 - latin */
@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/montserrat-v25-latin-800.woff2') format('woff2'),
    url('../fonts/montserrat-v25-latin-800.woff') format('woff');
}

/* montserrat-900 - latin */
@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/montserrat-v25-latin-900.woff2') format('woff2'),
    url('../fonts/montserrat-v25-latin-900.woff') format('woff');
}

/* Font globale */
body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.font-light { font-weight: 300; }
.font-regular { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }
.mainviewport,
.container-fluid {
    padding: 0 !important;
}

/* ============================================
   NAVBAR STYLES (STILE FOOTER)
   ============================================ */
.navbar {
    background: #000000 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    padding: 0.5rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img,
.navbar-brand picture img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

/* Navbar toggler (mobile) */
.navbar-toggler {
    border-color: rgba(255, 98, 0, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 98, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Menu navbar (stile footer) */
.navbar .navbar-collapse ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
    margin-left: auto;
    margin-right: 2rem;
}

.navbar .navbar-collapse ul li {
    padding: 0;
}

.navbar .navbar-collapse ul li::before {
    display: none;
}

.navbar .navbar-collapse ul a {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.navbar .navbar-collapse ul a:hover {
    color: #FF6200 !important;
    padding-left: 5px;
}

.btn-client-access {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
    font-weight: 500;
}

.btn-client-access:hover {
    background-color: #218838;
    border-color: #1e7e34;
    color: white;
}

@media (max-width: 991px) {
    .navbar .navbar-collapse ul {
        flex-direction: column;
        gap: 0;
        margin-top: 1rem;
    }
    
    .navbar .navbar-collapse ul li {
        padding: 0.5rem 0;
    }
    
    .navbar .d-flex {
        margin-top: 1rem;
    }
}

/* Home CSS */
.topbar {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 8px 0;
    font-size: 14px;
}

.contact-info a {
    color: #495057;
    text-decoration: none;
    margin-right: 20px;
}

.contact-info a:hover {
    color: #007bff;
}

.social-links a {
    color: #6c757d;
    margin-left: 10px;
    font-size: 18px;
}

.social-links a:hover {
    color: #007bff;
}

footer {
    color: #ffffff;
    font-size: 1em;
    background: #54595f;
    display: flex;
}
#footeralto .container div {
    align-self: auto !important;

}
#footeralto,
#footeralto a,
#footeralto a:hover ,
#footeralto a:link
{
    color: #ffffff !important;
    background: #000000;
}
footer .container {
    padding: 0.5rem;
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: row;
}

footer .container div {
    align-self: center !important;
}
footer a {
    text-decoration: none;
}
footer li {
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
}

.footer_left li::before, 
.footer_center li::before, 
.footer_right li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 16px;
    height: 16px;
    background-image: url("/assets/img/chevron-right.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

    /* Page Header */
.page-header {
    border-bottom: 1px solid #e9ecef;
}

.page-header .page-title {
    font-size: 2rem;
    font-weight: 600;
    color: #212529;
}

.page-header .breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.page-header .breadcrumb-item {
    color: #6c757d;
}

.page-header .breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s;
}

.page-header .breadcrumb-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.page-header .breadcrumb-item.active {
    color: #495057;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: #adb5bd;
}

.page-header .bi-house-door {
    margin-right: 0.25rem;
}

@media (max-width: 768px) {
    .page-header .page-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .page-header .breadcrumb {
        font-size: 0.85rem;
    }
}

/* Buttons */
.btn {
    background-color: #FF6200;
    border-color: #FF6200;
    color: white;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 98, 0, 0.3);
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #e55600;
    border-color: #e55600;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 98, 0, 0.4);
}

/* Articles */
.articles-list .card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.articles-list .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.articles-list .card-title a {
    color: #212529;
    transition: color 0.2s;
}

.articles-list .card-title a:hover {
    color: #FF6200;
}

/* Article Content */
.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 1rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid #FF6200;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6c757d;
}

.article-content code {
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}

.article-content pre {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
}

.article-content table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.article-content table th,
.article-content table td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}

.article-content table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Sidebar */
.sidebar .card {
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.sidebar .list-group-item:hover {
    background-color: #f8f9fa;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 996;
    background: #FF6200;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.4s;
    display: none;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 98, 0, 0.4);
}

.back-to-top:hover {
    background: #ff7a1f;
    color: #ffffff;
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 98, 0, 0.6);
}

.back-to-top.active {
    display: flex;
}

.back-to-top i {
    font-size: 24px;
    line-height: 0;
}

/* ============================================
   FOOTER STYLES
   ============================================ */

/* Footer Alto - 3 colonne */
#footeralto {
    background: #000000;
    color: #ffffff;
    padding: 3rem 0 2rem;
}

#footeralto .row {
    margin: 0;
}

/* Footer Widget */
.footer-widget {
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #FF6200;
}

/* Footer Menu */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    padding: 0.5rem 0;
    padding-left: 0;
}

.footer-menu li::before {
    display: none;
}

.footer-menu a {
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-menu a:hover {
    color: #FF6200 !important;
    padding-left: 5px;
}

/* Footer Contacts */
.footer-contacts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contacts li {
    padding: 0.75rem 0;
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contacts li::before {
    display: none;
}

.footer-contacts i {
    color: #FF6200;
    font-size: 1.2rem;
}

.footer-contacts a {
    color: #ffffff !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contacts a:hover {
    color: #FF6200 !important;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 98, 0, 0.1);
    border: 2px solid #FF6200;
    border-radius: 50%;
    color: #FF6200 !important;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social .social-link:hover {
    background: #FF6200;
    color: #ffffff !important;
    transform: translateY(-3px);
}

.footer-social .social-link i {
    font-size: 1.2rem;
}

/* Footer Basso - Copyright */
#footerbasso {
    background: #54595f;
    color: #ffffff;
    padding: 0;
    font-size: 0.9rem;
}

#footerbasso a {
    color: #ffffff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

#footerbasso a:hover {
    color: #FF6200;
}

#footerbasso .col-auto {
    display: flex;
    align-items: center;
}

/* Responsive Footer */
@media (max-width: 768px) {
    #footeralto {
        padding: 2rem 0 1rem;
    }
    
    .footer-widget {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .footer-menu,
    .footer-contacts {
        text-align: center;
    }
    
    .footer-contacts li {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    #footerbasso .row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    #footerbasso .col-auto {
        justify-content: center;
    }
}
