/* HERO FULL WIDTH */

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-image: url('/public/images/test2.jpg');
}

.hero-overlay {
    position: absolute;
    inset: 0;
        background: linear-gradient(180deg, rgb(201 210 217 / 80%), rgba(10, 46, 77, 0.6));
    backdrop-filter: blur(3px);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    top: 50%;
    transform: translateY(-50%);
    width: 70%;
    margin: auto;
    text-align: center;
}

.logo-holder {
    width: 220px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;

}

.logo-holder img {
    width: 100%;
}

.hero-content-text{
    margin-bottom: 50px;
}

.hero-content h1 {
    font-size: 56px;
}

.hero-content p {
    font-size: 26px;
}

.hero-content a {
    padding: 14px 30px;
    background: #0A2E4D;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 20px;
    transition: 0.3s all;
}

.hero-content a:hover {
    background: #0A2E4D;
    opacity: 0.9;
}

/* SCROLL ICON */

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

/* MOUSE SHAPE */
.scroll-indicator::before {
    content: "";
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
    opacity: 0.8;
}

/* DOT INSIDE */
.scroll-indicator::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scroll-dot 1.5s infinite;
}

/* ANIMATION */
@keyframes scroll-dot {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }
    40% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, 12px);
    }
}

.scroll-indicator::before {
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* CONTAINER */

.container.narrow {
    width: 70%;
    margin: auto;
}

/* SECTION */

.section {
    padding: 120px 0;
}

.section.alt {
    background: #f9f9f9;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

/* GRID */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}

/* CATEGORY */

.card-cat {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.card-cat::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.3) 50%,
        transparent 100%
    );
}

.card-cat:hover::after {
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.3),
        transparent
    );
}

.card-cat img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: 0.4s;
}

.card-cat:hover img {
    transform: scale(1.1);
}

.card-cat h3 {
    position: absolute;
    bottom: 20px;
    left: 20px;

    color: white;
    font-size: 16px;
    font-weight: 500;

    padding: 8px 14px;
    border-radius: 20px;

    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,0.2);

    z-index: 2;
}

/* PRODUCT */

/* ===== LUX PRODUCT CARDS ===== */

.card-product {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;

    display: flex;
    flex-direction: column;
}

.card-product:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* IMAGE */

.product-image {
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: 0.6s ease;
}

.card-product:hover img {
    transform: scale(1.08);
}

.cart-row {
    margin-top: auto;
}

/* BODY */

.product-body {
    padding: 20px;

    display: flex;
    flex-direction: column;
    flex: 1;
}

/* CATEGORY */

.product-category {
    font-size: 12px;
    color: #777;
    letter-spacing: 0.5px;
}

/* TITLE */

.product-body h3 {
    font-size: 16px;
    margin: 10px 0;
    line-height: 1.3;
}

.product-body h3 a {
    color: #0A2E4D;
    text-decoration: none;
}

.card-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
    margin: 6px 0 12px;
min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* PRICE */

.product-price {
    font-weight: 600;
    margin-top: 10px;
    font-size: 15px;
}

.old-price {
    margin-left: 10px;
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
}

/* STOCK */

.product-stock {
    margin-top: 8px;
    font-size: 12px;
}

.product-stock.in {
    color: #065F46;
}

.product-stock.out {
    color: #991B1B;
}

/* CART ROW (LUX STYLE) */

.cart-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* INPUT */

.qty-input {
    width: 60px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
}

/* BUTTON */

.btn-add {
    flex: 1;
    background: #0A2E4D;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-add:hover {
    background: #123d66;
}

/* LOGIN */

.product-login {
    margin-top: 10px;
    font-size: 13px;
    color: #0A2E4D;
    opacity: 0.7;
}
/* ABOUT */

.about-section{
    background-color: #f9f9f9;
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    height: 100%;
    background: url('/public/images/home-page/about-hp.png');
    border-radius: 20px;
    background-size: cover;
    
    
}

/* FORM */

.contact-form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.contact-form button {
    padding: 14px;
    background: #0A2E4D;
    color: white;
    border: none;
    border-radius: 30px;
}

/* BUTTONS */

.btn-primary {
    background: #0A2E4D;
    padding: 14px 30px;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s all;
}

.btn-primary:hover {
    background: #123d66;
}

.btn-outline {
    border: 2px solid #0A2E4D;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
}

/* RESPONSIVE */

@media(max-width:900px){
    .container.narrow {
        width: 90%;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .about {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 300px;
    }

    .hero-content {
        width: 90%;
    }

    .hero-content-text{
        text-align: center;
        width: 100%;
        margin-top: 20px;
    }

    .hero-content-text h1 {
        font-size: 32px;
        margin-bottom: 10px;
        width: 100%;

    }

    .hero-content-text p {
        font-size: 18px;
    }
}

/* ===== ANIMATIONS ===== */

.reveal,
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s ease;
}

.reveal {
    transform: translateY(40px);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.show {
    opacity: 1;
    transform: translate(0,0);
}

/* DELAYS */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }