/* =========================================================
   FASHIONFLEX STORE
   Main Colors:
   Muted Rose: #A85353
   White:      #FFFFFF
   ========================================================= */

:root {
    --rose: #A85353;
    --rose-dark: #823f3f;
    --rose-light: #f6eaea;
    --white: #ffffff;
    --text: #292525;
    --muted: #777;
    --border: #ead7d7;
    --shadow: 0 15px 40px rgba(168, 83, 83, 0.12);
    --transition: all 0.35s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* =========================================================
   ANIMATED BACKGROUND
   ========================================================= */

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -2;
    border-radius: 50%;
    pointer-events: none;
}

body::before {
    width: 450px;
    height: 450px;
    background: rgba(168, 83, 83, 0.07);
    top: -180px;
    right: -120px;
    animation: floatingCircle 12s infinite alternate ease-in-out;
}

body::after {
    width: 350px;
    height: 350px;
    background: rgba(168, 83, 83, 0.05);
    bottom: -150px;
    left: -100px;
    animation: floatingCircle2 15s infinite alternate ease-in-out;
}

@keyframes floatingCircle {
    from {
        transform: translate(0, 0) rotate(0deg);
    }

    to {
        transform: translate(-70px, 90px) rotate(180deg);
    }
}

@keyframes floatingCircle2 {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(100px, -80px);
    }
}

/* Animated rose particles */

.animated-background {
    position: fixed;
    inset: 0;
    z-index: -3;
    overflow: hidden;
    pointer-events: none;
}

.animated-background span {
    position: absolute;
    display: block;
    width: 8px;
    height: 8px;
    background: var(--rose);
    opacity: 0.08;
    border-radius: 50%;
    animation: particles 18s linear infinite;
}

.animated-background span:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.animated-background span:nth-child(2) {
    left: 25%;
    animation-delay: 4s;
}

.animated-background span:nth-child(3) {
    left: 40%;
    animation-delay: 8s;
}

.animated-background span:nth-child(4) {
    left: 60%;
    animation-delay: 2s;
}

.animated-background span:nth-child(5) {
    left: 80%;
    animation-delay: 6s;
}

.animated-background span:nth-child(6) {
    left: 92%;
    animation-delay: 10s;
}

@keyframes particles {
    0% {
        transform: translateY(110vh) scale(1);
    }

    100% {
        transform: translateY(-20vh) scale(1.8);
    }
}

/* =========================================================
   CONTAINER
   ========================================================= */

.container {
    width: min(1180px, 92%);
    margin: auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}

.nav {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 10px;
}

.logo span {
    color: var(--rose);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    background: var(--rose);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--rose);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.menu-btn {
    display: none;
    border: none;
    background: var(--rose);
    color: white;
    padding: 9px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 78vh;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 50px;
    padding: 80px 0;
}

.hero-content {
    animation: fadeUp 0.9s ease both;
}

.hero-label {
    display: inline-block;
    color: var(--rose);
    background: var(--rose-light);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 75px);
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--rose);
}

.hero p {
    color: var(--muted);
    max-width: 650px;
    font-size: 17px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 13px 24px;
    border-radius: 7px;
    font-weight: 700;
    transition: var(--transition);
    border: 2px solid var(--rose);
    cursor: pointer;
}

.btn-primary {
    background: var(--rose);
    color: white;
}

.btn-primary:hover {
    background: var(--rose-dark);
    border-color: var(--rose-dark);
    transform: translateY(-3px);
}

.btn-outline {
    color: var(--rose);
    background: white;
}

.btn-outline:hover {
    background: var(--rose);
    color: white;
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    animation: fadeUp 1.1s ease both;
}

.hero-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.hero-image::before {
    content: "";
    position: absolute;
    inset: -12px;
    border: 2px solid var(--rose);
    border-radius: 25px;
    opacity: 0.2;
    animation: pulseBorder 3s infinite;
}

@keyframes pulseBorder {
    0%, 100% {
        transform: scale(1);
        opacity: 0.15;
    }

    50% {
        transform: scale(1.025);
        opacity: 0.4;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   PAGE HERO
   ========================================================= */

.page-hero {
    padding: 100px 0;
    text-align: center;
    background:
        linear-gradient(rgba(168, 83, 83, 0.06), rgba(255,255,255,0.9));
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    font-size: clamp(38px, 5vw, 60px);
    margin-bottom: 12px;
}

.page-hero h1 span {
    color: var(--rose);
}

.page-hero p {
    max-width: 720px;
    margin: auto;
    color: var(--muted);
}

/* =========================================================
   SECTION
   ========================================================= */

.section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}

.section-header .eyebrow {
    color: var(--rose);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 800;
}

.section-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin: 8px 0 15px;
}

