/* ==========================================
   ALIYA CLOTH STORE
   COMPLETE WARM DYNAMIC THEME
   ========================================== */


/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top left, #fff2df 0%, transparent 35%),
        linear-gradient(135deg, #fffaf4, #f8eee6, #fff8ef);

    color: #3b2424;
    line-height: 1.6;
    min-height: 100vh;
}


/* ---------- NAVBAR ---------- */

.navbar {
    width: 100%;
    min-height: 95px;

    padding: 16px 6%;

    background:
        linear-gradient(
            135deg,
            rgba(70, 22, 30, 0.97),
            rgba(128, 48, 57, 0.96),
            rgba(93, 30, 42, 0.97)
        );

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;

    position: sticky;
    top: 0;
    z-index: 1000;

    box-shadow: 0 5px 20px rgba(73, 29, 35, 0.28);
}

.navbar h1 {
    color: #f6c982;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 4vw, 2.25rem);
    letter-spacing: 0.5px;

    white-space: nowrap;

    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.navbar ul {
    list-style: none;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px 18px;
}

.navbar li {
    list-style: none;
}

.navbar a {
    color: #fff7ed;

    text-decoration: none;

    font-size: 0.96rem;
    font-weight: 600;

    position: relative;

    padding: 8px 2px;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.navbar a::after {
    content: "";

    position: absolute;

    width: 0;
    height: 2px;

    left: 50%;
    bottom: 2px;

    background: #f6c982;

    transform: translateX(-50%);

    transition: width 0.3s ease;
}

.navbar a:hover {
    color: #f6c982;
}

.navbar a:hover::after {
    width: 100%;
}


/* ---------- HERO SECTION ---------- */

.hero {
    min-height: 520px;

    padding: 90px 20px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 25%,
            rgba(231, 174, 114, 0.25),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 70%,
            rgba(131, 48, 66, 0.15),
            transparent 30%
        ),
        linear-gradient(135deg, #fff9f0, #f8e9dc);
}

.hero::before,
.hero::after {
    content: "";

    position: absolute;

    border-radius: 50%;

    filter: blur(2px);

    animation: floatingShape 7s ease-in-out infinite;
}

.hero::before {
    width: 240px;
    height: 240px;

    top: -80px;
    right: -60px;

    background: rgba(130, 46, 64, 0.09);
}

.hero::after {
    width: 180px;
    height: 180px;

    bottom: -65px;
    left: -45px;

    background: rgba(219, 153, 86, 0.14);

    animation-delay: 1.5s;
}

@keyframes floatingShape {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-18px) scale(1.06);
    }
}

.hero h2 {
    max-width: 750px;

    position: relative;
    z-index: 2;

    color: #512632;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.4rem, 7vw, 5rem);

    line-height: 1.08;

    margin-bottom: 20px;
}

.hero p {
    max-width: 600px;

    position: relative;
    z-index: 2;

    color: #7d6861;

    font-size: 1.05rem;

    margin-bottom: 30px;
}

.hero a {
    position: relative;
    z-index: 2;

    text-decoration: none;
}

