@import url('navbar.css');
/* 
    PAPIRA BASIMEVÄ° - CORE DESIGN SYSTEM
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --emerald: #31ffbb;
    --emerald-transparent: #31ffbaa7;
    --emerald-hover: #065f41;
    --cyan: #00c3f9;
    --cyan-transparent: #00c3f9a7;
    --cyan-hover: #00B4E6;
    --primary-gradient: linear-gradient(90deg, #31ffbb 0%, #00c3f9 100%);
    --primary-gradient-light: linear-gradient(90deg, #e2fff5 0%, #e3f9ff 100%);
    --secondary-gradient: linear-gradient(135deg, rgba(0, 180, 230, 0.1) 0%, rgba(0, 195, 249, 0.1) 100%);
    --dark-bg: #002731;
    --dark-bg-extra: #00161d;
    --dark-bg-extra-extra: #031114;
    --dark-bg-grey: #112931;
    /* Incredibly rich, dark slate emerald var(--black) */
    --dark-card: #081a14;
    /* Deep premium card background, close to var(--black) */
    --text-white: #ebfaff;
    --text-grey: #a5c9d4;
    --text-muted: #39433e;
    /* Elegant deep green-slate muted tone */
    /* Ultra-rich almost-black green slate for primary text */
    --text-dark: #192f24;
    --white: #ffffff;
    --black: #000000;
    --light-emerald: #f0f8f5;
    --light-cyan: #f0fafd;
    --accent: #00B4E6;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: clip;
    width: 100%;
    position: relative;
    scroll-behavior: smooth;
}

.display-7 {
    font-size: 2rem;
    font-weight: 400;
}

/* AOS Horizontal Scroll Fix */
[data-aos^='fade'][data-aos^='fade'] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos^='fade-left'] {
    transform: translateX(50px);
}

[data-aos^='fade-right'] {
    transform: translateX(-50px);
}

.aos-animate[data-aos^='fade'] {
    opacity: 1;
    transform: translateX(0);
}

a {
    text-decoration: none;
}

/* Container Breakpoints (Ultra Wide & 4K Support) */
.container-xl {
    --bs-gutter-x: 2.5rem;
    width: 100%;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 767px) {
    .container-xl {
        --bs-gutter-x: 1rem;
        padding-right: var(--bs-gutter-x, 0.75rem);
        padding-left: var(--bs-gutter-x, 0.75rem);
    }
}

.navbar .container-xl {
    padding-right: 0;
    padding-left: 0;
}

