/* Creative Project - Starter Styles */
/* Customize these styles to match your project theme! */

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-lg);
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Main Content */
.main-content {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

section {
    margin-bottom: 50px;
}

section:last-child {
    margin-bottom: 0;
}

h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

/* Interactive Section */
.demo-area {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    margin-top: 20px;
}

input[type="text"] {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 15px;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Buttons */
.btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

/* Output Area */
.output-area {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    min-height: 50px;
    border: 2px dashed var(--border-color);
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px;
    color: var(--text-light);
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .main-content {
        padding: 25px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-section,
.feature-section,
.interactive-section {
    animation: fadeIn 0.6s ease-out;
}

.delina-image {
    cursor: pointer;
    transition: transform 0.2s ease-out;
}

.delina-bounce {
    animation: delina-bounce 0.4s ease-out;
}

@keyframes delina-bounce {
    0% {
        transform: translateY(0) scale(1);
    }

    30% {
        transform: translateY(-12px) scale(1.03);
    }

    60% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

.delina-wrapper {
    position: relative;
    display: inline-block;
    margin-top: 1.5rem;
}

.perfume-search {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    align-items: center;
}

.perfume-search input[type="text"] {
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    border: 2px solid #e2e8f0;
    min-width: 260px;
    font-size: 0.95rem;
}

.perfume-search button {
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    border: none;
    background: #80B0E8;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.perfume-search button:hover {
    background: #5a96dd;
}

.delina-caption {
    margin-top: 0.75rem;
    text-align: center;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.delina-caption-main {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.delina-caption-click {
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.4rem;
    color: #aaaaaa;
}

.delina-caption-sub {
    margin-top: 0.2rem;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #80B0E8;
}

.note-bars-left {
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translate(-16px, -50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.note-bars-title,
.scent-bars-title {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    color: #444444;
    opacity: 0;
    transform: translateX(0);
    transition: transform 0.5s ease-out, opacity 0.4s ease-out;
}

.note-bar {
    width: 20rem;
    height: 2.8rem;
    display: flex;
    align-items: center;
    padding-left: 1rem;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #222222;
    background: #f3f3f3;
    border-radius: 20px 0 0 20px;
    opacity: 0;
    transform: translateX(0);
    transition: transform 0.5s ease-out, opacity 0.4s ease-out;
}

.note-bar-1 {
    background: hotpink;
    width: 20rem;
}

/* rose   - longest */
.note-bar-2 {
    background: #ff6a00;
    width: 18.5rem;
}

/* fruity */
.note-bar-3 {
    background: #fff6a3;
    width: 17rem;
}

/* vanilla - longer than amber */
.note-bar-5 {
    background: #ffc94b;
    width: 14rem;
}

/* tropical (same as fresh) */
.note-bar-4 {
    background: #cc5500;
    width: 15rem;
}

/* amber   - shorter than vanilla */
.note-bar-6 {
    background: #37c9ff;
    width: 14rem;
}

/* fresh */
.note-bar-7 {
    background: #b0b0b0;
    width: 13rem;
}

/* oud */
.note-bar-8 {
    background: #ff7f7f;
    width: 12rem;
}

/* sweet */
.note-bar-9 {
    background: #5b3a29;
    width: 11rem;
}

/* woody */
.note-bar-10 {
    background: #ff9fdc;
    width: 10rem;
}

/* floral - smallest */

.scent-bars {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(16px, -50%);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.scent-bars-title {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    color: #444444;
    opacity: 0;
    padding-left: 1.4rem;
    transform: translateX(0);
    transition: transform 0.5s ease-out, opacity 0.4s ease-out;
}

.scent-bar {
    width: max-content;
    min-width: 18rem;
    min-height: 5.6rem;
    height: auto;
    border-radius: 0 20px 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.8rem 2.4rem 0.8rem 1.4rem;
    gap: 0.4rem;
    color: #222222;
    opacity: 0;
    transform: translateX(0);
    transition: transform 0.5s ease-out, opacity 0.4s ease-out;
}

.delina-wrapper.show-bars .note-bar {
    opacity: 1;
    transform: translateX(-24px);
}

.delina-wrapper.show-bars .scent-bar {
    opacity: 1;
    transform: translateX(24px);
}

.delina-wrapper.show-bars .scent-bars-title {
    opacity: 1;
    transform: translateX(24px);
    transition-delay: 0.5s;
}

.delina-wrapper.show-bars .note-bars-title {
    opacity: 1;
    transform: translateX(-24px);
    transition-delay: 0s;
}

.delina-wrapper.show-bars .scent-bars-title {
    opacity: 1;
    transform: translateX(24px);
    transition-delay: 0s;
}

.delina-wrapper.show-bars .note-bars-left .note-bar:nth-of-type(1) {
    transition-delay: 0.00s;
}

.delina-wrapper.show-bars .note-bars-left .note-bar:nth-of-type(2) {
    transition-delay: 0.05s;
}

.delina-wrapper.show-bars .note-bars-left .note-bar:nth-of-type(3) {
    transition-delay: 0.10s;
}

.delina-wrapper.show-bars .note-bars-left .note-bar:nth-of-type(4) {
    transition-delay: 0.15s;
}

.delina-wrapper.show-bars .note-bars-left .note-bar:nth-of-type(5) {
    transition-delay: 0.20s;
}

.delina-wrapper.show-bars .note-bars-left .note-bar:nth-of-type(6) {
    transition-delay: 0.25s;
}

.delina-wrapper.show-bars .note-bars-left .note-bar:nth-of-type(7) {
    transition-delay: 0.30s;
}

.delina-wrapper.show-bars .note-bars-left .note-bar:nth-of-type(8) {
    transition-delay: 0.35s;
}

.delina-wrapper.show-bars .note-bars-left .note-bar:nth-of-type(9) {
    transition-delay: 0.40s;
}

.delina-wrapper.show-bars .note-bars-left .note-bar:nth-of-type(10) {
    transition-delay: 0.45s;
}

.delina-wrapper.show-bars .scent-bars .scent-bar:nth-child(2) {
    transition-delay: 0.60s;
}

.delina-wrapper.show-bars .scent-bars .scent-bar:nth-child(3) {
    transition-delay: 0.75s;
}

.delina-wrapper.show-bars .scent-bars .scent-bar:nth-child(4) {
    transition-delay: 0.90s;
}

.scent-bar-1 {
    background: #fac589;
}

.scent-bar-2 {
    background: #fc8f77;
}

.scent-bar-3 {
    background: #fc6a80;
}

.scent-bar-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.scent-bar-notes {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
}

.scent-note {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
    text-transform: lowercase;
}

.scent-note-emoji {
    font-size: 1.4rem;
    line-height: 1;
    margin-bottom: 0.1rem;
}