/*
Theme Name: Industrium Custom
Description: Custom WordPress theme inspired by Industrium design
Version: 1.0
Author: Your Name
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Top Bar Styles */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

/* Header Styles */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-logo {
    font-size: 28px;
    font-weight: bold;
    color: #0085AA;
    text-decoration: none;
}

.custom-logo-link {
    display: inline-block;
    max-height: 60px;
    line-height: 1;
}

.custom-logo {
    max-height: 60px;
    width: auto;
    vertical-align: middle;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin: 0 15px;
}

.main-navigation a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #0085AA;
}

/* Dropdown Menu Styles */
.main-navigation ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    flex-direction: column;
}

.main-navigation li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation ul ul li {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
    display: block;
}

.main-navigation ul ul li:last-child {
    border-bottom: none;
}

.main-navigation ul ul a {
    padding: 15px 20px;
    display: block;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
}

.main-navigation ul ul a:hover {
    background: #0085AA;
    color: #fff;
}

.main-navigation li {
    position: relative;
}

.header-cta {
    background: #0085AA;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.header-cta:hover {
    background: #0085AA;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Main Content */
.site-main {
    margin-top: 124px;
    min-height: calc(100vh - 160px);
}

/* Premium Carousel Styles */
.hero-carousel {
    position: relative;
    overflow: hidden;
    height: 80vh;
    min-height: 600px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.slide-content {
    color: white;
    z-index: 10;
    width: 100%;
    position: absolute;
    bottom: 50px;
    left: 0;
    text-align: center;
    backdrop-filter: blur(2px);
    background: rgba(0,0,0,0.3);
    padding: 30px 40px;
}

.slide-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: white;
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    line-height: 1.7;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.4);
    font-weight: 300;
    color: rgba(255,255,255,0.95);
}

.slide-btn {
    background: linear-gradient(135deg, #0085AA 0%, #0085AA 50%, #0085AA 100%);
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    transform: translateY(30px) scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255,255,255,0.2);
}

.swiper-slide-active .slide-btn {
    animation: buttonPop 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1s forwards;
}

.slide-btn::before {
    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.8s;
}

.slide-btn:hover::before {
    left: 100%;
}

.slide-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
    border-color: rgba(255,255,255,0.4);
}

/* Premium Pagination Bullets */
.swiper-pagination {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.4);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.2);
    margin: 0 10px !important;
}

.swiper-pagination-bullet::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #0085AA, #0085AA);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #0085AA, #0085AA);
    transform: scale(1.4);
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.swiper-pagination-bullet-active::before {
    width: 100%;
    height: 100%;
}

/* Clean Navigation Arrows */
.swiper-button-next,
.swiper-button-prev {
    display: none;
}

/* Keyframe Animations */
@keyframes overlayFadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideContentIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes titleSlideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes textFadeUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes buttonPop {
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Premium Loading and State Effects */
.hero-carousel.carousel-loaded {
    opacity: 1;
    transition: opacity 1s ease-out;
}

.hero-carousel.fully-loaded .swiper-slide {
    filter: brightness(1.05) contrast(1.1) saturate(1.1);
}

.hero-carousel.carousel-hovered .swiper-slide-active {
    transform: scale(1.02);
    transition: transform 0.6s ease-out;
}

.hero-carousel.in-viewport .slide-content {
    backdrop-filter: blur(3px);
}

/* Enhanced Progress Bar */
.carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 20;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0085AA 0%, #0085AA 50%, #0085AA 100%);
    width: 0;
    transition: width 0.1s linear;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.6);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4));
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Premium Bullet Styling */
.swiper-pagination-bullet .bullet-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
}

.swiper-pagination-bullet-active .bullet-inner {
    transform: translate(-50%, -50%) scale(1);
}

/* Enhanced Slide Effects */
.swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.1) 100%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.swiper-slide-active::after {
    opacity: 1;
}

/* Premium Text Effects */
.slide-content h2 {
    position: relative;
}

.slide-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0085AA, #0085AA);
    border-radius: 2px;
    transition: transform 0.8s ease;
}

.swiper-slide-active .slide-content h2::after {
    transform: translateX(-50%) scaleX(1);
    transition-delay: 1.2s;
}

/* Touch and Interaction States */
.hero-carousel.touching .swiper-slide {
    transform: scale(0.98);
    transition: transform 0.2s ease;
}

