/*
Theme Name: نورد خاوران
Theme URI: https://navardkhavaran.com
Author: Navard Khavaran Team
Author URI: https://navardkhavaran.com
Description: قالب حرفه‌ای وردپرس برای شرکت نورد خاوران - تولیدکننده انواع مقاطع فولادی، میلگرد چهارپهلو، تسمه و ورق
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: navard-khavaran
Tags: industrial, steel, rtl, persian, responsive, custom-menu, featured-images
*/

/* ========================================
   CSS Variables & Base
======================================== */
:root {
    --primary-dark: #091233;
    --primary-blue: #1a4b8c;
    --primary-light-blue: #2d6bc4;
    --accent-blue: #4a90d9;
    --steel-gray: #2c3e50;
    --steel-light: #4a5568;
    --steel-silver: #718096;
    --bg-dark: #0a0f1a;
    --bg-gray: #1a1f2e;
    --bg-light: #f7f8fa;
    --white: #ffffff;
    --text-light: #e2e8f0;
    --text-muted: #a0aec0;
    --gradient-steel: linear-gradient(135deg, #091233 0%, #1a4b8c 50%, #2d6bc4 100%);
    --gradient-dark: linear-gradient(180deg, #0a0f1a 0%, #1a1f2e 100%);
    --shadow-lg: 0 25px 50px -12px rgba(9, 18, 51, 0.4);
    --shadow-md: 0 10px 30px rgba(9, 18, 51, 0.3);
    --shadow-sm: 0 4px 15px rgba(9, 18, 51, 0.2);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Vazirmatn', 'IRANSans', Tahoma, sans-serif;
    --font-display: 'Lalezar', 'Vazirmatn', sans-serif;
}

/* ========================================
   Reset & Base Styles
======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-light);
    color: var(--steel-gray);
    line-height: 1.8;
    direction: rtl;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

/* ========================================
   Typography
======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--steel-light);
}

/* ========================================
   Utility Classes
======================================== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
}

.text-center { text-align: center; }
.text-white { color: var(--white); }
.bg-dark { background: var(--bg-dark); }
.bg-gray { background: var(--bg-gray); }

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-steel);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary::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: 0.5s;
}

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

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

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

.btn-steel {
    background: var(--steel-gray);
    color: var(--white);
}

.btn-steel:hover {
    background: var(--primary-dark);
}

/* ========================================
   Preloader
======================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    width: 120px;
    margin-bottom: 30px;
    animation: pulse 1.5s infinite;
}

.preloader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-bar::after {
    content: '';
    display: block;
    width: 50%;
    height: 100%;
    background: var(--accent-blue);
    animation: loading 1s infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(300%); }
}

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

/* ========================================
   Header & Navigation
======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.header-top {
    background: var(--primary-dark);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.header-contact-item i {
    color: var(--accent-blue);
}

.header-social {
    display: flex;
    gap: 15px;
}

.header-social a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 0.9rem;
}

.header-social a:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
}

.header-main {
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    transition: var(--transition);
}

.header-scrolled .header-main {
    background: var(--primary-dark);
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
}

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

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

.site-logo img {
    height: 55px;
    transition: var(--transition);
}

.header-scrolled .site-logo img {
    height: 45px;
}

.logo-text {
    color: var(--white);
}

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 2px;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--accent-blue);
    letter-spacing: 2px;
}

/* Main Navigation */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-nav li {
    position: relative;
}

.main-nav > ul > li > a {
    display: block;
    padding: 12px 20px;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 6px;
    position: relative;
}

.main-nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 20px;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: var(--transition);
}

.main-nav > ul > li > a:hover::after,
.main-nav > ul > li.current-menu-item > a::after {
    width: calc(100% - 40px);
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.current-menu-item > a {
    background: rgba(255,255,255,0.1);
}

/* Dropdown Menu */
.main-nav .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 250px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    padding: 15px 0;
    z-index: 100;
}

.main-nav li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .sub-menu li a {
    display: block;
    padding: 12px 25px;
    color: var(--steel-gray);
    font-size: 0.9rem;
    border-right: 3px solid transparent;
}

.main-nav .sub-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
    border-right-color: var(--primary-blue);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

/* ========================================
   Hero Section
======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(9,18,51,0.95) 0%, rgba(26,75,140,0.8) 100%);
    z-index: 2;
}

/* Animated Steel Lines */
.hero-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    overflow: hidden;
}

