/* ==========================================================================
   JUBILEE CLOTH HOUSE - Stylesheet
   Theme: Pakistani Textile Elegance (Emerald Green & Gold Accents)
   ========================================================================== */

:root {
    --primary-emerald: #047857;
    --primary-dark: #064e3b;
    --emerald-light: #ecfdf5;
    --gold-accent: #d97706;
    --gold-light: #fef3c7;
    --gold-hover: #b45309;
    --ruby-accent: #991b1b;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 24px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* Typography & General Buttons */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.section-tagline {
    display: inline-block;
    color: var(--gold-accent);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto 30px;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-lg {
    padding: 15px 32px;
    font-size: 1.05rem;
}

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

.btn-emerald:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-gold:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--primary-dark);
    color: #cbd5e1;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.announcement-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.announcement-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.wa-top-btn {
    color: #4ade80;
    font-weight: 600;
}

.wa-top-btn:hover {
    color: var(--white);
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-emerald), var(--primary-dark));
    color: var(--gold-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border-radius: var(--radius-sm);
}

.brand-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.1;
}

.brand-sub {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--gold-accent);
    font-weight: 700;
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    padding: 6px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--gold-accent);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-emerald);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(rgba(6, 78, 59, 0.88), rgba(6, 78, 59, 0.92)),
                url('https://images.unsplash.com/photo-1607082348824-0a96f2a4b9da?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 100px 0 90px;
}

.hero-content {
    max-width: 780px;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.rating-badge .stars {
    color: #fbbf24;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;

}

.hero-subtitle {
    font-size: 1.2rem;
    color: #e2e8f0;
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #f1f5f9;
}

.feature-item i {
    color: var(--gold-accent);
    font-size: 1.2rem;
}

/* Quick Info Bar */
.quick-info-bar {
    background-color: var(--white);
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background-color: var(--emerald-light);
    color: var(--primary-emerald);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-details h4 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.info-details p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.status-pill.open {
    background-color: #dcfce7;
    color: #15803d;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;

    text-transform: uppercase;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

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

.about-image-wrapper {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-experience-card {
    position: absolute;
    bottom: -25px;
    right: -20px;
    background: var(--primary-dark);
    color: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--gold-accent);
}

.exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--gold-accent);
    font-weight: 700;
}

.exp-text {
    font-size: 0.85rem;
    color: #cbd5e1;
}

.about-text {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.highlight-box {
    display: flex;
    gap: 12px;
}

.highlight-box i {
    font-size: 1.4rem;
    color: var(--primary-emerald);
    margin-top: 3px;
}

.highlight-box h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.highlight-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Collections & Catalog Section */
.collections-section {
    padding: 90px 0;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 22px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

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

.catalog-search-wrapper {
    max-width: 500px;
    margin: 0 auto 40px;
}

.search-input-box {
    position: relative;
}

.search-input-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input-box input {
    width: 100%;
    padding: 12px 16px 12px 46px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    background-color: var(--bg-light);
}

.search-input-box input:focus {
    border-color: var(--primary-emerald);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(4, 120, 87, 0.1);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(4, 120, 87, 0.2);
}

.product-img-holder {
    position: relative;
    height: 280px;
    overflow: hidden;
    background-color: #f1f5f9;
}

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

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

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background-color: var(--primary-dark);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.product-badge.gold {
    background-color: var(--gold-accent);
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.8rem;
    color: var(--gold-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.product-title {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.product-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.price-tag {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-emerald);
}

.price-unit {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: normal;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 0.85rem;
}

/* Modal Styling */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.product-modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 800px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: var(--transition);
}

.product-modal.open .modal-content {
    transform: translateY(0);
}

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

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-img-col {
    height: 100%;
    max-height: 420px;
}

.modal-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info-col {
    padding: 30px;
}

/* Reviews Section */
.reviews-section {
    padding: 90px 0;
    background-color: var(--bg-light);
}

.overall-rating-display {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    padding: 16px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-top: 10px;
}

.big-score {
    font-size: 2.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary-dark);
}

.score-stars {
    color: #fbbf24;
    font-size: 1.1rem;
    text-align: left;
}

.review-count {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 4px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 45px;
}

.review-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    background: var(--emerald-light);
    color: var(--primary-emerald);
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviewer-name {
    font-size: 1rem;
    color: var(--text-dark);
}

.reviewer-stars {
    color: #fbbf24;
    font-size: 0.85rem;
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
    flex-grow: 1;
}

.review-date {
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 600;
}

/* Location Section */
.location-section {
    padding: 90px 0;
}

.location-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-details-list {
    margin: 30px 0;
}

.contact-detail-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-detail-item i {
    font-size: 1.3rem;
    color: var(--primary-emerald);
    margin-top: 4px;
}

.contact-detail-item strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.contact-detail-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.location-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.map-card-container {
    background: var(--emerald-light);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 2px dashed var(--primary-emerald);
}

.map-placeholder {
    background: var(--primary-dark);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 50px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.map-badge i {
    font-size: 3rem;
    color: var(--gold-accent);
    margin-bottom: 16px;
}

.map-badge h3 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.map-badge p {
    color: #cbd5e1;
    margin-bottom: 25px;
}

.map-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold-accent);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
}

.map-link-btn:hover {
    background: var(--gold-hover);
}

/* Footer */
.footer {
    background-color: #022c22;
    color: #94a3b8;
    padding-top: 70px;
}

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

.footer-logo .brand-name {
    color: var(--white);
}

.footer-brand p {
    margin: 16px 0 20px;
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.footer-socials a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials a:hover {
    background: var(--gold-accent);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--gold-accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--gold-accent);
}

.footer-col p {
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    font-size: 0.85rem;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

.floating-tooltip {
    position: absolute;
    right: 70px;
    background: var(--text-dark);
    color: var(--white);
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.floating-whatsapp:hover .floating-tooltip {
    opacity: 1;
}

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

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow-md);
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-img-col {
        height: 220px;
    }
}
