/* General Styles */
:root {
    --primary-color: #d4a373;
    --secondary-color: #3a3a3a;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Vazirmatn', sans-serif; /* You may need to add this font to your project */
    margin: 0;
    line-height: 1.6;
    background-color: var(--light-color);
    color: var(--secondary-color);
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--dark-color);
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero-bg.jpg') no-repeat center center/cover;
    height: 100vh;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
}

.hero-content p {
    font-size: 1.2rem;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--dark-color);
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #b98b5a;
}


/* Sections */
section {
    padding: 4rem 0;
    text-align: center;
}

section h2 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

/* About Section */
#about {
    background: #fff;
}

/* Services */
.service-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.service-box {
    background: #fff;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Portfolio */
.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}
.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.portfolio-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    opacity: 0;
    transition: opacity 0.4s;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}
.portfolio-item:hover .overlay {
    opacity: 1;
}


/* Contact Section */
#contact {
    background-color: var(--secondary-color);
    color: #fff;
}

#contact a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}