.section-header p {
    color: var(--muted);
}

/* =========================================================
   CARDS
   ========================================================= */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: rgba(255,255,255,0.94);
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-9px);
    box-shadow: var(--shadow);
}

.card-image {
    width: 100%;
    height: 270px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    margin-bottom: 10px;
}

.card-content p {
    color: var(--muted);
    font-size: 14px;
}

/* =========================================================
   FEATURE CARDS
   ========================================================= */

.feature {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: white;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    background: var(--rose);
    font-size: 23px;
    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 10px;
}

.feature p {
    color: var(--muted);
}

/* =========================================================
   SPLIT SECTION
   ========================================================= */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.split-content h2 {
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.15;
    margin-bottom: 20px;
}

.split-content h2 span {
    color: var(--rose);
}

.split-content p {
    color: var(--muted);
    margin-bottom: 18px;
}

/* =========================================================
   STATS
   ========================================================= */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: white;
}

.stat {
    text-align: center;
    padding: 35px 20px;
    border-right: 1px solid var(--border);
}

.stat:last-child {
    border-right: none;
}

.stat h3 {
    color: var(--rose);
    font-size: 35px;
}

.stat p {
    color: var(--muted);
}

/* =========================================================
   TEAM
   ========================================================= */

.team-card {
    text-align: center;
    position: relative;
}

.team-image-wrap {
    padding: 20px;
    background: var(--rose-light);
}

.team-image {
    width: 190px;
    height: 190px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: var(--shadow);
}

.team-card .card-content {
    padding: 25px;
}

.position {
    display: inline-block;
    color: var(--rose);
    background: var(--rose-light);
    padding: 5px 13px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    margin: 7px 0 12px;
}

/* =========================================================
   STORE
   ========================================================= */

.product-card {
    position: relative;
}

.product-image-wrap {
    position: relative;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 330px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image {
    transform: scale(1.06);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--rose);
    color: white;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: bold;
}

.price {
    color: var(--rose);
    font-weight: 800;
    font-size: 20px;
    margin-top: 10px;
}

.product-actions {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.product-actions .btn {
    flex: 1;
    padding: 10px;
    font-size: 13px;
}

/* =========================================================
   QUALITY
   ========================================================= */

.quality-list {
    display: grid;
    gap: 15px;
    margin-top: 25px;
}

.quality-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: white;
}

.check {
    min-width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    background: var(--rose);
    font-weight: bold;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 30px;
}

.contact-info,
.contact-form {
    padding: 35px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    min-width: 45px;
    height: 45px;
    background: var(--rose);
    color: white;
    display: grid;
    place-items: center;
    border-radius: 8px;
}

.contact-item strong {
    display: block;
}

.contact-item span,
.contact-item a {
    color: var(--muted);
    text-decoration: none;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    font-family: inherit;
    transition: var(--transition);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--rose);
    box-shadow: 0 0 0 3px rgba(168,83,83,0.08);
}

/* =========================================================
   CTA
   ========================================================= */

.cta {
    background: var(--rose);
    color: white;
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before,
.cta::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: ctaMove 8s infinite alternate;
}

.cta::before {
    top: -90px;
    left: -50px;
}

.cta::after {
    right: -50px;
    bottom: -90px;
}

@keyframes ctaMove {
    to {
        transform: scale(1.4) rotate(90deg);
    }
}

.cta h2 {
    font-size: clamp(30px, 4vw, 45px);
    margin-bottom: 12px;
}

.cta p {
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 25px;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
    margin-top: 70px;
    background: #fff;
    border-top: 1px solid var(--border);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 65px 0 45px;
}

.footer-col h3 {
    margin-bottom: 18px;
}

.footer-col p {
    color: var(--muted);
    font-size: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 9px;
}

.footer-col a {
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--rose);
    padding-left: 4px;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   TOAST
   ========================================================= */

.toast {
    position: fixed;
    right: 25px;
    bottom: 25px;
    background: var(--rose);
    color: white;
    padding: 15px 22px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transform: translateY(100px);
    opacity: 0;
    transition: 0.4s ease;
    z-index: 2000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {

    .nav-links {
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid var(--border);
        padding: 15px 5%;
        display: none;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 12px;
    }

    .menu-btn {
        display: block;
    }

    .hero,
    .split,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        height: 420px;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat:nth-child(2) {
        border-right: none;
    }

    .stat {
        border-bottom: 1px solid var(--border);
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .container {
        width: 90%;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-image img {
        height: 350px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: none;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .cta {
        padding: 40px 20px;
    }

    .section {
        padding: 65px 0;
    }
}