.hero button,
.order-btn {
    border: none;
    outline: none;

    padding: 13px 27px;

    border-radius: 30px;

    color: white;

    background:
        linear-gradient(135deg, #6f263d, #a2475f);

    font-size: 0.95rem;
    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 8px 20px rgba(112, 38, 61, 0.23);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.hero button:hover,
.order-btn:hover {
    transform: translateY(-3px);

    box-shadow: 0 13px 27px rgba(112, 38, 61, 0.32);

    background:
        linear-gradient(135deg, #8a314c, #bd5d73);
}

.hero button:active,
.order-btn:active {
    transform: translateY(0);
}


/* ---------- COMMON SECTION DESIGN ---------- */

.new-arrivals,
.fabrics,
.about,
.contact {
    width: 100%;

    padding: 75px 6%;
}

.new-arrivals,
.fabrics {
    text-align: center;
}

.new-arrivals h2,
.fabrics h2,
.about h2,
.contact h2 {
    color: #572936;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(2rem, 5vw, 3rem);

    line-height: 1.2;

    margin-bottom: 12px;
}

.new-arrivals > p,
.fabrics > p,
.contact > p {
    color: #806d66;

    max-width: 650px;

    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
}


/* ---------- NEW ARRIVALS ---------- */

.new-arrivals {
    background:
        linear-gradient(
            180deg,
            rgba(255, 250, 244, 0.96),
            rgba(249, 235, 225, 0.94)
        );
}

.products {
    width: min(1180px, 100%);

    margin: 35px auto 0;

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(230px, 1fr));

    gap: 30px;

    align-items: stretch;
}


/* ---------- PRODUCT CARDS ---------- */

.product-card {
    width: 100%;
    max-width: 330px;

    margin: 0 auto;

    padding: 14px 14px 22px;

    background:
        linear-gradient(145deg, #ffffff, #fff9f2);

    border: 1px solid rgba(132, 69, 72, 0.12);

    border-radius: 18px;

    position: relative;
    overflow: hidden;

    box-shadow:
        0 8px 24px rgba(91, 53, 46, 0.11);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.product-card:hover {
    transform: translateY(-8px);

    border-color: rgba(154, 65, 84, 0.28);

    box-shadow:
        0 18px 38px rgba(91, 53, 46, 0.19);
}

.product-card img {
    display: block;

    width: 100%;
    height: 290px;

    object-fit: cover;

    border-radius: 13px;

    background: #f4e9df;

    transition: transform 0.45s ease;
}

.product-card:hover img {
    transform: scale(1.035);
}

.product-card h3 {
    color: #4c2931;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 1.35rem;

    line-height: 1.3;

    margin: 17px 5px 9px;
}


/* ---------- PRODUCT BADGE ---------- */

.product-badge {
    position: absolute;

    top: 25px;
    left: 25px;

    z-index: 5;

    padding: 6px 11px;

    border-radius: 20px;

    color: white;

    background:
        linear-gradient(135deg, #8d314e, #bd5c6d);

    font-size: 0.72rem;
    font-weight: bold;

    box-shadow: 0 4px 12px rgba(83, 31, 46, 0.25);
}


/* ---------- PRICE ---------- */

.price-box {
    min-height: 35px;

    margin: 7px 0 17px;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;
}

.current-price {
    color: #7e2949;

    font-size: 1.18rem;
    font-weight: 800;
}

.old-price {
    color: #9b918c;

    font-size: 0.85rem;

    text-decoration: line-through;
}

.discount {
    padding: 3px 7px;

    border-radius: 12px;

    color: #427a5a;

    background: #e6f4e9;

    font-size: 0.75rem;
    font-weight: bold;
}

.product-card a {
    text-decoration: none;
}


/* ---------- FABRICS SECTION ---------- */

.fabrics {
    background:
        radial-gradient(
            circle at top right,
            rgba(132, 44, 64, 0.10),
            transparent 30%
        ),
        linear-gradient(135deg, #fffaf4, #f4e4d8);
}

.fabrics-products,
#product-container {
    width: min(1180px, 100%);

    margin: 35px auto 0;

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(230px, 1fr));

    gap: 30px;

    align-items: stretch;
}


/* ---------- ABOUT SECTION ---------- */

.about {
    position: relative;
    overflow: hidden;

    text-align: center;

    color: #fff8ee;

    background:
        linear-gradient(
            135deg,
            #4a1f2b,
            #7b3047,
            #a0475d
        );
}

.about::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    top: -160px;
    right: -90px;

    border-radius: 50%;

    background: rgba(255, 207, 143, 0.10);
}

.about h2 {
    position: relative;

    color: #ffd49a;
}

.about p {
    max-width: 760px;

    margin: 20px auto 0;

    position: relative;

    font-size: 1.04rem;

    line-height: 1.9;

    color: #fff4e8;
}


/* ---------- CONTACT ---------- */

.contact {
    text-align: center;

    background:
        linear-gradient(135deg, #fff8ef, #f9e7dc);
}

.contact p {
    margin-bottom: 10px;
}

.contact a {
    display: inline-block;

    margin-top: 16px;

    text-decoration: none;
}


/* ---------- FOOTER ---------- */

.footer {
    padding: 45px 20px 30px;

    text-align: center;

    color: #f8e9df;

    background:
        linear-gradient(135deg, #321820, #582331);

    border-top: 4px solid #c98968;
}

.footer h2 {
    color: #f3c787;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 1.7rem;

    margin-bottom: 8px;
}

.footer p {
    color: #e9d7ce;

    margin: 5px 0;
}

.footer .copyright {
    margin-top: 20px;

    padding-top: 17px;

    border-top: 1px solid rgba(255, 255, 255, 0.13);

    font-size: 0.82rem;

    color: #bfaeaa;
}


/* ---------- SMALL ENTRANCE ANIMATION ---------- */

.product-card {
    animation: cardEntrance 0.65s ease both;
}

.product-card:nth-child(2) {
    animation-delay: 0.08s;
}

.product-card:nth-child(3) {
    animation-delay: 0.16s;
}

.product-card:nth-child(4) {
    animation-delay: 0.24s;
}

@keyframes cardEntrance {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 850px) {

    html {
        scroll-padding-top: 150px;
    }

    .navbar {
        flex-direction: column;

        justify-content: center;

        gap: 8px;

        padding: 14px 18px;
    }

    .navbar h1 {
        text-align: center;
    }

    .navbar ul {
        width: 100%;

        gap: 4px 15px;
    }

    .hero {
        min-height: 500px;

        padding: 75px 25px;
    }

    .new-arrivals,
    .fabrics,
    .about,
    .contact {
        padding: 65px 5%;
    }
}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 520px) {

    html {
        scroll-padding-top: 150px;
    }

    body {
        overflow-x: hidden;
    }

    .navbar {
        min-height: auto;

        padding: 13px 10px;
    }

    .navbar h1 {
        font-size: 1.65rem;
    }

    .navbar ul {
        gap: 2px 12px;
    }

    .navbar a {
        font-size: 0.78rem;

        padding: 5px 0;
    }

    .hero {
        min-height: 470px;

        padding: 70px 20px;
    }

    .hero h2 {
        font-size: 2.65rem;
    }

    .hero p {
        font-size: 0.93rem;
    }

    .new-arrivals,
    .fabrics,
    .about,
    .contact {
        padding: 55px 18px;
    }

    .products,
    .fabrics-products,
    #product-container {
        grid-template-columns: 1fr;

        gap: 25px;

        margin-top: 28px;
    }

    .product-card {
        max-width: 340px;
    }

    .product-card img {
        height: 300px;
    }

    .about p {
        font-size: 0.95rem;

        line-height: 1.8;
    }

    .footer {
        padding: 38px 18px 25px;
    }
}
/* PRODUCT CARD WARM DESIGN */

.product-card {
    background: linear-gradient(145deg, #fffaf5, #f8eee7);
    border: 1px solid rgba(111, 31, 62, 0.12);
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 24px;

    box-shadow:
        0 8px 20px rgba(70, 25, 40, 0.10);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 14px 30px rgba(70, 25, 40, 0.18);
}

.product-card img {
    width: 100%;
    display: block;
    border-radius: 14px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-card:hover img {
    transform: scale(1.02);
}

.product-card h3 {
    margin: 14px 0 6px;
    color: #3d1f2b;
    font-size: 1.3rem;
}

.product-card .price-box {
    margin: 6px 0 14px;
}

.product-card .current-price {
    color: #7b2748;
    font-size: 1.15rem;
    font-weight: 700;
}

.product-card .old-price {
    margin-left: 5px;
    color: #9b8b8f;
}

.product-card .discount {
    margin-left: 5px;
    color: #58785c;
    font-size: 0.8rem;
    font-weight: 700;
}

.product-card .order-btn {
    margin-top: 4px;
}
/* ===== CLEAN MOBILE NAVBAR ===== */

.menu-toggle {
    display: none;
}

@media (max-width: 500px) {

    .navbar {
        padding: 12px 15px;
        position: relative;
    }

    .navbar h1 {
        font-size: 24px;
        margin: 0;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 28px;
        cursor: pointer;
        margin: 8px auto 0;
    }

    .navbar ul {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin: 10px 0 0;
        padding: 12px 0;
        width: 100%;
    }

    .navbar ul.show-menu {
        display: flex;
    }

    .navbar ul li {
        margin: 0;
        padding: 0;
    }

    .navbar ul li a {
        font-size: 14px;
        white-space: nowrap;
    }
}
