:root {
    --dark-color: #0d3a37;
    --light-text: #f0f0f0;
    --font-family: 'Vazirmatn', sans-serif;
    --vh: 1vh;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    color: var(--light-text);
    background-color: var(--dark-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
#main-content-wrapper { padding-top: 100vh; position: relative; z-index: 20; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.main-header { position: fixed; top: 0; left: 0; width: 100%; padding: 20px 0; z-index: 100; background-color: transparent; -webkit-transition: background-color 0.4s ease; transition: background-color 0.4s ease; }
.main-header.scrolled { background-color: var(--dark-color); border-bottom: 1px solid rgba(255,255,255,0.1); }
.main-nav { display: flex; justify-content: flex-end; align-items: center; }
.nav-menu { list-style: none; display: flex; gap: 30px; margin: 0; }
.nav-menu a { color: var(--light-text); text-decoration: none; font-size: 1rem; }
#dynamic-text-container { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 50; color: white; text-decoration: none; will-change: transform, opacity; white-space: nowrap; text-align: center; transition: transform 0.1s linear, opacity 0.1s linear; }
#dynamic-text-container h1 { font-size: clamp(50px, 9vw, 120px); letter-spacing: -0.02em; font-weight: 900; text-transform: uppercase; margin: 0; padding: 0; }
.hero-background-section { position: fixed; top: 0; left: 0; width: 100%; height: calc(var(--vh, 1vh) * 100); background: url('img/1.JPG') no-repeat center center/cover; z-index: 10; display: flex; justify-content: center; align-items: flex-end; }
.hero-background-section::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.3); z-index: 11; }
.hero-subtext { position: relative; z-index: 12; color: white; text-align: center; font-size: clamp(12px, 1.5vw, 18px); margin-bottom: 5vh; text-shadow: 1px 1px 10px rgba(0,0,0,0.7); transition: opacity 0.3s ease; }
.content-section { padding: 100px 0; text-align: center; background-color: var(--dark-color); }
.section-title { font-size: 2.5rem; margin-bottom: 50px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.feature-card { background-color: rgba(255,255,255,.05); padding: 30px; border-radius: 10px; }
.feature-card .icon { font-size: 2.5rem; display: block; margin-bottom: 15px; }
.main-footer { background-color: var(--dark-color); padding: 80px 0 30px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 40px; align-items: start; }
.footer-column { line-height: 1.8; }
.footer-logo { max-width: 120px; margin-bottom: 20px; }
.footer-column h4 { font-size: 1.5rem; margin-bottom: 20px; }
.footer-column p { color: #ccc; margin-bottom: 15px; font-size: .9rem; }
.footer-column p strong { font-weight: 500; color: var(--light-text); }
.contact-link, .map-link { color: #ccc; text-decoration: none; transition: color .2s ease; }
.contact-link:hover, .map-link:hover { color: #fff; }
.map-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .9rem; }
.socials-column { text-align: center; }
.footer-social-icons { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; }
.footer-social-icons a { color: #fff; text-decoration: none; transition: transform .2s ease; }
.footer-social-icons a:hover { transform: scale(1.1); }
.footer-bottom { text-align: center; margin-top: 60px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; color: #999; }
.footer-bottom p { margin-bottom: 10px; }
.developer a { color: #ccc; text-decoration: none; }
.page-content { background-color: var(--dark-color); padding: 120px 0 80px 0; }
.page-title { text-align: center; font-size: 3rem; margin-bottom: 60px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.product-card { background-color: rgba(255, 255, 255, .05); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--light-text); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); }
.product-card img { width: 100%; height: 250px; object-fit: cover; display: block; }
.product-info { padding: 20px; text-align: right; }
.product-info h3 { font-size: 1.5rem; margin-bottom: 10px; }
.product-info .price { font-size: 1.2rem; font-weight: bold; color: #4CAF50; }
.product-detail-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.product-gallery img { width: 100%; border-radius: 10px; }
.product-specs h3 { font-size: 1.8rem; margin-top: 40px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 10px; }
.product-specs ul { list-style-position: inside; padding-right: 0; }
.product-specs p, .product-specs ul li { font-size: 1.1rem; line-height: 1.8; }
.about-content { max-width: 800px; margin: 0 auto; text-align: right; line-height: 2; font-size: 1.1rem; }
.about-content p { margin-bottom: 20px; }
.footer-seals { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 40px; }
.footer-seals a { display: inline-block; transition: transform 0.3s ease; }
.footer-seals a:hover { transform: scale(1.05); }
.footer-seals img { height: 44px; width: auto; background-color: white; border-radius: 8px; padding: 5px; }
@media (max-width: 768px) {
    .features-grid, .footer-grid { grid-template-columns: 1fr; }
    .features-grid { gap: 30px; }
    .footer-grid { text-align: center; }
    .main-nav { flex-direction: row; }
    .nav-menu { display: none; }
    .section-title { font-size: 2rem; }
    .footer-column h4 { font-size: 1.2rem; }
    .map-link { justify-content: center; }
    .footer-logo { margin-left: auto; margin-right: auto; }
    .page-title { font-size: 2.2rem; }
    .product-detail-container { grid-template-columns: 1fr; }
}
[data-animate] { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
[data-animate].visible { opacity: 1; transform: translateY(0); }