← back to Glassbeadedwallpaper

styles.css

672 lines

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

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    color: #000000;
}

/* Header */
.header {
    background: #000000;
    border-bottom: 1px solid #e0e0e0;
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #cccccc;
    margin-top: 6px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Navigation */
.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #cccccc;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.main-nav a:hover {
    color: #ffffff;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s ease;
}

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

.mobile-menu-toggle {
    display: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #ffffff;
}

/* Hero Section */
.hero {
    /* fallback for slow image load */
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.7)),
                url('https://cdn.shopify.com/s/files/1/0015/4117/7456/files/BDL_1867_S_4e513baa-cc29-45e7-b8ed-f0d6ed0098df.jpg?v=1738861591&width=2000');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 120px 40px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Rotating product-image carousel behind hero text */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}
.hero-bg__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    will-change: opacity;
}
.hero-bg__slide.is-active { opacity: 1; }
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.7));
    pointer-events: none;
}

.hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 56px;
    color: #FFFFFF;
    margin-bottom: 24px;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #FFFFFF;
    max-width: 750px;
    margin: 0 auto 36px;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.8;
    letter-spacing: 0.3px;
}

.product-count {
    font-family: 'Montserrat', sans-serif;
    background: #000000;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 2px;
    color: #ffffff;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 1px;
    border: 1px solid #ffffff;
}

.product-count-hero {
    font-family: 'Montserrat', sans-serif;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #000000;
    display: inline-block;
    padding: 14px 32px;
    border-radius: 2px;
    color: #000000;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Fire Rating Badge in Hero */
.fire-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000000;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    border: 2px solid #ffffff;
}

.fire-rating-badge svg {
    color: #ffffff;
}

/* Fire Rating Notice Section */
.fire-rating-notice {
    background: #ffffff;
    color: #000000;
    padding: 40px 40px;
    margin-top: -20px;
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.notice-icon {
    font-size: 48px;
    flex-shrink: 0;
    color: #000000;
}

.notice-text {
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.3px;
    color: #000000;
}

.notice-text strong {
    font-weight: 700;
    font-size: 18px;
    display: block;
    margin-bottom: 12px;
    color: #000000;
}

/* Main Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    background: #ffffff;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: #000000;
}

.product-image {
    width: 100%;
    height: 320px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

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

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

.product-image.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Fire Rating Badge on Card */
.fire-rating-badge-card {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #000000;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #ffffff;
    z-index: 10;
}

.fire-rating-badge-card svg {
    width: 14px;
    height: 14px;
    color: #ffffff;
}

.product-info {
    padding: 18px;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff 0%, #f9f9f9 100%);
}

.product-sku {
    font-size: 13px;
    color: #888;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.product-name {
    font-size: 15px;
    color: #000000;
    margin-top: 6px;
    font-weight: 600;
    line-height: 1.4;
    min-height: 42px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-category {
    font-size: 12px;
    color: #666666;
    margin-top: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-link {
    font-size: 13px;
    color: #000000;
    margin-top: 12px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.product-card:hover .product-link {
    color: #666666;
}

/* Loading State */
.loading-message {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 18px;
    grid-column: 1 / -1;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #000000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Instagram Section */
.instagram-section {
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    padding: 80px 0;
    margin-top: 40px;
}

.instagram-section h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 42px;
    color: #000000;
    text-align: center;
    margin-bottom: 16px;
}

.instagram-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
}

.instagram-feed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.instagram-placeholder {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.instagram-placeholder a {
    color: #000000;
    font-weight: 600;
    text-decoration: none;
}

.instagram-follow-btn {
    display: inline-block;
    background: #000000;
    color: white;
    padding: 16px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    display: block;
    width: fit-content;
}

.instagram-follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: #000000;
    color: white;
    padding: 80px 40px 40px;
    margin-top: 100px;
    border-top: 1px solid #333333;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 50px;
}

.footer-section h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-section p {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
    color: #cccccc;
    font-size: 14px;
    font-weight: 300;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    font-family: 'Montserrat', sans-serif;
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
    font-weight: 300;
}

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

.footer-bottom {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #2a2a3e;
    color: #888;
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .product-image {
        height: 280px;
    }
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .product-image {
        height: 260px;
    }

    .hero h1 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 15px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-image {
        height: 200px;
    }

    .header-content {
        padding: 0 20px;
    }

    .header-left {
        width: 100%;
        justify-content: space-between;
    }

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding-top: 20px;
        border-top: 1px solid #2a2a3e;
    }

    .main-nav.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .notice-content {
        flex-direction: column;
        text-align: center;
    }

    .notice-icon {
        font-size: 36px;
    }

    .fire-rating-badge {
        font-size: 12px;
        padding: 10px 20px;
    }

    .instagram-section h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-image {
        height: 300px;
    }
}