/*
 Theme Name:   Cittadelcapo Tours
 Template:     twentyseventeen
 Description:  Production child theme for cittadelcapo.tours
 Author:       Matteo Pompoli
 Version:      1.1.0
*/

/* === TYPOGRAPHY === */
body { font-size: 17px; line-height: 1.75; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 1.8em; margin-bottom: 0.6em; }
p { margin-bottom: 1.2em; }

/* === SECTION SPACING === */
.twentyseventeen-front-page .panel-content .wrap {
    padding-top: 3em;
    padding-bottom: 3em;
}

/* === CTA BUTTONS === */
.cta-button,
.wp-block-button__link,
.wpforms-form button[type="submit"],
.wpforms-form input[type="submit"] {
    background-color: #e74c3c !important;
    color: #fff !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 4px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}
.cta-button:hover,
.wp-block-button__link:hover,
.wpforms-form button[type="submit"]:hover {
    background-color: #c0392b !important;
    transform: translateY(-1px);
}

/* === IMAGE HOVER EFFECTS === */
.post-thumbnail img,
.wp-post-image,
.panel-image img {
    transition: transform 0.4s ease;
}
.post-thumbnail:hover img,
.panel-image:hover img {
    transform: scale(1.03);
}
.post-thumbnail, .panel-image {
    overflow: hidden;
}

/* === WHATSAPP FLOATING BUTTON === */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: transform 0.3s ease;
    text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }

/* === FOOTER IMPROVEMENTS === */
.site-footer {
    padding: 2em 0;
}
.site-footer .widget {
    margin-bottom: 1em;
}
.footer-contact {
    text-align: center;
    padding: 1.5em 0;
    font-size: 15px;
    line-height: 2;
}
.footer-contact a { color: #ddd; text-decoration: none; }
.footer-contact a:hover { color: #fff; }

/* === MOBILE IMPROVEMENTS === */
@media (max-width: 768px) {
    body { font-size: 16px; }
    h2 { font-size: 1.5em; }
    .main-navigation a { font-size: 16px; padding: 12px 16px; }
    .twentyseventeen-front-page .panel-content .wrap {
        padding-top: 2em;
        padding-bottom: 2em;
    }
    .whatsapp-float { bottom: 16px; right: 16px; width: 52px; height: 52px; }
    .whatsapp-float svg { width: 28px; height: 28px; }
}

/* === READING EXPERIENCE (posts/pages) === */
.single .entry-content,
.page .entry-content {
    max-width: 720px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

/* === SINGLE ROW NAVIGATION === */
.navigation-top .wrap {
    display: flex;
    justify-content: center;
}
.main-navigation ul {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    white-space: nowrap;
}
.main-navigation li {
    padding: 0 0.6em;
}
.main-navigation a {
    font-size: 14px;
    padding: 0.8em 0.4em;
    white-space: nowrap;
}
@media (max-width: 768px) {
    .main-navigation a {
        font-size: 12px;
        padding: 0.6em 0.3em;
    }
    .main-navigation li {
        padding: 0 0.3em;
    }
}
