/* Custom CSS for WINDEMOS Website */

/*
 * COLOR SCHEME CUSTOMIZATION GUIDE
 * =================================
 * To match your logo colors, update these CSS variables:
 * 
 * --primary-color: Main brand color (buttons, links, headings)
 * --secondary-color: Darker shade for hover states and accents
 * --accent-color: Secondary accent color (icons, highlights)
 * --hover-color: Color when hovering over interactive elements
 * 
 * Current colors are set to a professional blue/gold scheme.
 * To extract colors from your logo:
 * 1. Open logo.png in an image editor
 * 2. Use color picker to get hex codes
 * 3. Replace the values below
 */

:root {
    --primary-color: #1a5490;      /* Deep Blue - Main brand color */
    --secondary-color: #0d3a6b;    /* Darker Blue - Hover states */
    --accent-color: #f39c12;       /* Gold/Orange - Accents */
    --dark-color: #1f2937;         /* Dark Gray - Text */
    --light-color: #f8fafc;        /* Light Gray - Backgrounds */
    --text-color: #374151;         /* Medium Gray - Body text */
    --border-color: #e5e7eb;       /* Light Gray - Borders */
    --hover-color: #2471bf;        /* Medium Blue - Link hover */
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Logo Styles */
.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.navbar-brand {
    padding: 0;
    margin: 0;
}

.navbar-brand:hover .logo-img {
    transform: scale(1.05);
}

.footer-logo-img {
    height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(1.2);
}

.footer-logo {
    margin-bottom: 1rem;
}

/* Custom Bootstrap overrides */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 8px;
    font-weight: 500;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 84, 144, 0.3);
}

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

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

/* Navigation Styles */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.8rem !important;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(26, 84, 144, 0.1);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

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

.hero-image {
    position: relative;
    z-index: 2;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    z-index: 2;
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

.animate-slide-in {
    animation: slideInRight 1s ease-out 0.4s both;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(-50%, 0, 0);
    }
    40%, 43% {
        transform: translate3d(-50%, -10px, 0);
    }
    70% {
        transform: translate3d(-50%, -5px, 0);
    }
    90% {
        transform: translate3d(-50%, -2px, 0);
    }
}

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

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

/* Icon Boxes */
.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(26, 84, 144, 0.1);
    border-radius: 50%;
    margin: 0 auto;
}

/* Service Items */
.service-item {
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: rgba(243, 156, 18, 0.2);
    border-radius: 50%;
    margin: 0 auto;
}

/* Difference Items */
.difference-item {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.difference-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(26, 84, 144, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Back to Top Button */
.btn-floating {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.btn-floating:hover {
    transform: scale(1.1);
}

/* Content Blocks */
.content-block {
    padding: 2rem 0;
}

.image-block img {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.image-block img:hover {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
        text-align: center;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .display-6 {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        margin-top: 2rem;
    }
    
    .service-item {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .difference-item {
        margin-bottom: 1rem;
    }
    
    .logo-img {
        height: 40px;
        max-width: 150px;
    }
    
    .footer-logo-img {
        height: 50px;
        max-width: 150px;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .logo-img {
        height: 35px;
        max-width: 130px;
    }
    
    .footer-logo-img {
        height: 45px;
        max-width: 130px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}