* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Yekan', 'Yekan Bakh', 'IRANYekan', Tahoma, sans-serif;
}

body {
    background-color: #0f0f0f;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #ffffff;
}

.section-title span {
    color: #d4af37;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 6%;
    background-color: #1a1a1a;
    border-bottom: 2px solid #d4af37;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 30px; 
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Mobile Hamburger Toggle Icon */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #d4af37;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar nav ul {
    display: flex;
    list-style: none;
}

.navbar nav ul li {
    margin: 0 15px;
}

.navbar nav ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: 0.3s;
}

.navbar nav ul li a:hover {
    color: #d4af37;
}

.logo h2 {
    color: #ffffff;
    font-size: 24px;
}

.logo span {
    color: #d4af37;
}

.header-socials {
    margin-top: 0 !important;
    gap: 12px !important;
}

.header-socials a {
    width: 20px !important;
    height: 20px !important;
}

.header-socials a svg {
    width: 20px !important;
    height: 20px !important;
}

.btn-call {
    background-color: #d4af37;
    color: #000000;
    padding: 6px 14px; 
    font-size: 13px;    
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-call:hover {
    background-color: #ffffff;
}

.hero {
    min-height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('../images/hero1.webp') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    text-align: center;
    padding: 60px 20px 80px 20px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 60vh;
    width: 100%;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

.hero-content p {
    font-size: 18px;
    color: #dddddd;
    margin-bottom: 30px;
}

/* Position Hero Buttons at the Very Bottom */
.hero-buttons {
    margin-top: auto; 
    display: flex;
    justify-content: center; 
    gap: 15px;
    width: 100%;
}

.btn-primary {
    background-color: #d4af37;
    color: #000000;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 5px;
    display: inline-block;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #ffffff;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #d4af37;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin: 5px;
    display: inline-block;
    transition: 0.3s;
}

.btn-secondary:hover {
    background-color: #d4af37;
    color: #000000;
}

.services {
    padding: 10px 8% 80px 8%;
    background-color: #0f0f0f;
    position: relative;
    z-index: 10;
    margin-top: 60px; 
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
}

.service-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    padding: 10px 15px;  
    min-height: 280px;  
    
    display: flex;
    flex-direction: column;
    align-items: center;
    
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.4);
    
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    transition: all 0.4s ease;

    filter: brightness(1.5); 

}

.service-card .icon {
    font-size: 40px;
    margin-bottom: 5px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.9));
}

.service-card h3 {
    color: #d4af37;
    font-size: 22px;
    background: rgba(0, 0, 0, 0.7);
    padding: 6px 18px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.service-card p {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    
    margin-top: auto;
    
    background: rgba(0, 0, 0, 0.75);
    padding: 12px 15px;
    border-radius: 8px;
    width: 100%;
}

.service-card:hover {
    border-color: #d4af37;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.35);
    filter: brightness(1.8);

}

.portfolio {
    padding: 80px 8%;
    background-color: #141414;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.portfolio-item {
    height: 220px;
    background-color: #1a1a1a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #d4af37;
    transition: 0.3s;
}

.portfolio-item:hover {
    background-color: #252525;
    cursor: pointer;
    transform: translateY(-5px);
}

.portfolio-box {
    text-align: center;
}

.portfolio-box h3 {
    color: #ffffff;
    margin-bottom: 5px;
}

.portfolio-box p {
    color: #d4af37;
}

.why-us {
    padding: 0px 8% 80px 8%; 
    background-color: #0f0f0f;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.why-box {
    background-color: #1a1a1a;
    padding: 25px;
    border-radius: 8px;
    border-right: 4px solid #d4af37;
    transition: 0.3s;
}

.why-box:hover {
    background-color: #222222;
}

.why-box h3 {
    color: #d4af37;
    margin-bottom: 10px;
}

.why-box p {
    color: #aaaaaa;
    font-size: 14px;
}

.contact {
    padding: 80px 8%;
    background-color: #141414;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info h3 {
    color: #d4af37;
    margin-bottom: 15px;
    font-size: 22px;
}

.contact-info p {
    color: #cccccc;
    margin-bottom: 20px;
}

.info-item {
    margin-bottom: 12px;
    color: #dddddd;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    background-color: #1f1f1f;
    border: 1px solid #333;
    border-radius: 5px;
    color: #ffffff;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #d4af37;
}

.footer {
    text-align: center;
    padding: 20px;
    background-color: #1a1a1a;
    border-top: 1px solid #333;
    color: #888888;
    font-size: 14px;
}

.footer strong {
    color: #d4af37;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    align-items: center;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    color: #d4af37; 
    transition: all 0.3s ease;
}

.social-icons a svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.social-icons a:hover {
    color: #ffffff; 
    transform: translateY(-3px);
}

/* Responsive Media Query for Mobile Devices */
@media (max-width: 768px) {

    /* Show Mobile Hamburger Button */
    .menu-toggle {
        display: flex;
    }

    .navbar {
        flex-direction: row;
        justify-content: space-between;
        padding: 12px 4%;
    }

    .navbar-right {
        gap: 15px;
    }

    /* Collapsible Dropdown Navigation */
    .navbar nav {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background-color: #1a1a1a;
        border-bottom: 2px solid #d4af37;
        display: none;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);
    }

    .navbar nav.active {
        display: block;
    }

    .navbar nav ul {
        flex-direction: column;
        padding: 15px 0;
        align-items: center;
    }

    .navbar nav ul li {
        margin: 10px 0;
    }

    .navbar-left {
        width: auto;
        gap: 10px;
    }

    .header-socials {
        gap: 8px !important;
    }

    .hero {
        min-height: 80vh;
        padding: 40px 15px 60px 15px;
    }

    .hero-content {
        min-height: 60vh;
    }

    .hero-content h1 {
        font-size: 24px;
        line-height: 1.4;
    }

    .hero-content p {
        font-size: 13.5px;
    }

    /* Hero Buttons at the Very Bottom on Mobile */
    .hero-buttons {
        margin-top: auto;
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        margin: 0;
    }

    .services {
        padding: 0 5% 40px 5%;
        margin-top: -30px;
    }

    .services-container,
    .portfolio-grid,
    .why-grid,
    .contact-container {
        grid-template-columns: 1fr; 
        gap: 20px;
    }

    /* Brighter Card Background Photos on Mobile */
    .service-card {
        min-height: 280px;
        filter: brightness(2.0);
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .portfolio, .why-us, .contact {
        padding: 35px 5%;
    }
}