@media (min-width: 576px) {
    .container-xl {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container-xl {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container-xl {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container-xl {
        max-width: 1300px;
    }
}

@media (min-width: 1400px) {
    .container-xl {
        max-width: 1320px;
    }
}

@media (min-width: 1600px) {
    .container-xl {
        max-width: 1520px;
    }
}

@media (min-width: 1920px) {
    .container-xl {
        max-width: 1800px;
    }
}

@media (min-width: 2560px) {
    .container-xl {
        max-width: 2400px;
    }
}

@media (min-width: 3840px) {
    .container-xl {
        max-width: 3600px;
    }
}
/* Helper Classes */
.text-accent {
    color: var(--accent) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-dark {
    color: var(--text-dark) !important;
}

.bg-dark-custom {
    background-color: var(--dark-bg) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 10px;
}

.btn-gradient {
    background: var(--primary-gradient);
    color: var(--black) !important;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 400;
    transition: var(--transition);
      
    display: inline-block;
    text-decoration: none;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 196, 250, 0.2); 
}

.section-tag {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.section-title {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-dark);
}

/* Footer */
footer {
    background: var(--dark-bg-extra-extra);
    color: var(--text-grey);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer .row{
    padding: 60px 0;
}

.footer-logo {
    font-size: 32px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 25px;
}

.footer-logo img {
    height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}


.footer-logo span {
    color: var(--accent);
}

.footer-links h5 {
    color: var(--white);
    font-weight: 500;
    margin-bottom: 30px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: var(--text-grey);
    transition: var(--transition);
    text-decoration: none;
}

.footer-links ul li a:hover {
    color: var(--text-white);
    padding-left: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--primary-gradient);
    transform: rotate(360deg);
}

.copyright {
    background: var(--dark-bg-extra-extra);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 14px;
    width: 100%;
}

.copyright p {
    margin-bottom: 0;
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    color: var(--black);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 180, 230, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
}

@media (min-width: 3840px) {
    .container-xl {
        max-width: 3600px;
    }
}
/* Helper Classes */
.text-accent {
    color: var(--accent) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-dark {
    color: var(--text-dark) !important;
}

.bg-dark-custom {
    background-color: var(--dark-bg) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 10px;
}

.btn-gradient {
    background: var(--primary-gradient);
    color: var(--black) !important;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 400;
    transition: var(--transition);
      
    display: inline-block;
    text-decoration: none;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 196, 250, 0.2); 
}

.section-tag {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.section-title {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-dark);
}

/* Footer */
footer {
    background: var(--dark-bg-extra-extra);
    color: var(--text-grey);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer .row{
    padding: 60px 0;
}

.footer-logo {
    font-size: 32px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 25px;
}

.footer-logo img {
    height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}


.footer-logo span {
    color: var(--accent);
}

.footer-links h5 {
    color: var(--white);
    font-weight: 500;
    margin-bottom: 30px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: var(--text-grey);
    transition: var(--transition);
    text-decoration: none;
}

.footer-links ul li a:hover {
    color: var(--text-white);
    padding-left: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--primary-gradient);
    transform: rotate(360deg);
}

.copyright {
    background: var(--dark-bg-extra-extra);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 14px;
    width: 100%;
}

.copyright p {
    margin-bottom: 0;
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    color: var(--black);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 180, 230, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 180, 230, 0.4);
}

/* Mobile Optimization */
@media (max-width: 991px) {
    .page-header h1 {
        font-size: 32px !important;
    }
    .product-single-detail .product-sticky-info > h2,
    .product-single-detail .product-sticky-info > .display-6 {
        font-size: 1.45rem !important;
    }
    .product-single-detail h2 {
        font-size: 1.25rem !important;
    }
    .product-single-detail h3 {
        font-size: 1.1rem !important;
    }
    .product-single-detail h4 {
        font-size: 1rem !important;
    }
    .product-single-detail .product-img-wrapper {
        width: 350px !important;
        height: 350px !important;
    }
    footer .row {
        padding: 40px 0 !important;
    }
    .footer-links h5 {
        margin-bottom: 20px !important;
    }
    .footer-links ul li {
        margin-bottom: 10px !important;
    }
    .contact-intro {
        margin-bottom: 30px !important;
    }
    .contact-info-list {
        gap: 20px !important;
    }
    .products-layout {
        padding: 50px 0 !important;
    }
    .subpage-section {
        padding: 50px 0 !important;
    }
    .process-content-item {
        padding-bottom: 40px !important;
        margin-bottom: 40px !important;
    }
    .process-title {
        font-size: 22px !important;
    }
    .blog-section,
    .blog-detail-section {
        padding: 50px 0 !important;
    }
    .blog-header h1 {
        font-size: 32px !important;
    }
    .blog-detail-header h1 {
        font-size: 28px !important;
    }
    #backToTop {
        bottom: 20px !important;
        right: 20px !important;
        left: auto !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 16px !important;
    }
}

html {
    scroll-padding-top: 100px;
}

@media (max-width: 767px) {
    html {
        scroll-padding-top: 90px;
    }

    .section-title {
        font-size: 20px !important;
        line-height: 1.35 !important;
        margin-bottom: 12px !important;
    }
    .section-tag {
        font-size: 10px !important;
        padding: 4px 12px !important;
        letter-spacing: 1.5px !important;
    }
    .btn {
        padding: 10px 20px !important;
        font-size: 13px !important;
    }
    .btn-gradient {
        font-size: 12px !important;
        padding: 10px 22px !important;
    }
    .page-header {
        padding: 120px 0 40px !important;
    }
    .page-header h1 {
        font-size: 28px !important;
        letter-spacing: -0.5px !important;
    }
    .breadcrumb-item a,
    .breadcrumb-item.active {
        font-size: 11px !important;
    }
    .display-7 {
        font-size: 1.2rem !important;
    }
    .hero h1 {
        font-size: 30px !important;
        line-height: 1.15 !important;
    }
    .hero p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    .feature-box {
        padding: 15px !important;
    }
    .feature-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
        margin-right: 15px !important;
    }
    .feature-text h6 {
        font-size: 14px !important;
    }
    .feature-text p {
        font-size: 12px !important;
    }
    .about-title-area h1 {
        font-size: 28px !important;
    }
    .about-text-content .intro-text {
        font-size: 16px !important;
    }
    .about-text-content p {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }
    .about-hero-img {
        height: 280px !important;
    }
    .stat-info h3 {
        font-size: 20px !important;
    }
    .stat-info p {
        font-size: 11px !important;
    }
    .value-card h4 {
        font-size: 16px !important;
    }
    .value-card p {
        font-size: 13px !important;
    }
    .contact-intro h3 {
        font-size: 22px !important;
    }
    .contact-intro p {
        font-size: 14px !important;
    }
    .contact-item-text h6 {
        font-size: 12px !important;
    }
    .contact-item-text p {
        font-size: 13px !important;
    }
    .contact-form-card {
        padding: 24px 18px !important;
    }
    .contact-form-card h2 {
        font-size: 20px !important;
    }
    .form-input-custom {
        font-size: 14px !important;
        padding: 12px 16px !important;
    }
    .product-single-detail .product-sticky-info > h2,
    .product-single-detail .product-sticky-info > .display-6 {
        font-size: 1.3rem !important;
    }
    .product-single-detail h2 {
        font-size: 1.15rem !important;
    }
    .product-single-detail h3 {
        font-size: 1.05rem !important;
    }
    .product-single-detail h4 {
        font-size: 0.95rem !important;
    }
    .product-single-detail .lead {
        font-size: 1rem !important;
    }
    .product-single-detail .product-description {
        font-size: 14px !important;
    }
    .product-category-title {
        font-size: 20px !important;
    }
    .product-overlay-content h4 {
        font-size: 15px !important;
    }
    .footer-links h5 {
        font-size: 14px !important;
        margin-bottom: 15px !important;
    }
    .footer-links ul li a {
        font-size: 13px !important;
    }
    .blog-header h1 {
        font-size: 26px !important;
    }
    .blog-header p {
        font-size: 14px !important;
    }
    .blog-card h3 {
        font-size: 16px !important;
    }
    .blog-detail-header h1 {
        font-size: 24px !important;
    }
    .blog-detail-content h2 {
        font-size: 20px !important;
    }
    .blog-detail-content h3 {
        font-size: 17px !important;
    }
    .blog-detail-content p {
        font-size: 14.5px !important;
    }
    .sidebar-quote-card {
        padding: 20px !important;
    }
    .sidebar-quote-card h4 {
        font-size: 16px !important;
    }
    .sidebar-quote-card p {
        font-size: 12px !important;
    }
    .process-title {
        font-size: 20px !important;
    }
    .process-detailed-text {
        font-size: 14px !important;
    }

    .process-detailed-text p {
        font-size: 14px !important;
    }
    .faq-intro h2 {
        font-size: 22px !important;
    }
    .faq-header h4 {
        font-size: 14px !important;
    }
    .custom-select-dropdown .dropdown-item {
        font-size: 13px !important;
    }
    .map-container-custom {
        height: 280px !important;
    }
    #backToTop {
        width: 38px !important;
        height: 38px !important;
        font-size: 14px !important;
        bottom: 15px !important;
        right: 15px !important;
        left: auto !important;
    }
}

/* Video Modal Styles */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 22, 29, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0.5s;
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-container {
    width: 90%;
    max-width: 960px;
    max-height: 85vh;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 195, 249, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.85) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-overlay.active .video-modal-container {
    transform: scale(1) translateY(0);
}

.video-modal-container video {
    width: 100%;
    height: 100%;
    max-height: 85vh;
    display: block;
    aspect-ratio: 16/9;
    object-fit: contain;
    border-radius: 20px;
}

.video-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 18px;
    backdrop-filter: blur(5px);
    z-index: 10005;
}

.video-modal-close:hover {
    background: var(--primary-gradient);
    color: var(--black);
    border-color: transparent;
    transform: scale(1.1) rotate(90deg);
}
