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

:root {
    --primary-color: #7b2cbf;
    --secondary-color: #9d4edd;
    --accent-color: #c77dff;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f7ff;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Import calligraphy font for logo */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap');

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

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
}

h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(80, 20, 140, 0.90), rgba(100, 40, 160, 0.90));
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Philosophy Section */
.philosophy {
    padding: 3rem 2rem;
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    position: relative;
}

.philosophy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.92);
    z-index: 0;
}

.philosophy .container {
    position: relative;
    z-index: 1;
}

.philosophy-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
}

/* Quick Orders Section */
.quick-orders {
    padding: 4rem 2rem;
    text-align: center;
}

.quick-orders h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.notice {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 2rem;
    font-weight: 500;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.product-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e0aaff, #c77dff);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Portfolio Section */
.portfolio {
    padding: 4rem 2rem;
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.92);
    z-index: 0;
}

.portfolio .container {
    position: relative;
    z-index: 1;
}

.portfolio h3 {
    text-align: center;
    color: var(--primary-color);
}

.portfolio .subtitle {
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.gallery-item {
    background-color: transparent;
    padding: 0.75rem 1rem;
    border-radius: 25px;
    text-align: center;
    font-weight: 500;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-size: 0.9rem;
}

.gallery-note {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin-top: 2rem;
}

/* Page Header */
.page-header {
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(80, 20, 140, 0.90), rgba(100, 40, 160, 0.90));
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h2 {
    color: white;
    margin-bottom: 0.5rem;
}

.page-header .subtitle {
    color: rgba(255, 255, 255, 0.9);
}

/* About Page */
.about-content {
    padding: 4rem 2rem;
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.92);
    z-index: 0;
}

.about-content > div {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-story,
.about-dedication,
.about-philosophy,
.about-location {
    margin-bottom: 3rem;
}

blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
    font-size: 1.2rem;
}

.about-showcase {
    margin: 4rem 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.showcase-item {
    text-align: center;
}

.showcase-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e0aaff, #c77dff);
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* Menu Page */
.menu-content {
    padding: 4rem 2rem;
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.menu-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.92);
    z-index: 0;
}

.menu-content .container {
    position: relative;
    z-index: 1;
}

.menu-section {
    max-width: 900px;
    margin: 0 auto 4rem;
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.flavor-category {
    margin-bottom: 2rem;
}

.flavor-category h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    font-weight: 600;
}

.price-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: normal;
}

.flavor-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    list-style: disc;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.flavor-list li {
    padding: 0.25rem 0;
    color: var(--text-dark);
}

.note {
    background-color: transparent;
    border-left: 3px solid var(--accent-color);
    padding: 0.75rem 0 0.75rem 1.5rem;
    margin-top: 1rem;
    border-radius: 0;
    font-style: italic;
    color: var(--text-light);
}

.sizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.sizes-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.sizes-table th,
.sizes-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.sizes-table th {
    background-color: var(--bg-light);
    color: var(--primary-color);
    font-weight: 600;
}

.sizes-table tr:hover {
    background-color: var(--bg-light);
}

.specialty-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.specialty-item:last-child {
    border-bottom: none;
}

.decoration-notes {
    background-color: rgba(199, 125, 255, 0.1);
    border-left: 3px solid var(--accent-color);
}

/* Side Tab CTA */
.side-tab {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.side-tab-trigger {
    background: var(--primary-color);
    color: white;
    padding: 1rem 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    writing-mode: vertical-rl;
    border-radius: 5px 0 0 5px;
    box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.2);
}

.side-tab-content {
    position: absolute;
    right: 0;
    top: 0;
    background: white;
    padding: 1.5rem;
    border-radius: 8px 0 0 8px;
    box-shadow: -3px 3px 15px rgba(0, 0, 0, 0.2);
    width: 220px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border: 2px solid var(--primary-color);
    border-right: none;
}

.side-tab.expanded .side-tab-content {
    transform: translateX(0);
}

.side-tab.expanded .side-tab-trigger {
    display: none;
}

.side-tab-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.side-tab-content p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.side-tab-content a[href^="tel"] {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
}

.side-tab-link {
    display: block;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
}

.side-tab-link:hover {
    background: var(--secondary-color);
}

/* Contact Page */
.contact-content {
    padding: 4rem 2rem;
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.contact-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.92);
    z-index: 0;
}

.contact-content .container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3,
.contact-form-container h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-light);
}

.social-links-large {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--bg-light);
    border-radius: 25px;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-button:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.required {
    color: var(--accent-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .cta-button {
    width: 100%;
    cursor: pointer;
    border: 2px solid var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}

.contact-form .cta-button:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #e8f5e9;
    color: #2e7d32;
    border-radius: 5px;
    border-left: 4px solid #4caf50;
}

/* Footer */
footer {
    background-color: rgba(51, 51, 51, 0.92);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 0;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #c77dff;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .products-grid,
    .gallery-grid,
    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 4rem 1rem;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .flavor-list {
        grid-template-columns: 1fr;
    }
}