.swiper-button-next.key-pressed,
.swiper-button-prev.key-pressed {
    transform: scale(1.2);
    background: rgba(255, 107, 53, 0.3);
}

/* Additional Animation Classes */
.slide-content.animate-in h2 {
    animation: titleSlideUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s forwards;
}

.slide-content.animate-in p {
    animation: textFadeUp 1s ease-out 0.9s forwards;
}

.slide-content.animate-in .slide-btn {
    animation: buttonPop 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1.1s forwards;
}

/* Slide Entering Effect */
.swiper-slide.slide-entering {
    transform: scale(1.02);
    transition: transform 0.6s ease-out;
}

/* In-view State */
.hero-carousel.in-view {
    opacity: 1;
}

.hero-carousel {
    opacity: 0.9;
    transition: opacity 0.5s ease;
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 60vh;
        min-height: 500px;
    }
    
    .slide-content {
        padding: 40px 30px;
        max-width: 90%;
    }
    
    .slide-content h2 {
        font-size: 2.2rem;
        margin-bottom: 20px;
        background: none;
        -webkit-text-fill-color: white;
        color: white;
    }
    
    .slide-content p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .slide-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .swiper-button-next::before,
    .swiper-button-prev::before {
        font-size: 32px;
    }
    
    .swiper-pagination-bullet {
        width: 16px;
        height: 16px;
        margin: 0 8px !important;
    }
}
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 14px;
    }
    
    .slide-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Footer Styles */
.site-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-slim {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

@media (max-width: 768px) {
    .footer-slim {
        justify-content: space-between;
        align-items: center;
    }
}

.footer-section h3 {
    color: #0085AA;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p,
.footer-section li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #0085AA;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #95a5a6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #34495e;
    color: #ecf0f1;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #0085AA;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .main-navigation li {
        margin: 10px 0;
    }
    
    .header-cta {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Products Page Styles */
.products-hero {
    background: #0085AA !important;
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.products-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.products-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .products-hero h1 {
        font-size: 2.2rem;
    }
    
    .products-hero {
        padding: 80px 0 50px;
    }
}

/* Contact Page Styles */
.contact-page {
    padding-top: 0;
}

.contact-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.contact-main {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-section h2,
.contact-info-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
    position: relative;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 35px;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.info-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
}

.info-content h3 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.info-content p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.info-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.info-content a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.contact-map {
    padding: 80px 0;
    background: white;
}

.contact-map h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.form-message {
    padding: 18px 24px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

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

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form,
    .contact-info {
        padding: 30px 20px;
    }
}
/* Page titles background color */
.page-header {
    background: #0085AA !important;
    color: white !important;
    padding: 40px 0 !important;
    margin: 0 !important;
    width: 100% !important;
    min-height: 120px !important;
}

.page-header h1,
.page-header .page-title,
.page-header .entry-title {
    color: white !important;
    text-align: center !important;
    margin: 0 !important;
}
/* Social Media Icons */
.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    padding: 10px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 20px;
}

.social-icon:hover {
    transform: translateY(-2px);
    color: white;
}

.social-facebook:hover { background: #1877f2; }
.social-twitter:hover { background: #1da1f2; }
.social-linkedin:hover { background: #0077b5; }
.social-instagram:hover { background: #e4405f; }
.social-youtube:hover { background: #ff0000; }

/* Client Logos Section */
.client-logos-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.client-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.client-logo-item img {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
}

.category-title {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 24px;
}

.social-links {
    margin-top: 15px;
}

/* Mobile Dropdown Menu Styles */
@media (max-width: 768px) {
    .main-navigation ul ul,
    .main-navigation .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.1);
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .main-navigation ul ul a,
    .main-navigation .dropdown-menu a {
        padding-left: 40px;
    }
    
    .main-navigation li.menu-item-has-children > a::after,
    .main-navigation li.has-dropdown > a::after {
        content: ' ▼';
        font-size: 12px;
        margin-left: 5px;
        transition: transform 0.3s ease;
    }
    
    .main-navigation li.menu-item-has-children.open > a::after,
    .main-navigation li.has-dropdown.open > a::after {
        transform: rotate(180deg);
    }
    
    .main-navigation li.menu-item-has-children.open > ul,
    .main-navigation li.has-dropdown.open > .dropdown-menu {
        max-height: 500px;
    }
}
