/* holding-style.css */
:root {
    /* رنگ‌های اصلی هلدینگ */
    --holding-primary: #0a2540;
    --holding-secondary: #1a365d;
    --holding-accent: #ff9800;
    
    /* رنگ‌های شرکت‌های زیرمجموعه */
    --ferrostone-color: #0a2540;
    --equipment-color: #c62828;
    --technical-color: #00796b;
    
    /* رنگ‌های تکمیلی */
    --light-bg: #f8fafc;
    --dark-text: #2d3748;
    --light-text: #718096;
    --white: #ffffff;
    --border-color: #e2e8f0;
    
    /* تایپوگرافی */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

/* Logo Styles */
.holding-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--holding-primary);
}

.logo-symbol {
    width: 40px;
    height: 40px;
    position: relative;
    margin-right: 12px;
}

.logo-symbol .gear {
    width: 30px;
    height: 30px;
    border: 3px solid var(--holding-accent);
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 5px;
}

.logo-symbol .beam {
    width: 20px;
    height: 3px;
    background: var(--ferrostone-color);
    position: absolute;
    top: 18px;
    left: 10px;
    transform: rotate(45deg);
}

.logo-symbol .connection {
    width: 10px;
    height: 10px;
    border: 2px solid var(--technical-color);
    border-radius: 50%;
    position: absolute;
    bottom: 5px;
    right: 5px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
}

.logo-sub {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--light-text);
    margin-top: 2px;
}

/* Navigation */
.holding-nav .nav-main {
    display: flex;
    gap: 30px;
    list-style: none;
}

.holding-nav .nav-main a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-family: var(--font-heading);
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
}

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

.holding-nav .nav-main a.active {
    color: var(--holding-primary);
    font-weight: 600;
}

.holding-nav .nav-main a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--holding-accent);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    min-width: 280px;
    padding: 15px 0;
    display: none;
    z-index: 1001;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--dark-text);
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background: var(--light-bg);
}

.dropdown-menu a i {
    font-size: 20px;
    margin-right: 15px;
    width: 24px;
    text-align: center;
}

.dropdown-menu a strong {
    display: block;
    font-family: var(--font-heading);
    margin-bottom: 2px;
}

.dropdown-menu a small {
    font-size: 12px;
    color: var(--light-text);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.header-contact i {
    font-size: 20px;
    color: var(--holding-accent);
}

.contact-label {
    display: block;
    font-size: 12px;
    color: var(--light-text);
}

.contact-number {
    font-weight: 600;
    color: var(--holding-primary);
    text-decoration: none;
    font-size: 14px;
}

/* Hero Section */
.holding-hero {
    background: linear-gradient(135deg, var(--holding-primary) 0%, var(--holding-secondary) 100%);
    color: var(--white);
    padding: 160px 0 100px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.holding-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--holding-accent);
    color: var(--white);
}

.btn-primary:hover {
    background: #e68900;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* Section Common Styles */
section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--holding-primary);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

/* Vision Grid */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.vision-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.vision-card:hover {
    transform: translateY(-10px);
}

.vision-icon {
    width: 70px;
    height: 70px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--holding-accent);
}

.vision-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    color: var(--holding-primary);
}

/* Companies Section */
.section-companies {
    background: var(--light-bg);
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.company-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 5px solid var(--company-color, var(--holding-primary));
}

.company-header {
    padding: 30px 30px 20px;
    text-align: center;
}

.company-logo {
    width: 60px;
    height: 60px;
    background: var(--company-color, var(--holding-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--white);
    font-size: 24px;
}

.company-header h3 {
    font-family: var(--font-heading);
    color: var(--company-color, var(--holding-primary));
    margin-bottom: 10px;
}

.company-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--light-bg);
    color: var(--company-color, var(--holding-primary));
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.company-body {
    padding: 0 30px;
}

.company-description {
    margin-bottom: 20px;
    color: var(--light-text);
}

.company-services {
    list-style: none;
    margin-bottom: 25px;
}

.company-services li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 20px;
}

.company-services li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--company-color, var(--holding-primary));
    font-weight: bold;
}

.company-footer {
    padding: 20px 30px;
    background: var(--light-bg);
    text-align: center;
}

.btn-company {
    display: inline-block;
    padding: 10px 25px;
    background: var(--company-color, var(--holding-primary));
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-company:hover {
    background: var(--holding-secondary);
    transform: translateY(-2px);
}

/* Integration Message */
.integration-message {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    gap: 30px;
}

.integration-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--holding-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.integration-content h3 {
    font-family: var(--font-heading);
    color: var(--holding-primary);
    margin-bottom: 10px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

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

.contact-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-card-header {
    padding: 20px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-card-header i {
    font-size: 24px;
}

.contact-card-header h4 {
    font-family: var(--font-heading);
    margin: 0;
}

.contact-card-body {
    padding: 20px;
}

.contact-card-body p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-form h3 {
    font-family: var(--font-heading);
    color: var(--holding-primary);
    margin-bottom: 30px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 15px;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--holding-accent);
}

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

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

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

.footer-logo .logo-symbol.small {
    width: 40px;
    height: 40px;
}

.footer-description {
    opacity: 0.8;
    margin-bottom: 25px;
    line-height: 1.6;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

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

.footer-col h4 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

.footer-legal {
    font-size: 12px;
    margin-top: 10px;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .integration-message {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }
    
    .holding-nav {
        order: 3;
        width: 100%;
        margin-top: 20px;
    }
    
    .holding-nav .nav-main {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 60px 0;
    }
}