/* Custom Styles for Sinaverse Website */

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-x: hidden;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #002b5b;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #001a3a;
}

/* Modern Navigation Styles */
.nav-modern {
    box-shadow: 0 4px 20px rgba(0, 43, 91, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-modern.scrolled {
    box-shadow: 0 8px 30px rgba(0, 43, 91, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Nav Link Styles */
.nav-link {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 43, 91, 0.1), rgba(0, 64, 128, 0.15));
    border-radius: 0.5rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover .nav-link-bg,
.nav-link-active .nav-link-bg {
    opacity: 1;
    transform: scale(1);
}

.nav-link-active {
    color: #002b5b !important;
}

.nav-link:hover {
    color: #002b5b;
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #002b5b, #004080, transparent);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link-active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Nav Action Buttons */
.nav-action-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-action-btn:hover {
    transform: translateY(-2px);
}

/* Mobile Nav Links */
.mobile-nav-link {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #002b5b, #004080);
    border-radius: 0 2px 2px 0;
    transition: height 0.3s ease;
}

.mobile-nav-link:hover::before,
.mobile-nav-link:first-child::before {
    height: 60%;
}

/* Button Hover Effects */
button, .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

button::before, .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::before, .btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Image Overlay Effects */
.image-overlay {
    position: relative;
    overflow: hidden;
}

.image-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 43, 91, 0.8), rgba(0, 64, 128, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.image-overlay:hover::before {
    opacity: 1;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #002b5b, #004080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Styles */
section {
    position: relative;
}

/* Form Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    transform: scale(1.02);
    box-shadow: 0 0 0 3px rgba(0, 43, 91, 0.1);
}

/* Footer Styles */
footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    transform: translateX(5px);
}

.footer-logo {
    filter: brightness(0) invert(1);
}

/* Creative accents */
.bg-blob {
    position: absolute;
    border-radius: 9999px;
    filter: blur(40px);
    opacity: 0.18;
    pointer-events: none;
}

.bg-blob.blue {
    background: radial-gradient(circle at 30% 30%, #004080, #002b5b 50%, transparent 60%);
}

.bg-blob.cyan {
    background: radial-gradient(circle at 70% 40%, #00b5d8, #006f9c 45%, transparent 60%);
}

.glass {
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.gradient-border {
    position: relative;
}

.gradient-border::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #002b5b, #004080, #00b5d8);
    opacity: 0.8;
    z-index: 0;
}

.gradient-border > * {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: 1.15rem;
}

.scroll-indicator {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: #002b5b;
    font-weight: 600;
}

.scroll-indicator .dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: #002b5b;
    animation: bounce 1.6s ease-in-out infinite;
}

.floating-buttons-container {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.floating-contact {
    display: flex;
}

.floating-contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1.2rem;
    background: linear-gradient(135deg, #002b5b, #004080);
    color: white;
    border-radius: 9999px;
    box-shadow: 0 15px 35px rgba(0, 43, 91, 0.35);
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-contact a:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(0, 43, 91, 0.45);
}

.back-to-top-button {
    width: 3.5rem;
    height: 3.5rem;
    background-color: #002b5b;
    color: white;
    border-radius: 9999px;
    box-shadow: 0 10px 25px rgba(0, 43, 91, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 43, 91, 0.4);
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: all 0.3s ease;
}

#mobile-menu.show {
    display: block;
    animation: slideDown 0.3s ease;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}

/* Utility Classes */
.backdrop-blur-custom {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.shadow-custom {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Gradient Backgrounds */
.gradient-blue {
    background: linear-gradient(135deg, #002b5b 0%, #004080 100%);
}

.gradient-blue-purple {
    background: linear-gradient(135deg, #002b5b 0%, #003d70 100%);
}

.gradient-green {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

/* Custom Border Radius */
.rounded-custom {
    border-radius: 1.5rem;
}

/* Text Shadow */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Hero Image Effect */
.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Stats Counter Animation */
.stat-number {
    font-variant-numeric: tabular-nums;
}

/* Product Card Styles */
.product-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-card:hover {
    border-color: #002b5b;
}

/* Contact Info Card */
.contact-card {
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: scale(1.05);
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Hero Section Enhancements */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 43, 91, 0.75) 0%, rgba(0, 64, 128, 0.65) 50%, rgba(0, 43, 91, 0.75) 100%);
}

.hero-overlay-2 {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(0, 181, 216, 0.15) 0%, transparent 50%);
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float-shape 20s ease-in-out infinite;
    pointer-events: none;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 181, 216, 0.4), transparent 70%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 64, 128, 0.4), transparent 70%);
    bottom: -100px;
    right: -100px;
    animation-delay: 5s;
}

.hero-shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 43, 91, 0.5), transparent 70%);
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes float-shape {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-title {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    margin: 1.5rem auto;
    animation: expand-line 1.5s ease-out;
}

@keyframes expand-line {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

.hero-subtitle {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
}

.hero-glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
}

/* Animated gradient text */
.hero-gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

/* Hero Slider Styles */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    visibility: hidden;
}

.hero-slide > div:last-child {
    padding-top: 100px;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
    visibility: visible;
}

.hero-slider-prev,
.hero-slider-next {
    cursor: pointer;
    outline: none;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-slider-prev:active,
.hero-slider-next:active {
    transform: translateY(-50%) scale(0.9);
}

.hero-slider-dots {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.hero-slider-dot {
    cursor: pointer;
    outline: none;
    border: none;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.5);
}

.hero-slider-dot:hover {
    transform: scale(1.2);
}

.hero-slider-dot.active {
    background: white !important;
    width: 2.5rem;
    height: 0.5rem;
    border-radius: 0.5rem;
    opacity: 1;
}

/* Section Dividers - Creative Separators */
.section-divider {
    position: relative;
    height: 100px;
    overflow: hidden;
}

.section-divider-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 43, 91, 0.05), rgba(0, 64, 128, 0.1));
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
}

