﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}




/* تنظیمات فونت و استایل مشابه Holcim */
:root {
    --holcim-blue: #002f6c; /* رنگ سازمانی فرضی */
    --holcim-red: #e30613;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Hero Section Style */
/*.hero-section {
    height: 90vh;*/
    /*background: url('../assets/images/home/main-banner.jpg') no-repeat center center;*/
    /*background-size: cover;
    position: relative;
    margin-top: -1.5rem;*/ /* خنثی کردن فاصله پیش‌فرض لایوت */
/*}*/

/*.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
}

[dir="rtl"] .hero-overlay {
    background: linear-gradient(to left, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
}*/

.btn-custom {
    border-radius: 0; /* Holcim از گوشه‌های تیز استفاده می‌کند */
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--holcim-red);
    border-color: var(--holcim-red);
}

.navbar {
    padding: 1rem 0;
    background-color: #fff !important;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -1px;
}



.dropdown-item.active,
.dropdown-item:active {
    background-color: #f1f3f5;
    color: #0d6efd;
    font-weight: 600;
}

/* ==========================================================================
   Holcim Corporate Theme Styling
   ========================================================================== */

:root {
    --holcim-green: #008752; /* رنگ سبز پایداری Holcim */
    --holcim-blue: #002f6c; /* سورمه‌ای شرکتی */
    --holcim-dark: #121820;
    --holcim-gray: #f8f9fa;
}

body.holcim-theme {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #212529;
    background-color: #ffffff;
}

/* Header & Brand */
.corporate-header {
    background-color: #ffffff !important;
    transition: all 0.3s ease;
}

.corporate-logo {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: var(--holcim-blue) !important;
}

.text-primary-brand {
    color: var(--holcim-green) !important;
}

.btn-primary-brand {
    background-color: var(--holcim-green);
    color: #ffffff;
    border: none;
    transition: background-color 0.2s ease-in-out;
}

    .btn-primary-brand:hover {
        background-color: #006b40;
        color: #ffffff;
    }

/* Nav Links */
.corporate-nav .nav-link {
    color: var(--holcim-blue) !important;
    font-size: 0.95rem;
    padding: 0.5rem 1.2rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .corporate-nav .nav-link:hover {
        color: var(--holcim-green) !important;
    }

/* Dropdown Language Switcher */
.dropdown-item.active,
.dropdown-item:active {
    background-color: #e9ecef;
    color: var(--holcim-green) !important;
    font-weight: 600;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--holcim-green);
}

/* Footer Styling */
.corporate-footer {
    background-color: var(--holcim-dark) !important;
}

.footer-links a {
    text-decoration: none;
    transition: color 0.2s ease;
}

    .footer-links a:hover {
        color: #ffffff !important;
    }

/* Clean Sharp Corporate Look */
.rounded-0 {
    border-radius: 0 !important;
}





/* Hero Section Enhancements */
.hero-wrapper {
    height: 100vh;
    min-height: 600px;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4); /* تیره کردن تصویر برای خوانایی متن */
}

.hero-title {
    font-size: calc(2rem + 3vw);
    line-height: 1.1;
    letter-spacing: -2px;
}

/* Corporate Cards Effect */
.corporate-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    min-height: 320px;
}

    .corporate-card:hover {
        background-color: var(--holcim-blue) !important;
        transform: translateY(-10px);
    }

        .corporate-card:hover h3,
        .corporate-card:hover p,
        .corporate-card:hover .btn-link {
            color: #ffffff !important;
        }

.border-bottom-brand {
    border-bottom: 2px solid var(--holcim-green);
    transition: all 0.3s ease;
}

.corporate-card:hover .border-bottom-brand {
    border-bottom-color: #ffffff;
}

/* Utilities */
.py-100 {
    padding: 100px 0;
}

.mt-minus-lg {
    margin-top: -50px;
}

.tracking-wider {
    letter-spacing: 2px;
}

.z-index-10 {
    z-index: 10;
}

.floating-stat {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 200px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

[dir="rtl"] .floating-stat {
    left: auto;
    right: -30px;
}

/* Object Fit for Images */
.object-fit-cover {
    object-fit: cover;
}
