:root {
    /* Colors */
    --primary: #cba258; /* Elegant Gold */
    --primary-dark: #b38c44;
    --secondary: #2c3e50; /* Deep Blue/Gray */
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-en: 'Inter', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-en);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

/* General Typography */
p, a, span, .btn, .nav-links a {
    font-family: var(--font-en);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(203, 162, 88, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: var(--white);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.4);
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-links a,
.navbar.scrolled .hamburger i {
    color: var(--text-dark);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--white);
    font-family: var(--font-en);
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary);
    font-family: var(--font-en);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-bg-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 6s linear;
    transform: scale(1.05);
}

.hero-bg-slider .slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin-top: 60px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Search Bar */
.search-container {
    position: relative;
    max-width: 400px;
    margin: 20px auto 15px;
}

.search-input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    font-family: var(--font-en);
    font-size: 1rem;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
    background: transparent;
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(203, 162, 88, 0.2);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    transition: var(--transition);
}

.search-input:focus + .search-icon {
    color: var(--primary);
}

/* Category Filter */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 25px;
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    font-family: var(--font-en);
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.product-card.hide {
    display: none;
}

/* Utilities */
.mt-4 {
    margin-top: 2rem;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.product-img {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    bottom: 0;
}

.btn-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--white);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
}

.btn-icon:hover {
    background: var(--primary);
    color: var(--white);
}

.product-info {
    padding: 25px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.product-info .price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
    font-family: var(--font-en);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.features-list {
    list-style: none;
    margin-bottom: 40px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--secondary);
}

.features-list i {
    color: var(--primary);
    font-size: 1.2rem;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    animation: float 6s ease-in-out infinite;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer */
.footer {
    background-color: var(--secondary);
    color: var(--white);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-info h3 {
    font-size: 2rem;
    font-family: var(--font-en);
    margin-bottom: 20px;
}

.footer-info span {
    color: var(--primary);
    font-family: var(--font-en);
}

.footer-info p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 25px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links ul, .footer-contact ul {
    list-style: none;
}

.footer-links li, .footer-contact li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: rgba(255,255,255,0.7);
}

.footer-contact i {
    color: var(--primary);
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-bg-slider .slide {
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .category-filter {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 6px 16px;
        font-size: 0.9rem;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: var(--transition);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        color: var(--text-dark);
        font-size: 1.2rem;
    }
    
    .navbar.scrolled .hamburger i {
        color: var(--text-dark);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .footer {
        padding-top: 50px;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-en);
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.loader-logo span {
    color: var(--primary);
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(203, 162, 88, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Quick View Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--white);
    width: 90%;
    max-width: 1000px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    border: none;
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.modal-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-light);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    opacity: 0.6;
}

.thumbnail:hover {
    opacity: 1;
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--primary);
}

.modal-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info h2 {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.modal-price {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    font-family: var(--font-en);
    margin-bottom: 25px;
}

.modal-desc h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.modal-desc p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1rem;
}

.modal-meta {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    margin-bottom: 10px;
}

.meta-item:last-child {
    margin-bottom: 0;
}

.meta-label {
    font-weight: 600;
    width: 100px;
    color: var(--secondary);
}

.meta-value {
    color: var(--text-light);
    flex: 1;
}

.w-100 {
    width: 100%;
    text-align: center;
}

.mt-2 {
    margin-top: 10px;
}

/* Mobile Modal */
@media (max-width: 992px) {
    .modal-grid {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 25px;
    }
    
    .main-image {
        height: 300px;
    }
}

.clickable-img {
    cursor: pointer;
}

/* Contact Options in Modal */
.contact-options {
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.contact-options.hidden {
    display: none;
}

.contact-options p {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--secondary);
    font-family: var(--font-en);
}

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

.contact-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-email { 
    background-color: #ea4335; 
    color: white; 
}
.btn-email:hover { 
    background-color: #c53024; 
    color: white; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 10px rgba(234, 67, 53, 0.3); 
}

.btn-facebook { 
    background-color: #1877F2; 
    color: white; 
}
.btn-facebook:hover { 
    background-color: #145dbf; 
    color: white; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 10px rgba(24, 119, 242, 0.3); 
}

.btn-telegram { 
    background-color: #0088cc; 
    color: white; 
}
.btn-telegram:hover { 
    background-color: #006699; 
    color: white; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 10px rgba(0, 136, 204, 0.3); 
}

.btn-phone { 
    background-color: var(--secondary); 
    color: white; 
}
.btn-phone:hover { 
    background-color: #1a252f; 
    color: white; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 10px rgba(44, 62, 80, 0.3); 
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Fullscreen Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 11000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 11001;
}

.lightbox-close:hover {
    transform: scale(1.2) rotate(90deg);
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lightbox.active img {
    transform: scale(1);
}

/* Make main modal image zoomable */
.main-image img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.main-image:hover img {
    transform: scale(1.02);
}