.hero-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    opacity: 0.3;
}

.hero-line:nth-child(1) { top: 20%; width: 60%; animation: lineMove 8s infinite; }
.hero-line:nth-child(2) { top: 40%; width: 80%; animation: lineMove 10s infinite reverse; }
.hero-line:nth-child(3) { top: 60%; width: 50%; animation: lineMove 12s infinite; }
.hero-line:nth-child(4) { top: 80%; width: 70%; animation: lineMove 9s infinite reverse; }

@keyframes lineMove {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

/* Floating Steel Particles */
.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.particle {
    position: absolute;
    background: var(--accent-blue);
    border-radius: 50%;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(74,144,217,0.2);
    border: 1px solid rgba(74,144,217,0.3);
    padding: 10px 25px;
    border-radius: 50px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease;
}

.hero-badge i {
    color: var(--accent-blue);
}

.hero-badge span {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-title {
    color: var(--white);
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-title span {
    display: block;
    background: var(--gradient-steel);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 2;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

/* Hero Stats */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: rgba(9,18,51,0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    border-left: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.stat-item:last-child {
    border-left: none;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-steel);
    transform: scaleX(0);
    transition: var(--transition);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--accent-blue);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

/* ========================================
   About Section
======================================== */
.about-section {
    position: relative;
    overflow: hidden;
}

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

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition);
}

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

.about-image-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--gradient-steel);
    color: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-image-badge .number {
    font-family: var(--font-display);
    font-size: 3rem;
    display: block;
}

.about-image-badge span {
    font-size: 0.9rem;
}

.about-content .section-subtitle {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-right: 50px;
}

.about-content .section-subtitle::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 40px;
    height: 2px;
    background: var(--primary-blue);
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-text {
    color: var(--steel-light);
    margin-bottom: 30px;
    line-height: 2;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

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

.about-feature i {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26,75,140,0.1);
    color: var(--primary-blue);
    border-radius: 10px;
    font-size: 1.2rem;
}

.about-feature span {
    font-weight: 500;
    color: var(--steel-gray);
}

/* ========================================
   Services Section
======================================== */
.services-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74,144,217,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header .section-subtitle {
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.section-header h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-muted);
}

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

.service-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    group: service;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-steel);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-card:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74,144,217,0.1);
    border-radius: 20px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-icon i {
    font-size: 2rem;
    color: var(--accent-blue);
}

.service-card:hover .service-icon {
    background: var(--accent-blue);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.8;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-blue);
    font-weight: 500;
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover {
    color: var(--white);
}

.service-link:hover i {
    transform: translateX(-5px);
}

/* ========================================
   Products Section
======================================== */
.products-section {
    background: var(--bg-light);
}

.products-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 15px 35px;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    color: var(--steel-gray);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-dark);
    color: var(--white);
    border-color: var(--primary-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-steel);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(9,18,51,0.9));
    transform: translateY(100%);
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    transform: translateY(0);
}

.product-overlay a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 500;
}

.product-content {
    padding: 25px;
}

.product-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.product-content p {
    color: var(--steel-silver);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.product-specs {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.product-spec {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--steel-light);
}

.product-spec i {
    color: var(--primary-blue);
}

/* ========================================
   CTA Section
======================================== */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: var(--primary-dark);
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(30deg, transparent 40%, rgba(74,144,217,0.05) 40%, rgba(74,144,217,0.05) 60%, transparent 60%),
        linear-gradient(-30deg, transparent 40%, rgba(74,144,217,0.05) 40%, rgba(74,144,217,0.05) 60%, transparent 60%);
    background-size: 60px 100px;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ========================================
   News Section
======================================== */
.news-section {
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--bg-light);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.news-date .day {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary-dark);
    line-height: 1;
}

