/*
Theme Name: ItalyVFS Theme
Theme URI: https://italyvfs.com/
Author: Muhammad Hilal
Author URI: https://muhammadhilal.com/
Description: A custom WordPress theme based on the static ItalyVFS HTML page.
Version: 1.0
*/

body { font-family: 'Roboto', sans-serif; background-color: #f8f9fa; color: #333; line-height: 1.7; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: #009246; font-weight: 700; }
.navbar-brand { font-weight: 700; color: #CE2B37 !important; font-size: 1.8rem; }
.nav-link { color: #009246 !important; font-weight: 500; }
.nav-link:hover { color: #CE2B37 !important; }
.hero { 
    background-size: cover; background-position: center; color: white; text-align: center; padding: 200px 0; position: relative;
}
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); }
.hero-content { position: relative; z-index: 1; }
.hero h1 { color: white; text-shadow: 2px 2px 10px rgba(0,0,0,0.7); }
.card { border: none; border-radius: 20px; box-shadow: 0 8px 25px rgba(0,0,0,0.15); transition: transform 0.4s ease; overflow: hidden; }
.card:hover { transform: translateY(-15px); }
.card img { width: 100%; height: 300px; object-fit: cover; transition: transform 0.5s ease; }
.card:hover img { transform: scale(1.1); }
.btn-primary { background-color: #CE2B37; border: none; padding: 14px 35px; font-weight: 600; border-radius: 50px; }
.btn-primary:hover { background-color: #009246; color: white; }
.section { padding: 120px 0; }
.bg-light-custom { background-color: #f1f3f5; }
footer { background-color: #343a40; color: #ddd; padding: 40px 0; text-align: center; font-size: 0.95rem; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { color: #CE2B37; text-decoration: underline; }
iframe { border-radius: 20px; box-shadow: 0 8px 25px rgba(0,0,0,0.15); width: 100%; height: 400px; }
.disclaimer { font-size: 0.9rem; color: #6c757d; background-color: #e9ecef; padding: 25px; border-radius: 15px; margin: 50px 0; border-left: 5px solid #CE2B37; }
.list-group-item { background-color: transparent; border: none; padding: 12px 0; color: #333; }
.list-group-item i { color: #CE2B37; }
.table thead { background-color: #009246; color: white; }



.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}
.blog-card .card-title a {
    color: #333;
}
.blog-card .card-title a:hover {
    color: #009246;
}


/* Floating Social Share Buttons */
.social-share-float {
    position: fixed;
    left: 20px;
    top: 40%;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255,255,255,0.95);
    padding: 12px 8px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    backdrop-filter: blur(6px);
}

.social-share-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-share-float a:hover {
    transform: scale(1.15);
}

/* Colors */
.facebook    { background: #1877F2; }
.twitter     { background: #000000; }
.linkedin    { background: #0A66C2; }
.whatsapp    { background: #25D366; }
.pinterest   { background: #E60023; }

/* Bottom share buttons */
.share-bottom {
    margin: 40px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
}

/* Floating Social Share - Fixed left side */
.social-share-float {
    position: fixed;
    left: 20px;
    top: 35%;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 10px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0,0,0,0.08);
}

.social-share-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: white;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.social-share-float a:last-child {
    margin-bottom: 0;
}

.social-share-float a:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Platform colors */
.facebook  { background: #1877F2; }
.twitter   { background: #000000; }
.linkedin  { background: #0A66C2; }
.whatsapp  { background: #25D366; }

/* Bottom share - Responsive */
.share-bottom {
    margin: 40px 0;
}

@media (max-width: 991px) {
    .social-share-float {
        display: none !important; /* Hide floating on mobile */
    }
    
    .share-bottom .btn {
        flex: 1 1 45%;
        margin: 8px 4px;
    }
}


.page-hero {
    position: relative;
    margin-bottom: 2rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.65));
    pointer-events: none;
}

.text-shadow {
    text-shadow: 0 3px 12px rgba(0,0,0,0.75);
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.entry-content h2,
.entry-content h3 {
    color: var(--italy-green);
    margin: 2.5rem 0 1.25rem;
}

.entry-content h2 {
    font-size: 2.25rem;
}

.entry-content h3 {
    font-size: 1.75rem;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.6rem;
    margin-bottom: 1.8rem;
}

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