.section-divider-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #002b5b, #004080, #00b5d8, #004080, #002b5b, transparent);
    animation: shimmer-border 3s ease-in-out infinite;
}

@keyframes shimmer-border {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.section-divider-curved {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 43, 91, 0.08), rgba(0, 64, 128, 0.12));
    clip-path: ellipse(150% 100% at 50% 0%);
}

/* Creative Title Styles */
.creative-title {
    position: relative;
    display: inline-block;
}

.creative-title::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #00b5d8, #004080, #00b5d8, transparent);
    border-radius: 2px;
    animation: expand-title-line 1s ease-out;
}

.creative-title-gradient {
    background: linear-gradient(135deg, #002b5b 0%, #004080 50%, #00b5d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes expand-title-line {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

/* Background Image with Blur Effect */
.section-bg-blur {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.section-bg-blur::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    background: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

.section-bg-blur > * {
    position: relative;
    z-index: 1;
}

.section-bg-dark-blur::before {
    background: rgba(0, 43, 91, 0.75);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

/* Fixed Catalog CTA Styles */
#fixed-catalog-cta {
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) skewX(-15deg);
    }
    100% {
        transform: translateX(200%) skewX(-15deg);
    }
}

#fixed-catalog-cta button {
    position: relative;
    overflow: hidden;
}

#fixed-catalog-cta button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#fixed-catalog-cta button:hover::after {
    left: 100%;
}


/* Suppliers Section Styles */
.supplier-card {
    position: relative;
    cursor: pointer;
}

.supplier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    padding: 2px;
    background: linear-gradient(135deg, rgba(0, 43, 91, 0), rgba(0, 64, 128, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: all 0.5s ease;
    opacity: 0;
}

.supplier-card:hover::before {
    background: linear-gradient(135deg, rgba(0, 43, 91, 0.3), rgba(0, 64, 128, 0.3));
    opacity: 1;
}

/* Search Modal Styles */
#search-modal.show {
    display: block !important;
    opacity: 1;
}

#search-modal.show #search-container {
    transform: scale(1);
}

#search-results {
    scrollbar-width: thin;
    scrollbar-color: #002b5b #f1f1f1;
}

#search-results::-webkit-scrollbar {
    width: 6px;
}

#search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#search-results::-webkit-scrollbar-thumb {
    background: #002b5b;
    border-radius: 10px;
}

.search-result-item {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-result-item:hover {
    background: #f9fafb;
    padding-left: 1.5rem;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-weight: 600;
    color: #002b5b;
    margin-bottom: 0.25rem;
}

.search-result-snippet {
    color: #6b7280;
    font-size: 0.875rem;
}

.search-result-highlight {
    background: #fef3c7;
    font-weight: 600;
    padding: 0 2px;
}

/* Language Switcher Styles */
#lang-dropdown.show {
    display: block !important;
    animation: fadeInDown 0.2s ease-out;
}

.lang-option.active {
    background: #002b5b;
    color: white;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Catalog Download Popup Styles */
#catalog-popup.show {
    display: block !important;
    opacity: 1;
}

#catalog-popup.show #catalog-container {
    transform: scale(1);
}

#catalog-form input:focus {
    box-shadow: 0 0 0 3px rgba(0, 43, 91, 0.1);
}

/* Request Quote Popup Styles */
#quote-popup.show {
    display: block !important;
    opacity: 1;
}

#quote-popup.show #quote-container {
    transform: scale(1);
}

#quote-form input:focus,
#quote-form textarea:focus,
#quote-form select:focus {
    box-shadow: 0 0 0 3px rgba(0, 43, 91, 0.1);
}

/* Business Division Cards */
.business-division-card {
    height: 100%;
}

.business-division-card:hover {
    z-index: 10;
}

/* Print Styles */
@media print {
    nav, footer, button, .no-print {
        display: none;
    }
}