.news-date .month {
    font-size: 0.8rem;
    color: var(--steel-silver);
}

.news-content {
    padding: 30px;
}

.news-category {
    display: inline-block;
    background: rgba(26,75,140,0.1);
    color: var(--primary-blue);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-content h3 a:hover {
    color: var(--primary-blue);
}

.news-content p {
    color: var(--steel-silver);
    font-size: 0.95rem;
    line-height: 1.8;
}

.news-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.news-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.news-author span {
    font-size: 0.9rem;
    color: var(--steel-light);
}

.news-read-more {
    color: var(--primary-blue);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-read-more:hover {
    color: var(--primary-dark);
}

/* ========================================
   Partners Section
======================================== */
.partners-section {
    background: var(--bg-gray);
    padding: 80px 0;
}

.partners-slider {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.partner-logo {
    opacity: 0.5;
    transition: var(--transition);
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0);
}

.partner-logo img {
    height: 60px;
}

/* ========================================
   Contact Section
======================================== */
.contact-section {
    background: var(--bg-light);
}

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

.contact-info {
    background: var(--gradient-dark);
    border-radius: 25px;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74,144,217,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.contact-item-icon {
    width: 60px;
    height: 60px;
    background: rgba(74,144,217,0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon i {
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.contact-item-content h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 8px;
}

.contact-item-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.contact-social a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--accent-blue);
    transform: translateY(-5px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: 25px;
    padding: 50px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--steel-gray);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(26,75,140,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* ========================================
   Footer
======================================== */
.site-footer {
    background: var(--primary-dark);
    color: var(--text-light);
}

.footer-main {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-about .footer-logo img {
    height: 50px;
}

.footer-about .footer-logo span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
}

.footer-about p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.9;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-blue);
    transform: translateY(-5px);
}

.footer-widget h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-blue);
    border-radius: 3px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a::before {
    content: '←';
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-blue);
    padding-right: 10px;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-item i {
    color: var(--accent-blue);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-contact-item p {
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: var(--text-muted);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    color: var(--text-muted);
}

.footer-bottom-links a:hover {
    color: var(--accent-blue);
}

/* ========================================
   Page Header (Inner Pages)
======================================== */
.page-header {
    background: var(--gradient-dark);
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/steel-pattern.png');
    opacity: 0.05;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 15px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--accent-blue);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: var(--text-muted);
}

/* ========================================
   Gallery Page
======================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9,18,51,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--white);
}

/* Large items */
.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

/* ========================================
   404 Page
======================================== */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    text-align: center;
    padding: 50px 20px;
}

.error-content {
    max-width: 600px;
}

.error-number {
    font-family: var(--font-display);
    font-size: 12rem;
    line-height: 1;
    background: var(--gradient-steel);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-shadow: 0 20px 40px rgba(9,18,51,0.5);
}

.error-content h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.error-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.error-search {
    display: flex;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto 30px;
}

.error-search input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.error-search button {
    padding: 15px 30px;
    background: var(--accent-blue);
    border: none;
    border-radius: 50px;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.error-search button:hover {
    background: var(--primary-blue);
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

@media (max-width: 992px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .services-grid,
    .products-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .main-nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .header-contact {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats-inner {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        border-left: none;
    }
    
    .services-grid,
    .products-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-widget h4::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .footer-links a::before {
        display: none;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .error-number {
        font-size: 8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .btn {
        padding: 14px 30px;
        font-size: 0.9rem;
    }
    
    .products-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .error-number {
        font-size: 6rem;
    }
    
    .error-search {
        flex-direction: column;
    }
}

/* ========================================
   Mobile Navigation
======================================== */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--primary-dark);
    z-index: 2000;
    transition: var(--transition);
    padding: 30px;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mobile-nav-close {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 10px;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav ul li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav ul li a {
    display: block;
    padding: 18px 0;
    color: var(--white);
    font-size: 1.1rem;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   Scroll to Top
======================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-steel);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* ========================================
   Animation Classes
======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
