/* Devine with V - Elegant Lilac & White Theme */

/* Color Palette */
:root {
    --lilac-dark: #9B7BB8;
    --lilac-main: #B89ED9;
    --lilac-light: #D4C4E8;
    --lilac-pale: #EDE7F3;
    --white: #FFFFFF;
    --white-off: #FAFAFA;
    --text-dark: #4A3A5C;
    --text-light: #6B5A7D;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    background: linear-gradient(135deg, var(--lilac-pale) 0%, var(--white) 50%, var(--lilac-pale) 100%);
    min-height: 100vh;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    letter-spacing: 0.1em;
}

h1 {
    font-size: 3rem;
    color: var(--lilac-dark);
    text-transform: uppercase;
}

h2 {
    font-size: 2rem;
    color: var(--lilac-dark);
    margin-bottom: 1.5rem;
}

p {
    font-family: 'Raleway', 'Helvetica Neue', sans-serif;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Header */
.header {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(180deg, var(--white) 0%, transparent 100%);
}

.logo-text {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--lilac-dark);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.tagline {
    font-style: italic;
    color: var(--lilac-main);
    font-size: 1.2rem;
    letter-spacing: 0.15em;
}

/* Navigation */
.nav-back {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 100;
}

.nav-back a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--lilac-dark);
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--lilac-light);
    border-radius: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-back a:hover {
    background: var(--lilac-dark);
    color: var(--white);
    transform: translateX(-5px);
}

/* Home Page - Tile Buttons */
.home-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.tiles-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
    max-width: 1200px;
}

.tile {
    width: 280px;
    height: 320px;
    background: var(--white);
    border: 1px solid var(--lilac-light);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--lilac-dark);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(155, 123, 184, 0.1);
    position: relative;
    overflow: hidden;
}

.tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--lilac-light) 0%, var(--lilac-main) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(155, 123, 184, 0.25);
    border-color: var(--lilac-main);
}

.tile:hover::before {
    opacity: 1;
}

.tile:hover .tile-title,
.tile:hover .tile-icon {
    color: var(--white);
}

.tile-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.tile-title {
    font-size: 1.3rem;
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

/* Page Container */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
}

/* About Page */
.about-content {
    background: var(--white);
    padding: 4rem;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(155, 123, 184, 0.1);
    border: 1px solid var(--lilac-light);
    text-align: center;
}

.about-content h1 {
    margin-bottom: 2rem;
}

.about-content p {
    max-width: 700px;
    margin: 0 auto 1.5rem;
    font-size: 1.2rem;
    line-height: 1.8;
}

.divider {
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--lilac-main), transparent);
    margin: 2rem auto;
}

/* Gifts Page - Product Gallery */
.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(155, 123, 184, 0.1);
    border: 1px solid var(--lilac-light);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(155, 123, 184, 0.2);
}

.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.product-name {
    padding: 1.5rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--lilac-dark);
    letter-spacing: 0.05em;
    font-weight: 500;
    border-top: 1px solid var(--lilac-pale);
}

/* Contact Page */
.contact-content {
    background: var(--white);
    padding: 4rem;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(155, 123, 184, 0.1);
    border: 1px solid var(--lilac-light);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content h1 {
    margin-bottom: 2rem;
}

.contact-list {
    list-style: none;
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: 8px;
    background: var(--lilac-pale);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--lilac-light);
}

.contact-item a {
    text-decoration: none;
    color: var(--lilac-dark);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.contact-item a:hover {
    color: var(--text-dark);
}

.contact-icon {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    color: var(--text-light);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

/* Responsive Design */
@media (max-width: 900px) {
    .tiles-container {
        flex-direction: column;
        align-items: center;
    }

    .tile {
        width: 100%;
        max-width: 320px;
        height: auto;
        padding: 2.5rem 2rem;
    }

    .logo-text {
        font-size: 2.5rem;
    }

    h1 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .nav-back {
        top: 1rem;
        left: 1rem;
    }

    .nav-back a {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .page-container {
        padding: 5rem 1rem 2rem;
    }

    .about-content,
    .contact-content {
        padding: 2rem;
    }

    .logo-text {
        font-size: 2rem;
        letter-spacing: 0.1em;
    }

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

