/* custom.css - Custom styles for Vendoprone website */

/* ==========================================
   1. CUSTOM FONTS DEFINITIONS
   ========================================== */

/* Adomania (for titles/headings) */
@font-face {
    font-family: 'Adomania';
    src: url('../fonts/Adomania.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Adomania';
    src: url('../fonts/Adomania Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Adomania';
    src: url('../fonts/Adomania Italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

/* Gilmer (for paragraphs/body text) */
@font-face {
    font-family: 'Gilmer';
    src: url('../fonts/Gilmer Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gilmer';
    src: url('../fonts/Gilmer Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gilmer';
    src: url('../fonts/Gilmer Heavy.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ==========================================
   2. GLOBAL VARIABLE OVERRIDES
   ========================================== */
:root {
    --color-primary: #0F4C5C !important;
    --color-accent: #d25400 !important;
    --font-primary: 'Gilmer', sans-serif !important;
    --font-medium: 'Adomania', sans-serif !important;
    --font-secondary: 'Adomania', sans-serif !important;
}

/* Logo styles */
.logo-link {
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
}
.logo-img {
    height: 48px !important;
    width: auto !important;
    max-height: 48px !important;
    object-fit: contain !important;
    display: block !important;
}
.logo-img-footer {
    height: 50px !important;
    width: auto !important;
    max-height: 50px !important;
    object-fit: contain !important;
}
.footer-disc {
    margin-top: 20px !important;
}

/* Counter margin adjustment */
.counter-margin {
    margin-top: -60px !important;
    margin-bottom: 80px !important;
}

/* About button animation backup */
.about-btn-animation {
    visibility: visible;
    animation-delay: 0.7s;
    animation-name: fadeInUp;
}

/* Blog section title */
.blog-section-title {
    font-size: 64px !important;
}

/* Blog author info spacing */
.author-info-no-pad {
    padding-left: 0 !important;
}

/* Contact section structure */
.contact-section-custom {
    background-color: #1a1a20 !important;
    padding: 100px 0 !important;
}
.contact-title-custom {
    color: #fff !important;
    font-size: 40px !important;
    font-weight: 700 !important;
}
.contact-subtitle-custom {
    color: #a4a4b8 !important;
    max-width: 600px !important;
    margin: 20px auto 0 !important;
}
.contact-form-box {
    background: rgba(255, 255, 255, 0.03) !important;
    padding: 40px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Contact form layout */
.form-flex-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}
.input-wrapper-flex {
    display: flex !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}
.form-input-custom {
    flex: 1 !important;
    min-width: 250px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 15px 20px !important;
    border-radius: 8px !important;
    color: #fff !important;
}
.form-select-custom {
    flex: 1 !important;
    min-width: 250px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 15px 20px !important;
    border-radius: 8px !important;
    color: #757575 !important;
    height: 56px !important;
}
.form-option-custom {
    background: #1F1F25 !important;
    color: #fff !important;
}
.form-textarea-custom {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 15px 20px !important;
    border-radius: 8px !important;
    color: #fff !important;
    width: 100% !important;
    resize: vertical !important;
}
.form-btn-custom {
    align-self: flex-start !important;
    padding: 15px 35px !important;
    border-radius: 8px !important;
}

/* Contact info column */
.contact-info-col {
    color: #fff !important;
}
.contact-info-list-flex {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
}
.single-info-flex {
    display: flex !important;
    gap: 20px !important;
    align-items: flex-start !important;
}
.info-icon-box {
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 15px !important;
    border-radius: 8px !important;
    color: #fff !important;
}
.info-title {
    color: #fff !important;
    margin-bottom: 5px !important;
    font-size: 20px !important;
    font-weight: 600 !important;
}
.info-text {
    color: #a4a4b8 !important;
    margin: 0 !important;
}
.info-link {
    color: #a4a4b8 !important;
    text-decoration: none !important;
}

/* Progress wrap SVG */
.progress-circle path {
    transition: stroke-dashoffset 10ms linear 0s !important;
    stroke-dasharray: 307.919, 307.919 !important;
    stroke-dashoffset: 307.919 !important;
}

/* Contact icons custom sizing */
.info-icon {
    font-size: 24px !important;
}

/* ==========================================
   3. GLOBAL FONT & COLOR STYLE OVERRIDES
   ========================================== */

/* Heading Fonts */
h1, h2, h3, h4, h5, h6, 
.title, .pre-title, .logo-title, .logo-title-footer, 
.accordion-header button, .single-counter-area .title,
.parent, .parent a {
    font-family: 'Adomania', sans-serif !important;
}

/* Body and Paragraph Fonts */
body, p, span, a, button, li, label, 
input, textarea, select, option, 
.disc, .copyright-wrapper p {
    font-family: 'Gilmer', sans-serif !important;
}

/* Custom Dual-Color System Styles */

/* Primary Teal Color overrides for text & icons */
.pre-title, .title-style-left .pre, .title-center-2 .pre {
    color: var(--color-accent) !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
}

/* Primary Button Override (Teal -> Orange Hover) */
.rts-btn.btn-primary {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #ffffff !important;
    transition: all 0.3s ease !important;
}
.rts-btn.btn-primary:hover {
    background: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* Border Button Override (Teal -> Orange Hover) */
.rts-btn.btn-border {
    border-color: var(--color-primary) !important;
    color: var(--color-primary) !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
}
.rts-btn.btn-border:hover {
    background: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* Counter Highlights */
.single-counter-area .title {
    color: var(--color-accent) !important;
    font-weight: 800 !important;
}

/* Swiper navigation & pagination bullets active */
.swiper-pagination-bullet-active {
    background: var(--color-primary) !important;
    width: 24px !important;
    border-radius: 4px !important;
}

/* Active links and hover states */
a:hover, .nav-link:hover, .nav-area nav ul li a:hover,
.single-nav-area-footer ul li a:hover {
    color: var(--color-accent) !important;
}

/* FAQ active header */
.accordion-button:not(.collapsed) {
    color: var(--color-primary) !important;
    background-color: rgba(15, 76, 92, 0.05) !important;
}

/* SVG Inject color accents */
.injectable path, .btn-arrow img path {
    fill: var(--color-primary) !important;
}
.rts-btn:hover .injectable path, .btn-arrow:hover img path {
    fill: #ffffff !important;
}

/* ==========================================
   3. NATIVE LANGUAGE SELECTOR STYLES
   ========================================== */
.lang-select-nav {
    display: inline-block !important;
}
.lang-select-nav ul {
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
.lang-select-nav ul li a {
    font-weight: 500 !important;
    font-size: 16px !important;
    color: #262626 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.lang-select-nav ul li a:hover {
    color: var(--color-accent) !important;
}
.lang-select-nav ul li .submenu li a {
    padding: 10px 20px !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #262626 !important;
}
.lang-select-nav ul li .submenu li a:hover {
    background-color: rgba(15, 76, 92, 0.05) !important;
    color: var(--color-accent) !important;
}

/* ==========================================
   4. HEADER AND NAVIGATION RESPONSIVE FIXES
   ========================================== */

/* Force nav links to stay on a single line — except megamenu service items */
.nav-area ul li a {
    white-space: nowrap !important;
}
/* Megamenu service wrappers need text wrapping */
.with-megamenu .submenu .single-menu .single-service-area-wrapper,
.with-megamenu .submenu .single-menu .single-service-area-wrapper .info p,
.with-megamenu .submenu .single-menu .single-service-area-wrapper .info h4 {
    white-space: normal !important;
}

/* Adjust gaps and padding to prevent header wrapping on desktop */
.nav-area ul {
    gap: 30px !important;
}

/* Optimize the header contact button size and gap */
.button-area-right-header .rts-btn {
    white-space: nowrap !important;
    gap: 12px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    height: 40px !important;
}

.button-area-right-header .rts-btn img {
    max-width: 14px !important;
    height: auto !important;
    margin-left: 0 !important;
}

/* Adjustments for medium screens (between desktop and tablet breakpoints) */
@media only screen and (max-width: 1200px) {
    .nav-area ul {
        gap: 16px !important;
    }
    
    .nav-area ul li a {
        font-size: 14px !important;
    }
    
    .lang-select-nav ul li a {
        font-size: 14px !important;
    }
    
    .button-area-right-header {
        gap: 10px !important;
    }
    
    .button-area-right-header .rts-btn {
        padding: 0 12px !important;
        font-size: 13px !important;
        gap: 8px !important;
    }
}

/* Mobile adjustments to keep the header elements clean */
@media only screen and (max-width: 575px) {
    .logo-img {
        height: 38px !important;
        max-height: 38px !important;
    }
    
    .button-area-right-header {
        gap: 8px !important;
    }
}

/* Color the megamenu service icons using the SVGInject paths */
.single-service-area-wrapper .injectable path {
    stroke: var(--color-primary) !important;
    transition: stroke 0.3s ease !important;
}

.single-service-area-wrapper:hover .injectable path {
    stroke: var(--color-accent) !important;
}

/* ==========================================
   5. MEGAMENU DESCRIPTION TEXT FIX
   ========================================== */

/* Override max-width constraint that clips description text */
.with-megamenu .submenu .single-menu .single-service-area-wrapper .info p {
    max-width: 100% !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    line-height: 1.5 !important;
    font-size: 14px !important;
}

/* Ensure the info container is not clipping content */
.with-megamenu .submenu .single-menu .single-service-area-wrapper .info {
    overflow: visible !important;
    flex: 1 !important;
    min-width: 0 !important;
}

/* Ensure the service wrapper itself allows text to wrap */
.with-megamenu .submenu .single-menu .single-service-area-wrapper {
    overflow: visible !important;
    align-items: flex-start !important;
}

/* Ensure column allows full width */
.with-megamenu .submenu .single-menu {
    overflow: visible !important;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    text-decoration: none !important;
}
.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    color: #fff !important;
}
.floating-whatsapp i {
    font-size: 32px;
    margin: 0;
    padding: 0;
}

/* WhatsApp Notification Popup */
.whatsapp-notification {
    position: fixed;
    bottom: 105px;
    left: 30px;
    background: #ffffff;
    color: #1F1F25;
    padding: 12px 18px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    font-weight: 600;
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.4s;
    border-left: 4px solid #25D366;
    pointer-events: none;
    white-space: nowrap;
}
.whatsapp-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.whatsapp-notification::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20px;
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: #ffffff transparent;
    display: block;
    width: 0;
}

/* Cookie Consent Banner */
.cookie-consent-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 25px;
    border: 1px solid #f2f2f2;
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-consent-wrapper.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-consent-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-consent-container .cookie-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookie-consent-container .cookie-img img {
    width: 50px;
    height: auto;
    object-fit: contain;
}

.cookie-consent-container .cookie-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #1F1F25;
}

.cookie-consent-container .cookie-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.cookie-consent-container .cookie-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.cookie-consent-container .cookie-actions button {
    padding: 10px 25px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}
