/* ===========================
   New Madi Jewellers - CSS Styles
   Gold & White Theme with Nepali-inspired Patterns
   ========================== */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* App Notifications (removed in simplified build) */

/* Floating Price Alert Button removed */

/* Search toggle removed */


/* Badge for newly uploaded items */
.badge-new {
  display: inline-block;
  background: linear-gradient(135deg, #FFD700, #B8860B);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 8px;
  vertical-align: middle;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #7f7979;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    color: #B8860B;
    margin-bottom: 1rem;
    position: relative;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #B8860B);
    margin: 0 auto 1rem;
    position: relative;
}

.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #FFD700;
    border-radius: 50%;
    top: -2.5px;
}

.section-divider::before { left: -15px; }
.section-divider::after { right: -15px; }

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(184, 134, 11, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
    background-color: #0f0505da;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFD700, #B8860B);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.brand-text h1 {
    font-size: 1.8rem;
    color: #B8860B;
    margin-bottom: 0;
}

.brand-text p {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #999595;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #B8860B;
    background: rgba(255, 215, 0, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #B8860B;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgb(255, 255, 255);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.8) 0%, 
        rgba(184, 134, 11, 0.9) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="nepali-pattern" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><path d="M20,50 L80,50 M50,20 L50,80" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23nepali-pattern)"/></svg>');
    z-index: -2;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: blur(2px) brightness(0.7)   contrast(1.5) saturate(1.7) grayscale(0.5);
}

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

.hero-content {
    position: relative;
    z-index: 1;
    min-width:100%;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, #FFD700, #B8860B);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.6s both;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, #B8860B, #FFD700);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #fafafa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature i {
    font-size: 2rem;
    color: #B8860B;
    margin-top: 0.2rem;
}

.feature h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #666;
    font-size: 0.95rem;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Ornaments Section */
.ornaments {
    padding: 6rem 0;
    background: white;
}

/* View Toggle */
.view-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.view-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: #f8f9fa;
    border-color: #007bff;
    color: #007bff;
}

.view-btn.active {
    background: #007bff;
    border-color: #007bff;
    color: white;
}

.view-btn i {
    font-size: 16px;
}

/* View Content */
.view-content {
    transition: all 0.3s ease;
}

.view-content.hidden {
    display: none !important;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.tab-button {
    padding: 12px 24px;
    background: transparent;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-width: auto;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFD700, #B8860B);
    transition: left 0.3s ease;
    z-index: -1;
}

.tab-button:hover::before,
.tab-button.active::before {
    left: 0;
}

.tab-button:hover,
.tab-button.active {
    border-color: #FFD700;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.tab-button:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #B8860B;
    transform: translateY(-1px);
}

.tab-button.active {
    background: linear-gradient(135deg, #FFD700, #B8860B);
    color: white;
}

.ornaments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    grid-auto-flow: row dense;
    align-items: stretch;
    margin-top: 3rem;
}

.ornament-card {
    background: #2f2f2f;
    border-radius: 15px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.ornament-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: relative;
    height: 380px;
    overflow: hidden;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Make images appear clickable for full view */
.ornaments .card-image img {
    cursor: zoom-in;
}

.ornament-card:hover .card-image img {
    transform: scale(1.1);
}

/* Dark overlay over images to improve text contrast */
.ornaments .card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    pointer-events: none;
}

/* Center title and category over the image */
.ornaments .ornament-card .card-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 24px;
    text-align: center;
    pointer-events: none; /* allow clicks to pass through except for CTA */
}

