/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif;
    background-color: #ffffff;
    color: #333333;
    direction: rtl;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== DECORATIVE SHAPES ===== */
.shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

.shape-1 {
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    background: linear-gradient(180deg, #f5f5f5 0%, transparent 100%);
    clip-path: polygon(0 0, 100% 0, 60% 100%, 0 100%);
}

.shape-2 {
    top: 30%;
    right: 0;
    width: 200px;
    height: 400px;
    background: #f5f5f5;
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
}

.shape-3 {
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: #f0f0f0;
    clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    border-bottom: 1px solid #eee;
}

.header-icons {
    display: flex;
    gap: 20px;
}

.icon-link {
    font-size: 18px;
    color: #333;
}

.icon-link:hover {
    color: #477b7b;
}

.logo-text {
    font-family: 'Vazirmatn', serif;
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 8px;
    color: #999;
}

.logo-text span {
    color: #c9a55c;
}

.header-links {
    display: flex;
    gap: 30px;
    font-size: 13px;
    color: #666;
}

.header-links a:hover {
    color: #477b7b;
}

/* Main Navigation */
.main-nav {
    padding: 15px 50px;
    background: #fff;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 50px;
    list-style: none;
}

.main-nav a {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    padding: 10px 0;
    position: relative;
}

.main-nav a:hover {
    color: #477b7b;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
    margin-top: 120px;
}

.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to left, rgba(0,0,0,0.4) 0%, transparent 60%);
}

.slide-content {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    text-align: right;
    z-index: 2;
}

.slide-content h1 {
    font-size: 48px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.btn-outline {
    display: inline-block;
    padding: 12px 50px;
    border: 2px solid #333;
    background: transparent;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-outline:hover {
    background: #477b7b;
    border-color: #477b7b;
    color: #fff;
}

.slide-content .btn-outline {
    border-color: #fff;
    color: #fff;
    background: transparent;
}

.slide-content .btn-outline:hover {
    background: #fff;
    color: #333;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.3);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.5);
}

.slider-arrow.prev {
    right: 30px;
}

.slider-arrow.next {
    left: 30px;
}

/* ===== BRANDS SECTION ===== */
.brands-section {
    position: relative;
    padding: 80px 50px;
    background: #fff;
    z-index: 1;
}

.brands-slider {
    display: flex;
    gap: 40px;
    transition: transform 0.5s ease;
}

.brand-card {
    flex: 0 0 calc(50% - 20px);
    display: flex;
    align-items: center;
    gap: 40px;
    background: #fff;
}

.brand-image {
    flex: 0 0 50%;
    overflow: hidden;
    border-radius: 10px;
}

.brand-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.brand-card:hover .brand-image img {
    transform: scale(1.05);
}

.brand-info {
    flex: 1;
    padding: 20px;
    text-align: right;
}

.brand-info h2 {
    font-size: 36px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

.brand-info p {
    font-size: 14px;
    color: #888;
    margin-bottom: 25px;
}

.brands-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.brands-arrow:hover {
    background: #477b7b;
    border-color: #477b7b;
    color: #fff;
}

.brands-arrow.prev {
    right: 10px;
}

.brands-arrow.next {
    left: 10px;
}

/* ===== CATEGORIES SECTION ===== */
.categories-section {
    position: relative;
    padding: 80px 50px;
    background: #fff;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .subtitle {
    font-size: 14px;
    letter-spacing: 4px;
    color: #888;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 8px;
    margin-top: 5px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    text-align: center;
}

.category-image {
    overflow: hidden;
    border-radius: 15px;
}

.category-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-item:hover .category-image img {
    transform: scale(1.1);
}

.category-item span {
    display: block;
    padding: 15px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* ===== TEAM SECTION ===== */
.team-section {
    position: relative;
    padding: 60px 0;
    z-index: 1;
}

.team-image img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    filter: grayscale(100%);
}

/* ===== SERVICES SECTION ===== */
.services-section,
.exclusive-services-section {
    position: relative;
    padding: 80px 50px;
    background: #fff;
    z-index: 1;
}

.services-section h2,
.exclusive-services-section h2 {
    font-size: 32px;
    font-weight: 400;
    text-align: center;
    color: #888;
    margin-bottom: 50px;
}

.services-grid,
.exclusive-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.service-card {
    flex: 0 0 200px;
    text-align: center;
    padding: 40px 25px;
    background: #f8f8f8;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: #f0f0f0;
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 32px;
    color: #999;
}

.service-card h3 {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 12px;
    color: #999;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    padding: 60px 50px 30px;
    background: #fff;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-newsletter {
    flex: 0 0 400px;
}

.footer-newsletter h4 {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    margin-bottom: 30px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    background: #fff;
    font-family: inherit;
    font-size: 13px;
}

.newsletter-form button {
    padding: 12px 25px;
    background: #477b7b;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #3a6666;
}

.social-follow {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-follow span {
    font-size: 13px;
    color: #666;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    font-size: 16px;
    color: #666;
}

.social-icons a:hover {
    color: #477b7b;
}

.language-select {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-select span {
    font-size: 13px;
    color: #666;
}

.language-select select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    background: #fff;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    font-size: 13px;
    color: #666;
}

.footer-column a:hover {
    color: #477b7b;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.footer-logo {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo span {
    font-size: 36px;
    font-weight: 300;
    color: #ddd;
    letter-spacing: 5px;
}

.footer-logo span.gold {
    color: #c9a55c;
}

.footer-bottom p {
    font-size: 12px;
    color: #999;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .brand-card {
        flex: 0 0 100%;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .header-top,
    .main-nav {
        padding: 15px 20px;
    }
    
    .main-nav ul {
        gap: 25px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-links {
        order: -1;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .hero-slider {
        height: 60vh;
        margin-top: 180px;
    }
    
    .slide-content h1 {
        font-size: 32px;
    }
    
    .brands-section,
    .categories-section,
    .services-section,
    .exclusive-services-section {
        padding: 40px 20px;
    }
    
    .brand-card {
        flex-direction: column;
    }
    
    .brand-image {
        width: 100%;
    }
    
    .brand-image img {
        height: 300px;
    }
    
    .service-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        flex: 0 0 100%;
    }
    
    .slide-content h1 {
        font-size: 26px;
    }
}