body {
    font-family: 'Vazir', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    direction: rtl;
    line-height: 1.6;
    color: #2c3e50;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 20px;
}

header {
    background: linear-gradient(135deg, #1a237e, #3949ab);
    color: #fff;
    padding: 25px 0;
    text-align: center;
    border-bottom: 4px solid #4fc3f7;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.1) 50%, transparent 55%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.header-content h1 {
    margin: 0;
    font-size: 2.5em;
    font-weight: 300;
    letter-spacing: 1.5px;
    text-transform: none;
    font-family: 'Vazir', sans-serif;
    line-height: 1.4;
}

.intro {
    background: #ffffff;
    padding: 30px;
    margin-top: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-radius: 12px;
}

.intro a {
    display: inline-block;
    margin: 10px;
    padding: 15px 30px;
    background: #1976d2;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

.intro a:hover {
    background: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.video-container {
    margin-top: 20px;
    text-align: center;
}

.video-container video {
    max-width: 100%;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-info {
    background: #e3f2fd;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-radius: 12px;
    font-size: 1.2em;
    color: #1a237e;
}

.navigation-links {
    margin-top: 20px;
    text-align: center;
}

.navigation-links a {
    display: inline-block;
    margin: 10px;
    padding: 12px 24px;
    background: #3949ab;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navigation-links a:hover {
    background: #283593;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile Styles */
@media (max-width: 768px) {
    body {
        font-size: 14px; /* Adjust base font size */
    }
    .container {
        width: 95%; /* More flexible width */
        padding: 10px; /* Less padding */
    }
    .intro a {
        padding: 10px 6px; /* Smaller buttons */
        font-size: 1em; /* Smaller text */
    }
    .navigation-links a {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}

/* Add these styles */
.action-buttons {
    text-align: center;
    padding: 5px 0;
    margin: 0 auto;
    background: #f8f9fa;
}

.action-btn {
    display: inline-block;
    margin: 0 8px;
    padding: 12px 24px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 150px;
}

.action-btn:hover {
    background: #222;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Update mobile styles */
@media (max-width: 768px) {
    .action-btn {
        padding: 8px 16px;
        font-size: 0.9em;
        margin: 5px;
    }
}

/* Make cart button black only on index page */
body:not([class*="product"]) .view-cart {
    background: #333 !important;
}

body:not([class*="product"]) .view-cart:hover {
    background: #222 !important;
}

.enamad-container-index {
    text-align: center;
    margin: 30px 0;
}

/* Simplified footer styles */
.footer {
    background: #e3f2fd;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    position: relative;
}

.footer-content {
    text-align: center;
}

/* Unified styling for all footer text */
.footer-content h2, 
.footer-content p {
    color: #2c3e50;  /* Deep blue-grey color for all text */
    line-height: 1.8;
}

/* Heading style */
.footer-content h2 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 18px;
}

/* Regular text */
.footer-content p {
    font-size: 1.1em;
    margin: 8px 0;
}

/* Phone number - same color but monospace for better number readability */
.footer-content p:nth-child(3) {
    font-family: 'Vazir', monospace;
    letter-spacing: 0.5px;
    margin: 12px 0;
}

/* Company name - same color but bold */
.footer-content p:last-child {
    font-weight: 600;
    margin-top: 20px;
}

.footer-enamad {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

/* Mobile styles */
@media (max-width: 768px) {
    .footer-content {
        margin-bottom: 30px;
    }
    
    .footer-enamad {
        position: static;
        transform: none;
        text-align: center;
        margin-top: 30px;
    }
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.header-logo {
    width: 24px;
    height: 32px;
    object-fit: contain;
    vertical-align: middle;
    margin: 0 -2px;
    display: inline-block;
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 1.6em; /* Slightly smaller font */
        letter-spacing: 0.5px; /* Reduce letter spacing */
        line-height: 1.3;
    }

    .header-logo {
        width: 16px; /* Slightly smaller logo */
        height: 22px;
    }
    
    .latin-brand {
        margin-right: 8px;
        letter-spacing: 0.5px;
        display: inline-block;
    }
    
    .latin-brand::before {
        right: -4px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .header-content h1 {
        font-size: 1.4em; /* Even smaller font for very small devices */
    }
    
    /* Optional: Adjust product title layout for very small screens */
    .product-page .header-content h1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .product-page .latin-brand::before {
        display: none; /* Remove separator when stacked */
    }
}

/* Add this to your existing styles */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.separator {
    opacity: 0.5;
    margin: 0 10px;
    font-weight: 200;
}

.latin-brand {
    font-weight: 300;
    letter-spacing: 2px;
    margin-right: 15px;
    opacity: 0.9;
    position: relative;
    white-space: nowrap; /* Prevent Bellano from breaking */
    display: inline-block;
}

.latin-brand::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%);
}

/* Ensure mobile responsiveness */
@media (max-width: 768px) {
    .latin-brand {
        margin-right: 10px;
        letter-spacing: 1px;
    }
    
    .latin-brand::before {
        right: -5px;
    }
}
