/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* ==========================================================================
   1. OFF-CANVAS PANEL - DARK GLASS OVERLAY (GeneratePress)
   ========================================================================== */
#generate-slideout-menu {
    background-color: rgba(15, 15, 15, 0.85) !important; 
    backdrop-filter: blur(12px) !important; 
    -webkit-backdrop-filter: blur(12px) !important; 
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.6) !important; 
}

/* MAIN MENU ITEMS - DIVIDERS & SPACING */
.slideout-navigation.main-navigation .main-nav ul li a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important; 
    padding: 15px 25px !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* PREMIUM HOVER & ACTIVE STATE */
.slideout-navigation.main-navigation .main-nav ul li a:hover,
.slideout-navigation.main-navigation .main-nav ul li[class*="current-menu-"] > a {
    color: #FFB800 !important;
    background-color: rgba(255, 255, 255, 0.05) !important; 
    padding-left: 32px !important;
}

/* SUB-MENU CONTRAST - DARK GLASS ADJUSTMENT */
.slideout-navigation .sub-menu {
    background-color: rgba(0, 0, 0, 0.3) !important; 
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: inset 0 5px 15px rgba(0,0,0,0.3);
}

/* SUB-MENU ITEMS STYLING & TYPOGRAPHY */
.slideout-navigation .sub-menu a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-left: 45px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 15px !important;      
    font-weight: 500 !important;     
}

.slideout-navigation .sub-menu a:hover {
    color: #ffffff !important;
    padding-left: 50px !important;
}

/* DROPDOWN TOGGLE ICON */
.slideout-navigation .dropdown-menu-toggle {
    color: rgba(255, 255, 255, 0.6) !important;
    padding-right: 25px !important;
}

.slideout-navigation .dropdown-menu-toggle:hover {
    color: #FFB800 !important;
}


/* ==========================================================================
   2. KILL THE WHITE GAP BETWEEN CONTENT AND FOOTER
   ========================================================================== */
#primary, .site-main {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.entry-content {
    margin-bottom: 0 !important;
}

.site-footer {
    margin-top: 0 !important;
}

.footer-widgets {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.faq-section {
    margin-bottom: 0 !important;
    padding-bottom: 60px;
}


/* ==========================================================================
   3. PRIVACY / ABOUT PAGE CUSTOM LAYOUT
   ========================================================================== */
.privacy-page-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    line-height: 1.8;
    color: #333;
}

/* DARK HERO SECTION */
.privacy-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 80px 5%;
    text-align: center;
    border-bottom: 5px solid #d80635;
    border-radius: 15px;
    margin-bottom: 50px;
}

/* GOLD SHINE BADGE */
.trusted-badge {
    position: relative;
    overflow: hidden;
    background: rgba(255, 184, 0, 0.15); 
    border: 1px solid #FFB800; 
    color: #FFD700; 
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 13px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(255, 184, 0, 0.2);
}

.trusted-badge::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: skewX(-20deg);
    animation: shine-sweep 3s infinite;
}

@keyframes shine-sweep {
    0% { left: -150%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

/* CONTENT CARDS */
.privacy-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    border-left: 5px solid #d80635;
    transition: transform 0.3s ease;
}

.privacy-card:hover {
    transform: translateY(-5px);
}

.privacy-card h2 {
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 0;
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
}

/* SVG ICON ANIMATIONS */
.privacy-icon {
    width: 35px;
    height: 35px;
    fill: #d80635;
}

.privacy-icon.pulse {
    animation: continuousPulse 3s ease-in-out infinite;
}

@keyframes continuousPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 8px rgba(216, 6, 53, 0.4)); }
}

.privacy-card:hover .privacy-icon:not(.pulse) {
    animation: bounce-small 0.5s ease infinite alternate;
}

@keyframes bounce-small {
    from { transform: translateY(0); }
    to { transform: translateY(-5px); }
}

/* YELLOW WHATSAPP PULSE BUTTON */
.btn-gold-gradient {
    background: linear-gradient(135deg, #FFD700 0%, #FFB800 100%);
    color: #111 !important; 
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 900;
    text-decoration: none !important;
    display: inline-block;
    font-size: 16px;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(255, 184, 0, 0.2);
    transition: all 0.3s ease;
    animation: whatsapp-glow-yellow 2.5s infinite;
}

.btn-gold-gradient:hover {
    transform: translateY(-3px);
    background: #ffffff;
    box-shadow: 0 15px 30px rgba(255, 184, 0, 0.4);
}

@keyframes whatsapp-glow-yellow {
    0% { box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.6); }
    70% { box-shadow: 0 0 0 20px rgba(255, 184, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 184, 0, 0); }
}

