/* ----------------- GLOBAL ----------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f0f0f0;
    font-family: 'Titillium Web', sans-serif;
}

.container {
    padding: 0 10px;
    width: 100% !important;
    margin-bottom: 70px !important;
}

/* ----------------- SCROLL UP BUTTON ----------------- */
#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 50px;
    z-index: 999;
    font-size: 22px;
    border: none;
    background-color: #eee;
    color: #000;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
}

#myBtn::before {
    content: "\2191";
    font-size: 22px;
}

#myBtn:hover {
    background-color: #fff;
}

/* ----------------- DEVICE SIMULATOR ----------------- */
#device-simulator {
    transition: all 0.4s ease-in-out;
    background: #fff;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 100vh;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ----------------- NAVBAR ----------------- */
.navbar-custom {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.navbar-brand img {
    height: 70px;
}

.navbar-nav .nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 10px;
    color: #333;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #db1717;
}

.device-icons i {
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.device-icons i:hover {
    transform: scale(1.2);
    color: #0dcaf0;
}

/* ----------------- HERO SECTION ----------------- */
#hero {
    position: relative;
    height: 100vh;
    background: url("../images/logo.jpg") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

#hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.6), rgba(30, 30, 30, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1.5s ease;
    padding: 20px;
}

.hero-title {
    font-size: 80px;
    font-weight: bold;
    letter-spacing: 2px;
    font-family: "Tagesschrift", sans-serif;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.hero-btn {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 12px 35px;
    border-radius: 5px;
    text-decoration: none;
    background: #111;
    color: #fff;
    transition: all 0.4s ease;
}

.hero-btn:hover {
    background: linear-gradient(135deg, #0072ff, #00c6ff);
    transform: translateY(-4px) scale(1.05);
}

/* Responsive Hero */
@media (max-width: 992px) {
    .hero-title {
        font-size: 50px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .device-icons {
        display: none !important;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----------------- STORE SECTION ----------------- */
.title-text h2 {
    padding-top: 90px !important;
    font-size: 80px !important;
    color: #111;
    font-family: 'Tagesschrift', sans-serif;
    text-align: center;
    margin-bottom: 10px;
}

#store p {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Scrollable Row */
.scroll-container {
    display: flex;
    flex-wrap: nowrap;          
    /* overflow-x: auto;           
    scroll-behavior: smooth;    
    -webkit-overflow-scrolling: touch;  */
    gap: 1rem;
    padding: 1rem;
    /* scroll-snap-type: x mandatory;  */
}

.scroll-container::-webkit-scrollbar {
    display: none; 
}

/* Product Card */
.product-card {
    flex: 0 0 auto;             
    width: 230px;               
    background: #efefef;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    position: relative;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    scroll-snap-align: start;   
}

.product-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);
}

/* Responsive Adjustments */

/* Tablets */
@media (max-width: 992px) {
    .product-card {
        width: 200px;
    }
}

/* Small Tablets / Large Phones */
@media (max-width: 768px) {
    .product-card {
        width: 180px;
    }
}

/* Mobile Phones: 1-2 cards peek */
@media (max-width: 576px) {
    .product-card {
        width: 70%;        /* show 1 full card + part of next */
        min-width: 150px;  /* prevent it from getting too small */
    }

    .scroll-container {
        padding: 0.5rem;
        gap: 0.75rem;
    }
}


/* Tablets */
@media (max-width: 992px) {
    .product-card {
        width: 200px;
    }
}

/* Small Tablets / Large Phones */
@media (max-width: 768px) {
    .product-card {
        width: 180px;
    }
}
/* Mobile Phones */
@media (max-width: 576px) {
    .product-card {
        width: 150px;
    }
    .scroll-container {
        padding: 0.5rem;
        gap: 0.75rem;
    }
}

/* Top Section: Badge + Heart */
.card-top {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
}

.badge-new {
    background: #fff;
    border: 1.5px solid red;
    color: red;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.fav-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 8px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #ff4d4f;
    font-size: 1.2rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.fav-icon:hover {
    transform: scale(1.15);
    color: #e60023;
}

/* Product Image */
.product-img {
    width: 100%;
    border-radius: 0.8rem;
    margin-top: 2.2rem;
    object-fit: fill;
    filter: brightness(1.15);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.product-card:hover .product-img {
    filter: brightness(1.25);
    transform: scale(1.04);
}

/* Quick Buy Button */
.quick-buy-btn {
    background: #000;
    color: #fff;
    border: none;
    margin-top: 5px !important;
    border-radius: 0 8px 0 8px;
    padding: 8px 20px;
    width: 80%;
    font-weight: 600;
    transition: background 0.3s ease;
}

.quick-buy-btn:hover {
    background: #333;
}

/* Product Info */
.product-info {
    margin-top: 0.6rem;
}

.product-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 3px;
}

.product-price {
    font-weight: 700;
    font-size: 1rem;
    color: #db1717;
}

/* ✅ Mobile Responsiveness */
@media (max-width: 768px) {
    h1.hero-title {
        font-size: 22px !important;
    }

    h2.text-center {
        font-size: 22px !important;
    }

    .scroll-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-left: 0.8rem;
        padding-right: 0.8rem;
        gap: 0.8rem;
    }

    .product-card {
        width: 46vw;
        /* Two products per view */
        min-width: 180px;
        margin-right: 0.4rem;
        transform: scale(0.98);
    }

    .product-card:hover {
        transform: scale(1.02);
    }

    .product-img {
        margin-top: 1.8rem;
        filter: brightness(1.18);
    }

    .badge-new {
        font-size: 0.65rem;
        padding: 2px 6px;
    }

    .fav-icon {
        padding: 5px 7px;
    }
}

/* ----------------- ABOUT US ----------------- */
#about {
    background: linear-gradient(180deg, #f9f9f9 0%, #ffffff 100%);
    color: #333;
    padding: 80px 0;
    padding-top: 40px;
}

.about-image-wrapper img {
    width: 100%;
    border-radius: 12px;
    filter: brightness(1.05);
    transition: transform 0.6s ease, filter 0.4s ease;
}

.about-image-wrapper img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

#about h2 {
    font-family: 'Tagesschrift', sans-serif;
    letter-spacing: 1px;
    color: #111;
}

#about p {
    line-height: 1.7;
    color: #444;
}

/* ----------------- FOOTER ----------------- */
footer {
    background: #111;
    color: #ddd;
    padding: 30px 20px;
    text-align: center;
    margin-top: 50px;
}

footer a {
    color: #d4af37;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}