@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredericka+the+Great&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary: #ed0018;
    --primary-dark: #c40014;
    --primary-light: #ff6b6b;
    --secondary: #2d3748;
    --accent: #f8f9fa;
    --text: #333333;
    --text-light: #6c757d;
    --border: #e2e8f0;
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #ed0018 0%, #ff6b6b 100%);
    --gradient-light: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}


/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Hero Section dengan Glassmorphism */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #b80000 0%, #630000 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 20%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: white;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.discount-text{
    color: yellow;
    font-size: 2rem;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 50px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.cta-button.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(237, 0, 24, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-button.secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

.cta-button.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
}

.cta-button.outline {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-button.outline:hover {
    background: white;
    color: var(--primary);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-product {
    position: relative;
    width: 500px;
    height: 500px;
}

.product-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--glass);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    animation: float 15s ease-in-out infinite;
}

.product-circle img{
    width: 700px;
    height: auto;
}

.product-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(237, 0, 24, 0.3) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

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

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: rgba(255, 255, 255, 0.5);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(10px); opacity: 1; }
}

/* Hero Image Section */
.hero-slider {
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: 60px 20px;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 850px;
    height: 500px;
    background-color: #333;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

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

.prev, .next {
    display: none;
    width: 60px;
    height: 60px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.623);
    color: white;
    border: none;
    font-size: 1.3rem;
    padding: 0.3em 0.6em;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.prev:hover, .next:hover {
    background-color: #555;
}

.prev { left: 10px; }
.next { right: 10px; }

/* Featured Products */
.featured-products {
    background-color: #f3f3f3;
    padding: 80px 20px;
    text-align: center;
}

.featured-products h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.products-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 320px;
    height: 400px;
    transition: transform 0.25s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.product-card h3 {
    font-weight: 550;
    font-size: 18px;
    margin: 10px;
    height: 90px;
    text-align: left;
}

.product-card p {
    font-size: 16px;
    font-weight: 600;
    color: #ff0000;
    text-align: left;
    margin: 10px;
}

/* Why Shop With Us */
.why-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 1rem;
    text-align: center;
}

.why-section-title{
    font-size: 2rem;
}

.why-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 30px;
}

.why-card {
    flex: 1 1 calc(25% - 2rem);
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.why-card:hover {
    transform: translateY(-8px);
}

.why-card i {
    font-size: 2.5rem;
    color: #ed0018;
    margin-bottom: 15px;
}

.why-card p {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

/* Testimonials */
.testimonials {
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.testimonial-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.testimonial {
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 20px;
    max-width: 300px;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 10px;
    height: 150px;
}

.testimonial h4 {
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background-color: #ed0018;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 40px 20px;
}

.flex-product img {
    height: 600px;
    width: 600px;
    max-width: 100%;
    transition: transform ease 0.15s;
}

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

.right-panel {
    text-align: center;
    color: white;
    padding: 20px;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-section a {
    font-size: 18px;
    color: #ed0018;
    background-color: white;
    border-radius: 75px;
    font-weight: 600;
    cursor: pointer;
    height: 60px;
    width: 200px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-section a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ===================== */
/*     RESPONSIVE FIXES  */
/* ===================== */

/* Tablets (≤1024px) */
@media (max-width: 1024px) {

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-actions{
        justify-self: center;
    }

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

    .floating-product {
        position: relative;
        width: 400px;
        height: 400px;
    }

    .products-container {
        max-width: 90%;
        gap: 1.5rem;
    }

    .product-card {
        width: 280px;
        height: 380px;
    }

    .why-card {
        flex: 1 1 calc(50% - 1rem);
    }

    .slider-container {
        height: 400px;
    }

    .flex-product img {
        width: 300px;
        height: 300px;
    }

    .product-circle img{
    width: 600px;
    height: auto;
}
}

@media (max-width: 768px){
    .floating-product {
        position: relative;
        width: 300px;
        height: 300px;
    }
}

/* Smartphones (≤576px) */
@media (max-width: 576px) {

    .hero-section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .title-line{
        padding-left: 17%;
        padding-right: 17%;
        font-size: 1.8rem;
    }

    .floating-product {
        position: relative;
        width: 300px;
        height: 300px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .discount-text{
        font-size: 1.4rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }

    .product-circle img{
        width: 400px;
        height: auto;
    }

    .hero-slider {
        padding: 40px 10px;
    }

    .slider-container {
        height: 200px;
        width: 100%;
    }

    .featured-products{
        padding: 0;
        margin-top: 50px;
    }

    .featured-products h2 {
        font-size: 1.8rem;
    }

    .products-container{
        padding: 0;
        margin-bottom: 50px;
        display: grid;
        grid-template-columns: repeat(2,1fr);
    }

    .product-card {
        width: 100%;
        height: auto;
    }

    .product-card img {
        height: auto;
    }

    .product-card h3{
        font-size: 13px;
    }

    .product-card p{
        font-size: 0.9rem;
    }

    .why-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .why-card {
        flex: 1 1 100%;
    }

    .testimonial-container {
        flex-direction: column;
        align-items: center;
    }

    .cta-section {
        flex-direction: column;
        text-align: center;
    }

    .flex-product img {
        width: 250px;
        height: 250px;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}

@media (max-width: 395px){
    .title-line{
        padding-left: 15%;
        padding-right: 15%;
        font-size: 1.7rem;
    }

    .hero-subtitle{
        font-size: 1rem;
    }

    .product-card h3{
        font-size: 0.8rem;
    }

    .product-card p{
        font-size: 0.7rem;
    }
}

@media (max-width: 360px){
    .title-line{
        padding-left: 12%;
        padding-right: 12%;
        font-size: 1.7rem;
    }

    .hero-subtitle{
        font-size: 0.9rem;
    }
}

/* Small Phones (≤480px) */
/* @media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .hero-slider {
        padding: 20px 5px;
    }

    .slider-container {
        height: 220px;
    }

    .featured-products {
        padding: 50px 10px;
    }

    .product-card {
        width: 100%;
        margin: 0 auto;
    }
    .cta-section a {
        width: 160px;
        height: 50px;
        font-size: 16px;
    }

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

    .title-line{
        font-size: 32px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

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

    .floating-product {
        width: 180px;
        height: 180px;
    }
} */