/* MOBILE RESPONSIVENESS FOR PRIVACY PAGE */
@media (max-width: 768px) {
    .privacy-card { margin: 20px 5%; padding: 25px; }
    .privacy-hero h1 { font-size: 28px !important; }
}


/* ==========================================================================
   4. GENERAL SITE TWEAKS (Forms, Header Buttons, Breadcrumbs, etc.)
   ========================================================================== */

/* Recaptcha Badge - Kept small and out of the way */
.grecaptcha-badge {
    transform: scale(0.7);
    width: 70px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    left: 4px !important;
}

/* Navigation Alignment */
@media (min-width: 769px) {
    .nav-float-right .main-navigation {
        margin-top: 20px;
    }
}

/* Form Inputs - Clean & Sharp */
input[type="text"],
input[type="email"],
input[type="tel"], 
textarea {
    background-color: #fff;
    color: #000;
    width: 100%;
    margin-bottom: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
}

/* Contact Form 7 Submit Button - Using Vibrant Red with Gold Hover */
input.wpcf7-form-control.wpcf7-submit {
    background-color: #d80635;
    color: #fff;
    border: none;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

input.wpcf7-form-control.wpcf7-submit:hover {
    background-color: #FFB800; 
    color: #111;
    cursor: pointer;
}

/* Contact Menu Button (Header) - Professional Deep Red */
.main-navigation:not(.slideout-navigation) .main-nav li.contact a {
    background: #7f0103;
    color: #ffffff;
    border: 0;
    line-height: 40px;
    padding: 0px 24px;
    border-radius: 50px;
    margin-left: 20px;
    margin-top: 13px;
    transition: all 0.4s ease;
}

.main-navigation:not(.slideout-navigation) .main-nav li.contact a:hover {
    background: #d80635;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(127, 1, 3, 0.3);
}

/* Tips Menu Button */
.main-navigation:not(.slideout-navigation) .main-nav li.tips a {
    background-color: #7f0103;
    color: #ffffff;
    border: 0;
    line-height: 40px;
    padding: 0px 24px;
    border-radius: 50px;
    margin-left: 20px;
    margin-top: 13px;
    transition: all 0.5s ease 0s;
}

.main-navigation:not(.slideout-navigation) .main-nav li.tips a:hover {
    background-color: #d80635;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(127, 1, 3, 0.3);
}

/* Reviews Menu Button */
.main-navigation:not(.slideout-navigation) .main-nav li.reviews a {
    background-color: #d80635;
    color: #ffffff;
    border: 0;
    line-height: 40px;
    padding: 0px 24px;
    border-radius: 50px;
    margin-left: 30px;
    margin-top: 13px;
    transition: all 0.5s ease 0s;
}

.main-navigation:not(.slideout-navigation) .main-nav li.reviews a:hover {
    background-color: #7f0103;
    color: #ffffff;
}

/* Navigation Search Box - Match Theme */
.navigation-search.nav-search-active {
    border-radius: 5px;
    border: 3px solid #7f0103;
    background: #fff;
    max-width: 59%;
}

/* Breadcrumb - Using light neutral background */
.rank-math-breadcrumb {
    background-color: #f9f9f9;
    display: block;
    padding: 15px 10px;
    border-radius: 4px;
    border: 1px solid #eeeeee;
    margin-bottom: 15px;
}

.rank-math-breadcrumb p {
    margin-bottom: 0;
    text-align: center;
    color: #7f0103; 
}

.rank-math-breadcrumb span.last {
    font-weight: 700;
    color: #d80635; 
}

/* Post Images */
img.wp-post-image {
    border-radius: 10px;
    border: 1px solid #eeeeee;
    transition: transform 0.3s ease;
}

/* Custom Search Box - Color Matched to Theme */
.custom-search-form input[type="search"] {
    background-color: #fff;
    order: 5;
    border: 2px solid #7f0103;
    max-width: 200px;
    color: #7f0103;
}

.custom-search-form button {
    background-color: #7f0103;
    border: 2px solid #7f0103;
    color: #fff;
    transition: background 0.3s ease;
}

.custom-search-form button:hover {
    background-color: #d80635;
    border-color: #d80635;
}

input::placeholder {
    color: #962317;
    opacity: 0.7;
}