:root {
    --color-bg: #fef3ff;
    --color-bg-alt: #ffffff;
    --color-text: #CA1099;
    --color-heading: #E112AB;
    --color-accent: #9951c4;
    --color-border: #dddddd;
    --color-muted: #a8579a;
    --color-shadow: rgba(225, 18, 171, 0.2);
}

[data-theme="dark"] {
    --color-bg: #1f1420;
    --color-bg-alt: #2a1c2b;
    --color-text: #ff8fd1;
    --color-heading: #ff8fd1;
    --color-accent: #c48fe0;
    --color-border: #4a2f4c;
    --color-muted: #d29ac7;
    --color-shadow: rgba(0, 0, 0, 0.4);
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    margin: 0;
    color: var(--color-text);
    font-family: 'Amaranth', sans-serif;
    transition: background-color 0.2s ease, color 0.2s ease;
}

button,
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

a {
    transition: color 0.3s ease;
    font-family: 'Amaranth', sans-serif;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 700;
}

a:hover {
    color: var(--color-accent);
}

a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

html body header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-bg-alt);
    box-shadow: 3px 0 5px var(--color-shadow);
    padding: 15px 30px;
    position: relative;
    z-index: 2;
    transition: background-color 0.2s ease;
}

header .logo {
    height: 70px;
    font-size: 20px;
    font-family: 'DynaPuff', sans-serif;
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--color-heading);
}

html body nav {
    display: flex;
    align-items: center;
}

html body nav ul {
    list-style-type: none;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

html body nav ul li {
    display: inline-block;
}

html body nav ul li a {
    padding: 0 15px;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
}

.theme-toggle:hover {
    border-color: var(--color-accent);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 15px;
    font-family: 'Amaranth', sans-serif;
    font-size: 14px;
}

.lang-switch a {
    padding: 4px 6px;
    color: var(--color-muted);
    font-weight: 700;
}

.lang-switch a.active {
    color: var(--color-accent);
}

.lang-switch span {
    color: var(--color-border);
}

.hero {
    position: relative;
    z-index: 1;
    display: flex;
    padding: 20px 50px;
    justify-content: center;
}

.hero .hero-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: row;
}

.hero img {
    max-width: 100%;
    height: auto;
}

.hero-image-card {
    background-color: #fef3ff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.hero h1 {
    font-family: 'DynaPuff', sans-serif;
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 0;
    margin-top: 0;
    color: var(--color-heading);
}

.hero h2 {
    font-family: 'DynaPuff', sans-serif;
    font-size: 26px;
    font-weight: 400;
    margin-top: 5px;
    margin-bottom: 20px;
    color: var(--color-accent);
}

.hero p {
    font-family: 'Amaranth', sans-serif;
    font-size: 20px;
    margin-bottom: 50px;
}

.left {
    max-width: 600px;
    width: 100%;
    align-self: center;
}

.btn {
    background-color: var(--color-accent);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.btn:hover {
    opacity: 0.9;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    padding: 13px 28px;
    border-radius: 25px;
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: #fff;
}

a.btn {
    color: #fff;
}

a.btn-outline {
    color: var(--color-accent);
}

a.btn-outline:hover {
    color: #fff;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.center {
    display: flex;
    justify-content: center;
}

.center h1 {
    font-family: 'DynaPuff', sans-serif;
    color: var(--color-heading);
}

.center h2 {
    font-family: 'DynaPuff', sans-serif;
    color: var(--color-heading);
}

.center h3 {
    font-family: 'DynaPuff', sans-serif;
    color: var(--color-heading);
}

.section-subtitle {
    font-family: 'Amaranth', sans-serif;
    font-size: 15px;
    color: var(--color-muted);
    margin-top: 0;
}

.center p {
    font-family: 'Amaranth', sans-serif;
    font-size: 20px;
}

.content {
    max-width: 1200px;
    width: 100%;
}

.right {
    max-width: 600px;
    width: 100%;
}

.row {
    display: flex;
    flex-direction: row;
}

.gold {
    color: var(--color-accent);
    font-size: 20px;
    transition: opacity 0.2s ease;
}

.gold:hover {
    opacity: 0.7;
}

.padded {
    padding: 10px 15px;
}

.vert-pad {
    padding: 20px 0;
}

.card {
    background-color: var(--color-bg-alt);
    border: solid 1px var(--color-border);
    border-radius: 12px;
    box-shadow: 0 2px 6px var(--color-shadow);
    padding: 20px 30px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.card img.product-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.third {
    max-width: 360px;
    width: 100%;
    margin: 20px;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.carousel-track {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-track .card.third {
    scroll-snap-align: start;
    flex: 0 0 auto;
}

.carousel-btn {
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    color: var(--color-accent);
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px var(--color-shadow);
    flex-shrink: 0;
    z-index: 2;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.carousel-btn:hover {
    background-color: var(--color-accent);
    color: #fff;
}

.flash-success,
.flash-error {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    padding: 15px 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 90%;
    transition: opacity 0.3s ease;
}

.flash-success {
    background-color: #d4edda;
    color: #155724;
}

.flash-error {
    background-color: #f8d7da;
    color: #721c24;
}

.contact-form input {
    font-family: 'Amaranth', sans-serif;
    background-color: var(--color-bg-alt);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    height: 30px;
    padding: 5px 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    width: 100%;
}

.contact-form textarea {
    font-family: 'Amaranth', sans-serif;
    background-color: var(--color-bg-alt);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    height: 100px;
    padding: 15px 10px;
    resize: none;
    border-radius: 5px;
    margin-bottom: 15px;
    width: 100%;
}

.full-width {
    width: 100%;
}

.footer {
    padding: 80px 0 0 0;
    background-color: #33212f;
    color: #fff;
}

.footer a {
    color: #fff;
}

.footer a:hover {
    color: var(--color-accent);
}

.footer .contact-info {
    text-align: center;
    font-family: 'Amaranth', sans-serif;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.social-links {
    margin-top: 20px;
    margin-bottom: 40px;
}

.social-links a {
    margin: 0 10px;
}

.social {
    background-color: #fff;
    border-radius: 50%;
    height: 60px;
    width: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social:hover {
    transform: scale(1.08);
    box-shadow: 0 0 0 3px var(--color-accent);
}

.social-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.made-with {
    padding: 0 30px;
    color: #fff;
}

.white-bg {
    background-color: var(--color-bg-alt);
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
    .hero {
        padding: 20px 25px;
    }

    .row {
        flex-direction: column;
    }

    .hero .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .left,
    .right {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 15px;
    }

    html body nav ul li a {
        padding: 0 8px;
        font-size: 14px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .card.third {
        margin: 10px 0;
    }

    .carousel-btn {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 18px;
    }

    .theme-toggle {
        width: 32px;
        height: 32px;
        margin-left: 8px;
    }
}
