/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0a0a0a;
    --secondary-color: #d4af37;
    --gold-light: #f4d03f;
    --gold-dark: #b8941f;
    --accent-color: #1a1a1a;
    --accent-light: #2a2a2a;
    --text-dark: #0a0a0a;
    --text-light: #b8b8b8;
    --text-white: #ffffff;
    --white: #ffffff;
    --dark-bg: #0f0f0f;
    --dark-card: #1a1a1a;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
    --shadow-lg: 0 10px 40px rgba(212, 175, 55, 0.2);
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--dark-bg);
}

/* Amharic font support - using system fonts that support Ethiopic script */
[lang="am"] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Noto Sans Ethiopic', 'Nyala', 'Abyssinica SIL', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary-color), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--gold-light));
    transition: var(--transition);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.nav-link:hover::after {
    width: 100%;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0;
    margin-right: 1rem;
    background: var(--dark-card);
    border-radius: 25px;
    padding: 2px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.lang-btn:hover {
    color: var(--secondary-color);
    background: rgba(212, 175, 55, 0.1);
}

.lang-btn.active {
    background: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-white);
    padding: 0.5rem;
    position: relative;
    transition: var(--transition);
}

.icon-btn:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.menu-toggle {
    display: none;
}

/* Hero Section */
/* To change the hero background image:
   1. Place your image in 'images/hero' folder
   2. Update the url below to: url('images/hero/your-image.jpg')
   3. Or use an online URL
*/
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.85), rgba(212, 175, 55, 0.2)),
                url('images/hero/hero1.JPG') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.7), rgba(212, 175, 55, 0.1));
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-white), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--gold-light));
    color: var(--primary-color);
    box-shadow: var(--shadow-gold);
    font-weight: 600;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-gold);
}

/* Collection Section */
.collection {
    padding: 5rem 0;
    background: var(--dark-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-white), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background: var(--dark-card);
    border: 2px solid rgba(212, 175, 55, 0.3);
    color: var(--text-white);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--secondary-color), var(--gold-light));
    color: var(--primary-color);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-gold);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--dark-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
    animation: fadeIn 0.5s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-gold);
    border-color: rgba(212, 175, 55, 0.4);
}

.product-image {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, var(--dark-card), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--gold-light));
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary-color), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.add-to-cart {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--gold-light));
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.add-to-cart:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--secondary-color));
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--dark-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.about-image img {
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.05);
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--dark-card), var(--accent-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--dark-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--dark-card);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary-color), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.price-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--accent-color);
    border-radius: 5px;
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.price-item:hover {
    transform: translateX(5px);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    border-left-color: var(--gold-light);
    background: var(--accent-light);
}

.service-name {
    font-weight: 500;
    color: var(--text-white);
    flex: 1;
}

.service-price {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.price-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 1rem;
    text-align: center;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--dark-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--dark-card);
    color: var(--text-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.info-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-family: Georgia, 'Times New Roman', serif;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: var(--shadow-gold);
}

.modal-content h2 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--secondary-color);
}

#searchInput {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 1rem;
    background: var(--accent-color);
    color: var(--text-white);
}

#searchInput:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

#searchResults {
    min-height: 200px;
}

/* Fabric Gallery Modal */
.fabric-gallery-modal {
    max-width: 1200px;
    width: 95%;
    max-height: 90vh;
}

.fabric-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
}

.fabric-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
    padding: 1rem 0;
}

.fabric-item {
    background: var(--accent-color);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

/* Image Lightbox */
.lightbox-content {
    background: var(--dark-card);
    padding: 0;
    border-radius: 10px;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    position: relative;
    animation: slideDown 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: var(--shadow-gold);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lightboxImage {
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.lightbox-info {
    padding: 1.5rem;
    text-align: center;
    width: 100%;
    background: var(--accent-color);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.lightbox-info h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.product-image {
    cursor: pointer;
    transition: var(--transition);
}

.product-image:hover {
    opacity: 0.9;
}

.fabric-image {
    cursor: pointer;
    transition: var(--transition);
}

.fabric-image:hover {
    opacity: 0.9;
}

.fabric-item:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

.fabric-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--dark-card), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.fabric-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.fabric-item:hover .fabric-image img {
    transform: scale(1.1);
}

.fabric-info {
    padding: 1rem;
    text-align: center;
}

.fabric-info h4 {
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.fabric-price {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1rem;
}

.fabric-collection-card {
    position: relative;
}

.fabric-collection-card::after {
    content: 'Click to view all';
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(212, 175, 55, 0.9);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    transition: var(--transition);
}

.fabric-collection-card:hover::after {
    opacity: 1;
}

.chiffon-group-card {
    position: relative;
}

.chiffon-group-card::after {
    content: 'Click to view styles';
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(212, 175, 55, 0.9);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    transition: var(--transition);
}

.chiffon-group-card:hover::after {
    opacity: 1;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-white);
}

.cart-total {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-total p {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark-card);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        border-top: 1px solid rgba(212, 175, 55, 0.2);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .language-switcher {
        margin-right: 0.5rem;
    }

    .lang-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .fabric-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .fabric-gallery-modal {
        width: 98%;
        max-height: 95vh;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

