/*
Theme Name: AluTek Safe Theme
Theme URI: https://alutek.com
Description: Safe AluTek WordPress theme with 7-slide hero carousel
Version: 1.0.0
Author: AluTek Team
License: MIT License
Text Domain: alutek
*/

/* WordPress Core Styles */
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin-right: 1rem; }
.alignright { float: right; margin-left: 1rem; }
.wp-caption-text { font-size: 0.875rem; color: #666; text-align: center; }
.sticky { background: #f5f5f5; padding: 1rem; border-left: 4px solid #0073aa; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }

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

:root {
    --primary-color: #2c3e50;      /* Dark gray - professional */
    --secondary-color: #ecf0f1;    /* Light gray - backgrounds */
    --accent-color: #3498db;       /* Blue - main actions */
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --light-bg: #fafbfc;
    --border-color: #e1e4e8;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    padding-top: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

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

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* Header Styles - Scroll with page */
.header-top {
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 0;
    font-size: 13px;
    position: relative;
}

.header-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
}

.company-info a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.company-info a:hover {
    opacity: 0.8;
}

.language-switcher {
    display: flex;
    gap: 15px;
}

.lang-link {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
    font-size: 12px;
}

.lang-link.active, .lang-link:hover {
    opacity: 1;
}

.logo-area {
    background: var(--white);
    padding: 0;
    position: relative;
}

.logo-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 0;
}

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

.company-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.tagline {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

/* Contact Header Buttons */
.quick-contact-header {
    display: flex;
    gap: 15px;
}

.quick-cart {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.quick-cart:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.quick-cart .icon {
    font-size: 16px;
}

.cart-count {
    background: #e74c3c;
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    position: absolute;
    top: -8px;
    right: -8px;
    border: 2px solid var(--white);
}

.quick-partner, .quick-call, .quick-quote {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.quick-partner:hover, .quick-call:hover, .quick-quote:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.quick-partner .icon, .quick-call .icon, .quick-quote .icon {
    font-size: 16px;
}

/* Main Header - Navigation Only */
.main-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-navigation .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12.5px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Logo Area - Positioned Below Main Menu */
.logo-area {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 2px 0;
    position: relative;
}

.logo-area .logo-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

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

.main-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.main-menu a:hover {
    color: var(--accent-color);
}

.main-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: 2px solid var(--accent-color);
    border-radius: 4px;
    cursor: pointer;
    padding: 8px 10px;
    transition: all 0.3s ease;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--accent-color);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.menu-toggle:hover {
    background: var(--accent-color);
}

.menu-toggle:hover span {
    background: var(--white);
}

/* Hero Overlay Section */
.hero-overlay {
    position: relative;
    height: 550px;
    overflow: hidden;
    margin-top: 0;
}

.hero-overlay .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-overlay .hero-slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.7) 0%, rgba(52, 152, 219, 0.5) 100%);
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.slide-content h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.slide-content p {
    font-size: clamp(18px, 2.5vw, 24px);
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    line-height: 1.5;
}

.slide-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.slide-buttons .btn {
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slide-buttons .btn-primary {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.slide-buttons .btn-primary:hover {
    background: transparent;
    color: var(--accent-color);
}

.slide-buttons .btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.slide-buttons .btn-outline:hover {
    background: white;
    color: var(--accent-color);
}

/* Hero Navigation Controls */
.hero-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 20px;
}

.hero-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.hero-btn:hover {
    background: rgba(255,255,255,0.2);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.hero-dots {
    position: absolute;
    bottom: 100px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 15px;
}

.hero-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dots .dot.active {
    background: var(--white);
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-partner {
    background: #f39c12;
    color: var(--white);
}

.btn-partner:hover {
    background: #e67e22;
    color: var(--white);
    text-decoration: none;
}

.btn-call {
    background: #27ae60;
    color: var(--white);
}

.btn-call:hover {
    background: #229954;
    color: var(--white);
    text-decoration: none;
}

.btn-quote {
    background: #e74c3c;
    color: var(--white);
}

.btn-quote:hover {
    background: #c0392b;
    color: var(--white);
    text-decoration: none;
}

/* Services Section */
.services-overview {
    padding: 80px 0;
    background: var(--secondary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 20px;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-bottom: auto;
    text-align: left;
}

.service-card .btn {
    margin-top: auto;
    align-self: center;
}

.service-features li {
    padding: 5px 0;
    color: var(--text-light);
}

.btn-outline {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.feature i {
    font-size: 24px;
    color: var(--accent-color);
    width: 40px;
}

.about-image {
    background: var(--secondary-color);
    height: 400px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    opacity: 0.3;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
}

.footer-section h4 {
    margin-bottom: 15px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
}

.footer-section a:hover {
    opacity: 1;
}

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

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

.social-links a:hover {
    background: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive - Tablets */
@media (max-width: 768px) {
    .main-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-overlay {
        height: 400px;
        margin-top: 0;
    }

    .slide-content {
        max-width: 90%;
        padding: 0 20px;
    }

    .slide-content h1 {
        font-size: 28px;
        margin-bottom: 15px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .slide-content p {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .slide-buttons {
        bottom: 40px;
        flex-direction: column;
        gap: 10px;
    }

    .slide-buttons .btn {
        padding: 15px 30px;
        font-size: 16px;
        min-width: 200px;
    }

    .hero-dots {
        bottom: 140px;
    }

    .hero-nav {
        bottom: 20px;
    }

    .hero-btn {
        width: 40px;
        height: 40px;
    }

    .hero-btn i {
        font-size: 14px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .logo-content {
        flex-direction: column;
        gap: 20px;
    }

    .quick-contact-header {
        width: 100%;
        justify-content: center;
    }

    .container {
        padding: 0 15px;
    }
}

/* Responsive - Mobile Phones */
@media (max-width: 480px) {
    .hero-overlay {
        height: 350px;
        margin-top: 0;
    }

    .slide-content {
        max-width: 95%;
        padding: 0 15px;
    }

    .slide-content h1 {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .slide-content p {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 20px;
    }

    .slide-buttons {
        bottom: 30px;
        gap: 12px;
    }

    .slide-buttons .btn {
        padding: 14px 25px;
        font-size: 14px;
        min-width: 180px;
        min-height: 44px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-dots {
        bottom: 120px;
        gap: 10px;
    }

    .hero-dots .dot {
        width: 16px;
        height: 16px;
    }

    .hero-nav {
        bottom: 15px;
        gap: 15px;
    }

    .hero-btn {
        width: 44px;
        height: 44px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-card {
        padding: 25px 20px;
        min-height: 300px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 15px;
    }

    .service-card h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .service-card p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .service-features {
        margin-bottom: 20px;
    }

    .service-features li {
        font-size: 13px;
        padding: 3px 0;
    }

    .logo-content {
        text-align: center;
    }

    .quick-contact-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .quick-contact-header a {
        min-width: 120px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 16px;
    }
}
/* WooCommerce Basic Styles */
.woocommerce-container {
    padding: 40px 0;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.woocommerce ul.products li.product {
    text-align: center;
}

.woocommerce ul.products li.product .button {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
}