.ornaments .ornament-card .card-content h3 {
    color: #fff;
    font-size: 1.8rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.ornaments .ornament-card .card-content p { display: none; }

.ornaments .category-tag {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 999px;
    letter-spacing: 0.35em;
    font-weight: 500;
    padding: 6px 12px;
    margin-bottom: 12px;
}

/* Make the CTA visible and styled like the screenshot */
.ornaments .card-overlay {
    opacity: 1;
    background: transparent;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 36px;
    z-index: 2;
    pointer-events: auto;
}

.ornaments .view-btn {
    background: #dbe8c7;
    color: #222;
    border-radius: 10px;
    padding: 14px 28px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(0,0,0,0.2);
    cursor: pointer;
    position: relative;
    z-index: 3;
}

.ornaments .view-btn:hover {
    transform: translateY(-3px);
    background: #d0e1b7;
}

/* Image Placeholders */
.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.placeholder-text {
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.gold-placeholder {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #8B4513;
}

.silver-placeholder {
    background: linear-gradient(135deg, #E5E5E5 0%, #C0C0C0 100%);
    color: #666;
}

.diamond-placeholder {
    background: linear-gradient(135deg, #F8F8FF 0%, #E6E6FA 100%);
    color: #4B0082;
}

.traditional-placeholder {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    color: #FFF;
}

.bridal-placeholder {
    background: linear-gradient(135deg, #FFB6C1 0%, #FF69B4 100%);
    color: #8B008B;
}

.ornament-card:hover .image-placeholder {
    transform: scale(1.05);
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.1) 0px,
        rgba(255,255,255,0.1) 2px,
        transparent 2px,
        transparent 10px
    );
    pointer-events: none;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(184, 134, 11, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ornament-card:hover .card-overlay {
    opacity: 1;
}

.view-btn {
    background: white;
    color: #B8860B;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: #FFD700;
    color: white;
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.card-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.category-tag {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #FFD700, #B8860B);
    color: white;
    font-size: 0.8rem;
    border-radius: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Specific Category Tag Styles */
.category-tag.gold-tag {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #8B4513;
}

.category-tag.silver-tag {
    background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
    color: #2F2F2F;
}

.category-tag.diamond-tag {
    background: linear-gradient(135deg, #E6E6FA, #DDA0DD);
    color: #4B0082;
}

.category-tag.traditional-tag {
    background: linear-gradient(135deg, #DC143C, #B22222);
    color: white;
}

.category-tag.bridal-tag {
    background: linear-gradient(135deg, #FF69B4, #FF1493);
    color: white;
}

.ornament-card:hover .category-tag {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* (Removed responsive rules for old price section) */

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: #fafafa;
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 3.5rem;
    color: #FFD700;
    font-family: 'Playfair Display', serif;
}

.stars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.stars i { color: #FFD700; font-size: 1.1rem; }

.testimonial-card p {
    color: #555;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 { color: #333; font-size: 1.05rem; margin-bottom: 0.2rem; }
.author-info span { color: #666; font-size: 0.9rem; }

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #fafafa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.contact-info {
    display: grid;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.info-item i {
    font-size: 1.5rem;
    color: #B8860B;
    margin-top: 0.2rem;
}

.info-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-item p {
    color: #666;
    line-height: 1.5;
}

.info-item a {
    color: #B8860B;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.submit-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #FFD700, #B8860B);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #B8860B, #FFD700);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
}

.map-container {
    margin-top: 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section li {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #FFD700;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-logo h3 {
    color: #FFD700;
    font-size: 1.5rem;
}

.footer-logo p {
    font-style: italic;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    color: #FFD700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #FFD700;
    color: #333;
    transform: translateY(-2px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: #FFD700;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
}

.footer-bottom i {
    color: #FF6B6B;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ornaments-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .tab-button {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* removed: .price-cards (unused) */
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .brand-text h1 {
        font-size: 1.4rem;
    }
    
    .ornaments-grid {
        grid-template-columns: 1fr;
    }
    
    .ornament-card {
        margin: 0 10px;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .about-features {
        gap: 1rem;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
    }
}

/* Ornament Card Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ornament-card.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

.ornament-card.filter-in {
    animation: slideInRight 0.5s ease forwards;
}

.ornaments-grid .ornament-card {
    opacity: 0;
    transform: translateY(30px);
}

.ornaments-grid .ornament-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-gold { color: #B8860B; }
.bg-gold { background: linear-gradient(135deg, #FFD700, #B8860B); }
.shadow { box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }
.rounded { border-radius: 10px; }

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #FFD700;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Print Styles */
@media print {
    .header,
    .hamburger,
    .cta-button,
    .view-btn,
    .submit-btn {
        display: none;
    }
    
    .hero {
        height: auto;
        padding: 2rem 0;
    }
    
    * {
        box-shadow: none !important;
    }
}

/* Image Lightbox */
.lightbox[hidden] {
    display: none !important;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
    animation: lightboxFadeIn 200ms ease-out both;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* Enhanced lightbox layout */
.lightbox-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    max-width: 1100px;
    width: 100%;
    align-items: stretch;
}

.lightbox-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-info {
    background: #111;
    color: #eee;
    border-radius: 10px;
    padding: 18px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.lightbox-title {
    margin: 0 0 8px;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.lightbox-meta {
    margin-bottom: 12px;
}

.lightbox-category {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    letter-spacing: 0.2em;
    font-size: 12px;
    color: #f5f5f5;
}

.lightbox-desc {
    color: #ddd;
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .lightbox-content {
        grid-template-columns: 1fr;
        max-width: 92vw;
    }
    .lightbox-image {
        max-width: 92vw;
        max-height: 60vh;
    }
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.1s ease;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.25);
}

.lightbox-close:active {
    transform: scale(0.98);
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}