:root {
    --primary: #eca7f2; /* Warm Terracotta */
    --secondary: #F7EBE1; /* Soft Cream */
    --accent: #2E4052; /* Deep Slate Blue */
    --text-dark: #333333;
    --text-light: #FAFAFA;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--secondary);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation with Logo Integration */
header {
    background-color: rgba(247, 235, 225, 0.95);
    /* Updated padding to manage the larger logo */
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Logo link styling */
.logo-link {
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}

/* Key update: Logo image styling */
.logo-image {
    max-height: 60px; /* Limits logo height to prevent layout issues */
    width: auto;      /* Maintains aspect ratio */
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    font-weight: 600;
    color: var(--accent);
    transition: color 0.3s ease;
    cursor: pointer;
    font-size: 1.1rem;
}

nav ul li a:hover {
    color: var(--primary);
}

.btn {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn:hover {
    background-color: #a86443;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 123, 87, 0.4);
}

/* SPA Page Sections */
.page-section {
    display: none;
    animation: fadeIn 0.6s ease;
    flex: 1;
}

.page-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Landing Section */
.hero {
    height: 85vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    background: linear-gradient(to right, rgba(247, 235, 225, 0.95) 30%, rgba(247, 235, 225, 0.2)),
    url('https://images.unsplash.com/photo-1554461463-5477ab68b6d8?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    background-position: center 20%;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #555;
}

/* Section Typography */
.section-title {
    text-align: center;
    padding: 4rem 1rem 1rem;
    font-family: var(--font-heading);
    color: var(--accent);
    font-size: 3rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

/* Tutorials Hub */
.tutorials-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 0 5% 5rem;
    flex-wrap: wrap;
}

.tutorial-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    width: 350px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 5px solid var(--primary);
}

.tutorial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.tutorial-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.tutorial-card p {
    color: #666;
    margin-bottom: 2rem;
}

/* Content Wrappers (Video & Written) */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto 5rem;
    padding: 3rem 5%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.back-btn {
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    margin-bottom: 2rem;
    padding: 0.6rem 1.5rem;
}

.back-btn:hover {
    background-color: var(--accent);
    color: white;
    box-shadow: none;
}

/* Video Setup */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 2rem;
    background-color: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Written Setup */
.written-instructions h3 {
    color: var(--primary);
    margin: 2rem 0 1rem;
    font-family: var(--font-heading);
    font-size: 1.8rem;
}

.written-instructions p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.written-instructions ul {
    margin-left: 2rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.written-instructions li {
    margin-bottom: 0.8rem;
}

.pdf-download {
    background-color: var(--accent);
    margin-top: 2rem;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--accent);
    color: var(--secondary);
    text-align: center;
    padding: 2.5rem 5%;
    margin-top: auto; /* Pushes footer to bottom */
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

/* SVG Icons */
svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 5%;
    }

    .logo-image {
        max-height: 50px; /* Smaller logo for mobile */
    }

    .hero-content h1 {
        font-size: 3rem;
    }
    .hero {
        justify-content: center;
        text-align: center;
        background-position: center;
        background: linear-gradient(to right, rgba(247, 235, 225, 0.95), rgba(247, 235, 225, 0.8)),
        url('https://images.unsplash.com/photo-1554461463-5477ab68b6d8?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    }
    nav ul {
        display: none; /* Hide standard nav on mobile (simple version) */
    }
    .tutorial-card {
        width: 100%;
    }
    .section-title {
        font-size: 2.2rem;
    }
}