/* ============================================
   HOSTINOTA - CUSTOM CSS
   Servizi all'Albergatore
   ============================================ */

/* === CSS VARIABLES === */
:root {
    /* Primary Colors - Blu professionale hospitality */
    --primary-color: #1a5276;
    --primary-dark: #154360;
    --primary-light: #2874a6;

    /* Secondary/Accent - Oro/Arancione per highlights */
    --accent-color: #f39c12;
    --accent-dark: #d68910;
    --accent-light: #f5b041;

    /* Text Colors */
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --text-muted: #6c757d;

    /* Background Colors */
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2e;
    --bg-darker: #16213e;

    /* Fonts */
    --font-primary: 'Montserrat', sans-serif;
    --font-heading: 'Playfair Display', serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.2);
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* === UTILITY CLASSES === */
.text-primary {
    color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-dark {
    background-color: var(--bg-dark) !important;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

.section-padding {
    padding: 100px 0;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-description {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* === BUTTONS === */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
}

.btn-accent:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.8);
    color: #ffffff;
    background: transparent;
}

.btn-outline-light:hover {
    background-color: #ffffff;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 15px;
}

/* === NAVBAR === */
#mainNavbar {
    padding: 20px 0;
    transition: var(--transition-normal);
    background-color: transparent;
}

#mainNavbar.scrolled {
    background-color: var(--primary-color);
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand .logo-img {
    height: 75px;
    width: auto;
    transition: var(--transition-normal);
    background-color: #ffffff;
    padding: 8px 15px;
    border-radius: 8px;
}

#mainNavbar.scrolled .logo-img {
    height: 55px;
    padding: 6px 12px;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 15px;
    padding: 10px 18px;
    margin: 0 2px;
    border-radius: 25px;
    transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffffff;
    background-color: rgba(255,255,255,0.15);
}

.navbar-toggler {
    border: none;
    padding: 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* === HERO SECTION === */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/hostinginota-hero.jpg') center/cover no-repeat;
    opacity: 0.25;
}

.hero-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 60px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-description {
    font-size: 20px;
    color: rgba(255,255,255,0.8);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: rgba(255,255,255,0.6);
    font-size: 18px;
    transition: var(--transition-normal);
    animation: bounce 2s infinite;
}

.hero-scroll a:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* === VALUE BAR === */
.value-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 50px 0;
    margin-top: -1px;
}

.value-item {
    text-align: center;
    color: #ffffff;
    padding: 20px;
}

.value-item i {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.value-item h4 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.value-item p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
}

/* === ABOUT SECTION === */
.about-image {
    position: relative;
}

.about-image img {
    border-radius: 10px;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.about-features .feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.about-features .feature-item i {
    font-size: 18px;
}

/* === SERVICE CARDS === */
.service-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px 30px;
    height: 100%;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    transform: scale(1.1);
}

.service-icon i {
    font-size: 32px;
    color: #ffffff;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 15px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-dark);
}

.service-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 12px;
}

/* === METHOD SECTION === */
.method-step {
    text-align: center;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    transition: var(--transition-normal);
    height: 100%;
}

.method-step:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--accent-color);
}

.step-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.method-step h4 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 15px;
}

.method-step p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    margin-bottom: 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 50px;
    border-radius: 15px;
    margin-top: 30px;
}

.cta-box h3 {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 15px;
}

.cta-box p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 25px;
    font-size: 18px;
}

/* === STATS SECTION === */
.stats-section {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    color: #ffffff;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.9;
}

/* === CONTACT SECTION === */
.contact-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 28px;
    color: #ffffff;
}

.contact-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* === FOOTER === */
.footer {
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-darker));
    color: #ffffff;
}

.footer-logo {
    height: 150px;
    width: auto;
    background-color: #ffffff;
    padding: 15px 20px;
    border-radius: 10px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.7);
}

.footer-bottom a:hover {
    color: var(--accent-color);
}

/* === ANIMATIONS === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll[data-animation="fadeInLeft"] {
    transform: translateX(-30px);
}

.animate-on-scroll[data-animation="fadeInLeft"].animated {
    transform: translateX(0);
}

.animate-on-scroll[data-animation="fadeInRight"] {
    transform: translateX(30px);
}

.animate-on-scroll[data-animation="fadeInRight"].animated {
    transform: translateX(0);
}

/* === RESPONSIVE === */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 50px;
    }

    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 991px) {
    .section-padding {
        padding: 70px 0;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-description {
        font-size: 18px;
    }

    .navbar-collapse {
        background-color: var(--primary-color);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
    }

    .navbar-nav .nav-link {
        padding: 12px 20px;
        margin: 2px 0;
    }

    .experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        display: inline-block;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-subtitle {
        margin-top: 50px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-title {
        font-size: 30px;
    }

    .section-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-buttons .me-3 {
        margin-right: 0 !important;
        margin-bottom: 10px;
    }

    .value-item {
        padding: 15px;
    }

    .value-item i {
        font-size: 32px;
    }

    .stat-number {
        font-size: 36px;
    }

    .cta-box {
        padding: 30px 20px;
    }

    .cta-box h3 {
        font-size: 26px;
    }

    /* Footer mobile centering */
    .footer .col-lg-4,
    .footer .col-lg-3,
    .footer .col-lg-2 {
        text-align: center !important;
    }

    .footer .footer-logo {
        margin: 0 auto 20px !important;
        display: block;
    }

    .footer .footer-social {
        justify-content: center !important;
    }

    .footer .footer-links {
        padding-left: 0 !important;
        list-style: none;
    }

    .footer .footer-title {
        text-align: center !important;
    }

    .footer p {
        text-align: center !important;
    }

    .footer-bottom {
        text-align: center !important;
    }

    .footer-bottom .row {
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 26px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .contact-card {
        padding: 30px 20px;
    }
}
