/**
 * Custom Footer Styles
 * 
 * @package Gustoso Child Theme
 * @since 1.0
 */

/* ========================================
   FOOTER CONTAINER
   ======================================== */

.gustoso-custom-footer {
    background-color: #2c3340;
    color: #ffffff;
    padding: 80px 0 30px 0;
    width: 100%;
}

.gustoso-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========================================
   FOOTER CONTENT LAYOUT
   ======================================== */

.gustoso-footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    color: white;
}

/* ========================================
   FOOTER COLUMNS
   ======================================== */

.gustoso-footer-column {
    display: flex;
    flex-direction: column;
}

/* ========================================
   LEFT COLUMN - FOODSERVICE AWARD
   ======================================== */

.gustoso-footer-logo {
    border: 1px solid #ffffff;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 30px;
}

.gustoso-footer-logo:last-child {
    margin-bottom: 0;
}

.gustoso-footer-logo-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 30px auto;
}

.gustoso-footer-logo-text {
    font-family: 'Ysabeau Infant', serif;
    font-weight: 300;
    font-size: 42px;
    line-height: 1;
    font-style: italic;
    color: #ffffff;
    display: block;
    margin-bottom: 70px
}

.gustoso-footer-award {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 13px;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* ========================================
   MIDDLE COLUMN - MARKEN
   ======================================== */

.gustoso-footer-heading {
    font-family: 'Ysabeau Infant', sans-serif;
    font-weight: 300;
    font-size: 24px;
    line-height: 1.3;
    color: #ffffff;
    margin: 0 0 20px 0;
    padding: 0;
}

.gustoso-footer-marken-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gustoso-footer-marken-list li {
    margin-bottom: 12px;
}

.gustoso-footer-marken-list li:last-child {
    margin-bottom: 0;
}

.gustoso-footer-marken-list a {
    font-family: 'Ysabeau Infant', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
    text-decoration: underline;
    text-decoration-style: dotted;
    font-style: normal;
    transition: color 0.3s ease;
}

.gustoso-footer-marken-list a:hover {
    color: #ffffff;
}

.gustoso-footer-no-marken {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: #6c757d;
    font-style: italic;
}

/* ========================================
   RIGHT COLUMN - COMPANY INFO
   ======================================== */

.gustoso-footer-column:last-child {
    padding-right: 60px; /* Space for back-to-top button */
}

.gustoso-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gustoso-footer-contact p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

.gustoso-footer-phone a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.gustoso-footer-email a {
    font-family: 'Ysabeau Infant', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-style: normal;
    color: #ffffff;
    text-decoration: underline;
    text-decoration-style: dotted;
    transition: color 0.3s ease;
}

.gustoso-footer-phone a:hover {
    color: #ffffff;
}

.gustoso-footer-email a:hover {
    color: #ffffff;
    opacity: 0.8;
}

/* ========================================
   FOOTER BOTTOM - LEGAL & COPYRIGHT
   ======================================== */

.gustoso-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.gustoso-footer-legal {
    display: flex;
    gap: 30px;
    font-family: 'Ysabeau Infant', -apple-system, BlinkMacSystemFont, sans-serif;
}

.gustoso-footer-legal a {
    font-family: 'Ysabeau Infant', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    font-size: 13px;
    color: #ffffff;
    text-decoration: none;
    font-style: normal;
    transition: color 0.3s ease;
}

.gustoso-footer-legal a:hover {
    color: #ffffff;
    opacity: 0.8;
}

.gustoso-footer-copyright {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 13px;
    color: #ffffff;
    padding-right: 60px; /* Space for back-to-top button */
}

/* ========================================
   BACK TO TOP BUTTON POSITIONING
   ======================================== */

/* Ensure back-to-top button doesn't overlap footer content */
.trx_addons_scroll_to_top,
.scroll_to_top,
a.trx_addons_scroll_to_top,
.to_top_button {
    right: 30px !important;
    bottom: 100px !important;
    z-index: 9999 !important;
}

/* Adjust for tablet */
@media (max-width: 1024px) {
    .trx_addons_scroll_to_top,
    .scroll_to_top,
    a.trx_addons_scroll_to_top,
    .to_top_button {
        right: 20px !important;
        bottom: 120px !important;
    }
}

/* Adjust for mobile */
@media (max-width: 768px) {
    .trx_addons_scroll_to_top,
    .scroll_to_top,
    a.trx_addons_scroll_to_top,
    .to_top_button {
        right: 15px !important;
        bottom: 150px !important;
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Large Tablet */
@media (max-width: 1024px) {
    .gustoso-custom-footer {
        padding: 60px 0 25px 0;
    }
    
    .gustoso-footer-container {
        padding: 0 30px;
    }
    
    .gustoso-footer-content {
        gap: 50px;
        margin-bottom: 60px;
    }
    
    .gustoso-footer-logo {
        padding: 50px 30px;
    }
    
    .gustoso-footer-logo-text {
        font-size: 38px;
    }
    
    .gustoso-footer-column:last-child {
        padding-right: 70px; /* More space for back-to-top button on tablet */
    }
    
    .gustoso-footer-copyright {
        padding-right: 70px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .gustoso-custom-footer {
        padding: 50px 0 20px 0;
    }
    
    .gustoso-footer-container {
        padding: 0 20px;
    }
    
    .gustoso-footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 50px;
    }
    
    .gustoso-footer-logo {
        padding: 40px 25px;
        margin-bottom: 20px;
    }
    
    .gustoso-footer-logo-text {
        font-size: 36px;
    }
    
    .gustoso-footer-heading {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .gustoso-footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: left;
        align-items: baseline;
    }
    
    .gustoso-footer-legal {
        gap: 20px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .gustoso-custom-footer {
        padding: 40px 0 20px 0;
    }
    
    .gustoso-footer-container {
        padding: 0 15px;
    }
    
    .gustoso-footer-content {
        gap: 35px;
        margin-bottom: 40px;
    }
    
    .gustoso-footer-logo {
        padding: 35px 20px;
    }
    
    .gustoso-footer-logo-text {
        font-size: 32px;
    }
    
    .gustoso-footer-award {
        font-size: 12px;
    }
    
    .gustoso-footer-heading {
        font-size: 20px;
    }
    
    .gustoso-footer-marken-list a,
    .gustoso-footer-contact p {
        font-size: 13px;
    }
    
    .gustoso-footer-legal {
        flex-direction: column;
        gap: 15px;
    }
    
    .gustoso-footer-legal a,
    .gustoso-footer-copyright {
        font-size: 12px;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .gustoso-custom-footer {
        background-color: #ffffff;
        color: #000000;
        page-break-before: always;
    }
    
    .gustoso-footer-logo {
        border-color: #000000;
    }
    
    .gustoso-footer-logo-text {
        color: #000000;
    }
    
    .gustoso-footer-marken-list a,
    .gustoso-footer-contact p,
    .gustoso-footer-legal a {
        color: #000000;
    }
}

