/* ==========================================
   SAHALLINK - MODERN ICT COMPANY WEBSITE
   Custom Styles for Bootstrap 5
   ========================================== */

/* Root Variables */
:root {
    --primary-blue: #0066FF;
    --secondary-blue: #00D4FF;
    --dark-gray: #1a1a2e;
    --medium-gray: #2c3e50;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #0066FF 0%, #0047B3 100%);
    --gradient-2: linear-gradient(135deg, #00D4FF 0%, #0066FF 100%);
    --gradient-3: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
    --shadow-lg: 0 10px 30px rgba(0, 102, 255, 0.15);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Navigation */
.navbar {
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar-brand span {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.nav-link:hover {
    color: var(--secondary-blue) !important;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-1);
    color: var(--white);
    min-height: 100vh;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.hero-buttons .btn-primary {
    background: var(--gradient-2);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.hero-stats {
    margin-top: 3rem;
}

.hero-stats h3 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    color: var(--secondary-blue);
    font-weight: 700;
}

.hero-stats p {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Hero Graphics */
.tech-illustration {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-hero-svg {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.shape {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    top: 10%;
    left: 10%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.shape-2 {
    bottom: 20%;
    right: 15%;
    width: 60px;
    height: 60px;
    animation-delay: 2s;
}

.shape-3 {
    top: 60%;
    left: 5%;
    width: 70px;
    height: 70px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.floating-element {
    animation: float 8s ease-in-out infinite;
}

/* Enhanced Customer Indicator */
.customer-indicator {
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 0.9; 
        transform: scale(1);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.02);
    }
}

.pulse-ring {
    transform-origin: center;
}

.avatar-cluster {
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.satellite-avatar {
    animation: satellite-orbit 15s linear infinite;
}

@keyframes satellite-orbit {
    0% { transform: rotate(0deg) translateX(30px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(30px) rotate(-360deg); }
}

.satisfaction-stars {
    animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.connection-line {
    stroke-dasharray: 5,5;
    animation: dash 10s linear infinite;
}

@keyframes dash {
    to { stroke-dashoffset: -100; }
}

/* Enhanced Wave Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    display: none;
    left: 0;
    width: 100%;
    height: 120px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

/* Services Section */
.services-section {
    background: var(--light-gray);
}

.service-card {
    transition: var(--transition);
    border-radius: 12px;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg) !important;
}

.service-icon svg {
    width: 60px;
    height: 60px;
}

/* Hosting Section */
.hosting-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.hosting-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

.hosting-card.featured {
    border: 2px solid var(--primary-blue);
    transform: scale(1.05);
}

.hosting-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary-blue);
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
}

.price-tag {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 1rem 0;
}

.price-tag .currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.price-tag .amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.price-tag .period {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 1.5rem;
    font-family: 'Inter', sans-serif;
}

/* About Section */
.about-section {
    background: var(--white);
}

.reason-card {
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

.reason-illustration {
    width: 100%;
    max-width: 150px;
    height: auto;
}

/* Products Section */
.products-section {
    background: var(--light-gray);
}

.product-card {
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

.product-logo {
    display: flex;
    align-items: center;
    padding: 1.5rem 1.5rem 0;
}

.product-logo h5 {
    margin-left: 1rem;
    margin-bottom: 0;
}

.product-screenshot svg {
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: var(--shadow-sm);
}

/* Portfolio Section */
.portfolio-item {
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

.portfolio-image {
    height: 200px;
    overflow: hidden;
}

.portfolio-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Industries Section */
.industry-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    cursor: pointer;
}

.industry-badge:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-1);
    color: white;
}

.industry-badge:hover svg {
    stroke: white;
}

.industry-badge svg {
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.industry-badge span {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    background: var(--light-gray);
}

.contact-form .form-control {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 12px 16px;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.contact-form .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 255, 0.15);
}

.contact-info .info-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.contact-info p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.map-placeholder {
    border: 2px dashed #dee2e6;
}

/* Enhanced Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer h5, .footer h6 {
    color: var(--white);
}

.footer p, .footer li {
    color: #e9ecef;
}

.footer a {
    transition: var(--transition);
    color: #e9ecef;
}

.footer a:hover {
    color: var(--secondary-blue) !important;
    transform: translateX(5px);
}

.social-links a {
    color: #e9ecef;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-blue) !important;
    transform: translateY(-3px);
}

.footer hr {
    border-color: rgba(255,255,255,0.2);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

.fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.9s both;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .tech-illustration {
        height: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        padding-top: 1rem;
    }
    
    .nav-link {
        margin: 0.25rem 0;
        padding: 0.75rem 1rem;
    }
    
    .hero-section {
        padding-top: 60px;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hosting-card.featured {
        transform: none;
        margin: 1rem 0;
    }
    
    .hosting-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .footer .col-lg-4,
    .footer .col-lg-2,
    .footer .col-lg-3 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-stats .col-4 {
        padding: 0 5px;
    }
    
    .hero-stats h3 {
        font-size: 1.5rem;
    }
    
    .hero-stats p {
        font-size: 0.8rem;
    }
    
    .price-tag .amount {
        font-size: 2.5rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: rgba(0, 102, 255, 0.2);
    color: var(--dark-gray);
}

/* Card Text Styles */
.card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.card-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}