 /* فونت دانا */
@font-face {
    font-family: 'Dana';
    src: url('../fonts/DanaFaNum-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Dana';
    src: url('../fonts/DanaFaNum-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Dana', sans-serif;
}

:root {
    --primary-dark: #0A3D2F; /* سبز لجنی تیره */
    --primary: #1A5D46;
    --primary-light: #2A7D5E;
    --accent: #D4AF37; /* طلایی رولکس */
    --accent-light: #E8C96A;
    --light: #F8F9FA;
    --dark: #212529;
    --gray: #6C757D;
    --light-gray: #E9ECEF;
    --transition: all 0.3s ease;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* هدر و نویگیشن */
header {
    background-color: rgba(10, 61, 47, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
}

.logo-icon {
    color: var(--accent);
    font-size: 28px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

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

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

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

.btn-primary:hover {
    background-color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(212, 175, 55, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}



/* فوتر */
footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 70px 0 30px;
}

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

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--accent-light);
}

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

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

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

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

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

 /* input invalid */
 .is-invalid{
     border-color:#dc3545 !important;
     box-shadow:0 0 0 3px rgba(220,53,69,.15);
 }

 /* error text */
 .invalid-feedback{
     margin-top:6px;
     font-size:13px;
     color:#dc3545;
 }

/* ریسپانسیو */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }
    .hero-image-placeholder{
        width: 80%;
        height: 200px;
    }

    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-buttons {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-title h2 {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 150px 0 80px;
    }

    .services, .portfolio, .contact {
        padding: 60px 0;
    }

    .service-card, .portfolio-item, .contact-form {
        width: 100%;
        padding: 20px;
    }
}
