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

body {
    font-family: 'EB Garamond', serif;
    background: white;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.ruler-title,
.carousel-title,
.badge-title {
    font-family: 'Lora', serif;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 2px solid #000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

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

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 6px;
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
}

.coupon-text {
    font-family: 'EB Garamond', serif;
    font-size: 28px;
    font-weight: 700;
    color: #000;
    line-height: 1;
    letter-spacing: 0.5px;
}

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

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #000;
}

.main {
    margin-top: 70px;
}

.carousel-section {
    background: #000; 
    height: 500px; 
    position: relative;
    overflow: hidden;
}

.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    animation: fadeIn 0.5s ease-in;
}

.carousel-slide.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.carousel-image {
    position: absolute;
    top: 20px; 
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    height: 250px;
    object-fit: contain;
    border-radius: 8px;
}

.carousel-title {
    position: absolute;
    top: 280px; 
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    font-size: 2.8em;
    z-index: 10;
    margin-bottom: 20px;
    font-weight: 600;
    color: white;
}

.carousel-title.title-medium {
    font-size: 2.2em;
}

.carousel-title.title-small {
    font-size: 1.8em;
}

.carousel-description {
    position: absolute;
    top: 350px; 
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
    font-family: "Lora", serif;
}

.carousel-button {
    position: absolute;
    top: 420px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    background: white;
    color: #000;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1em;
    transition: all 0.3s ease;
    border: 2px solid white;
    font-family: "Lora", serif;
}

.carousel-button:hover {
    background: #000;
    color: white;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.2);
}

.carousel-nav {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5); 
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: white; 
    transform: scale(1.2);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.95);
    color: #000;
    border: 2px solid #000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5em;
    transition: all 0.3s ease;
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

.carousel-arrow:hover {
    background: #000;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

.ruler-divider {
    position: relative;
    height: 2px;
    background: #000;
    margin: 60px auto;
    max-width: 1200px;
}

.ruler-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 0 30px;
    font-size: 2.5em;
    font-weight: 600;
    color: #000;
}

.badge-section {
    padding: 80px 20px;
    position: relative;
}

.badge-section:nth-child(even) {
    background: #f8f8f8;
}

/* Show More Button Container */
.show-more-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 60px auto 0;
    max-width: 600px;
}

.show-more-line {
    flex: 1;
    height: 1px;
    background: #000;
}

.show-more-button {
    font-family: 'Lora', serif;
    font-size: 1.3em;
    font-weight: 600;
    color: #000;
    background: white;
    border: 2px solid #000;
    padding: 12px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.show-more-button:hover {
    background: #000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.section-title {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 60px;
    color: #1a1a1a;
    font-weight: 600;
}

.badge-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    justify-content: center;
}

.badge-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

.badge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    border-color: #000;
}

.badge-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

.badge-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.badge-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 18px;
    color: #1a1a1a;
}

.badge-description {
    color: #555;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1.05em;
    font-family: "Lora", serif;
}

.badge-button {
    display: inline-block;
    background: #000;
    color: white;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #000;
    font-family: "Lora", serif;
}

.badge-button:hover {
    background: white;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}


#popular-stores .badge-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: none;
}

#popular-stores .badge-card {
    flex: 0 0 auto;
    min-width: 400px;
    max-width: 500px;
    margin: 0;
}

.footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 20px 30px;
    margin-top: 80px;
}

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

/* Social Section with Lines */
.footer-social-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.footer-top-line,
.footer-bottom-line {
    height: 1px;
    background: white;
    width: 100%;
    max-width: 1200px;
}

.footer-top-line {
    margin-bottom: 30px;
}

.footer-bottom-line {
    margin-top: 30px;
}

/* Social Row: Logo + Follow us + Icons */
.footer-social-row {
    display: flex;
    align-items: center;
    gap: 80px;
    width: 100%;
    max-width: 1200px;
    justify-content: space-around;
}

/* Footer Logo */
.footer-logo {
    flex-shrink: 0;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1); /* Make logo white */
}

/* Follow us + Icons Container */
.footer-social-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-social-title {
    font-family: 'EB Garamond', serif;
    font-size: 1.1em;
    color: white;
    text-align: left;
}

.footer-social-icons {
    display: flex;
    gap: 25px;
    align-items: center;
}

.footer-social-icons a {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    line-height: 0;
}

.footer-social-icons a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

.footer-social-icons img {
    width: 30px;
    height: 30px;
    display: block;
    filter: brightness(0) invert(1); /* Make icons white */
}

/* Text Links Row */
.footer-links-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.footer-links-row a {
    color: white;
    text-decoration: none;
    font-family: 'EB Garamond', serif;
    font-size: 1.1em;
    transition: opacity 0.3s ease;
}

.footer-links-row a:hover {
    opacity: 0.7;
}


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

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .carousel-section {
        height: 400px; 
    }
    
    .carousel-image {
        height: 180px; 
        top: 15px;
    }
    
    .carousel-title {
        top: 210px;
        font-size: 1.8em;
        padding: 0 20px;
        line-height: 1.2;
    }
    
    .carousel-title.title-medium {
        font-size: 1.5em;
    }
    
    .carousel-title.title-small {
        font-size: 1.3em;
    }
    
    .carousel-description {
        top: 270px;
        font-size: 1em;
        padding: 0 20px;
    }
    
    .carousel-button {
        top: 320px;
        padding: 10px 20px;
        font-size: 0.9em;
    }
    
    .carousel-nav {
        bottom: 15px;
    }
    
    .section-title {
        font-size: 2em;
        padding: 0 20px;
        word-wrap: break-word;
    }
    
    .ruler-title {
        font-size: 1.3em;
        padding: 0 15px;
        word-wrap: break-word;
    }
    
    .badge-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .carousel-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.3em;
        background: #000;
        color: white;
        border: 2px solid #000;
    }
    
    .badge-section {
        padding: 60px 20px;
    }
    

    #popular-stores .badge-grid {
        gap: 25px;
    }
    
    #popular-stores .badge-card {
        min-width: 280px;
        max-width: 100%;
    }
    
    .badge-content {
        padding: 20px;
    }
    
    .badge-title {
        font-size: 1.3em;
    }
    
    .badge-description {
        font-size: 0.95em;
    }
    
    .footer {
        padding: 30px 20px 20px;
        margin-top: 60px;
    }
    
    .footer-social-row {
        flex-direction: column;
        gap: 25px;
    }
    
    .footer-logo-image {
        height: 60px;
    }
    
    .footer-social-icons {
        gap: 20px;
    }
    
    .footer-social-icons img {
        width: 25px;
        height: 25px;
    }
    
    .footer-links-row {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-links-row a {
        font-size: 1em;
    }
    
    .footer-top-line,
    .footer-bottom-line {
        max-width: 100%;
    }
    
    .show-more-container {
        gap: 20px;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .show-more-button {
        font-size: 1.1em;
        padding: 10px 30px;
    }
}

@media (max-width: 480px) {
    .carousel-title {
        font-size: 1.5em;
    }
    
    .carousel-description {
        font-size: 0.9em;
    }
    
    .section-title {
        font-size: 1.8em;
    }
    
    .ruler-title {
        font-size: 1.2em;
    }
    
    .badge-grid {
        grid-template-columns: 1fr;
    }
    
    .badge-content {
        padding: 15px;
    }
}