/* Tangled by Design - Main Styles */

:root {
    /* Color palette from logo */
    --charcoal: #4a4a4a;
    --teal: #7eb8b8;
    --blush: #e8c5c5;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --accent-coral: #d49a8a;
}

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

body {
    font-family: 'Georgia', 'Garamond', serif;
    color: var(--charcoal);
    line-height: 1.6;
    background-color: var(--white);
}

/* Headings use same font as banner */
h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
}

/* Navigation */
nav {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo {
    height: 60px;
}

.nav-brand-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #000000;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--charcoal);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.nav-links a:hover {
    color: var(--teal);
}

.nav-cta {
    background-color: var(--teal);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.nav-cta:hover {
    background-color: #6a9f9f;
}

/* Hero Section */
.hero {
    position: relative;
    height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--teal) 0%, var(--blush) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 50 Q 25 25, 50 50 T 100 50" stroke="rgba(255,255,255,0.1)" fill="none" stroke-width="2"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-style: italic;
}

/* Sections */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--charcoal);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--teal);
    margin-bottom: 3rem;
    font-style: italic;
}

/* Store Spotlights / Cards */
.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.spotlight-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.spotlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.spotlight-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Coming Soon Overlay */
.spotlight-card.coming-soon .spotlight-image {
    filter: blur(4px);
}

.spotlight-card.coming-soon::before {
    content: 'COMING SOON';
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(126, 184, 184, 0.95);
    color: white;
    padding: 1rem 2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    border-radius: 8px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.spotlight-content {
    padding: 1.5rem;
}

.spotlight-content h3 {
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.spotlight-content p {
    color: #666;
    margin-bottom: 1rem;
}

.spotlight-link {
    color: var(--teal);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.spotlight-link:hover {
    color: var(--accent-coral);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
    color: var(--teal);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: #555;
}

/* Process/Steps Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--teal);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.step p {
    color: #666;
}

/* Contact Form */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--teal);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #6a9f9f;
}

/* Footer */
footer {
    background-color: var(--charcoal);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Footer Social Icons */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: var(--teal);
    transform: translateY(-2px);
}

.footer-social-icon {
    width: 20px;
    height: 20px;
}

/* Contact Page Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: white;
    border: 2px solid var(--teal);
    border-radius: 50px;
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.social-link:hover {
    background: var(--teal);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(126, 184, 184, 0.3);
}

.social-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

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

    .nav-brand {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }

    .nav-logo {
        height: 40px;
    }

    .nav-brand-text {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.25rem 0;
    }

    .nav-cta {
        padding: 0.5rem 1.25rem;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* ========================================
   MOBILE NAVIGATION - HAMBURGER MENU
   ======================================== */

/* Hide hamburger by default (desktop) */
.hamburger {
    display: none;
}

.mobile-overlay {
    display: none;
}

/* Mobile styles (768px and below) */
@media (max-width: 768px) {

    /* --- Hamburger Button --- */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        width: 44px; /* Minimum touch target */
        height: 44px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px;
        position: fixed;
        top: 8px;
        right: 8px;
        z-index: 1002;
        transition: all 0.3s ease;
    }

    .hamburger:hover {
        transform: scale(1.1);
    }

    .hamburger:focus {
        outline: 3px solid var(--teal);
        outline-offset: 2px;
        border-radius: 4px;
    }

    .hamburger-line {
        display: block;
        width: 26px;
        height: 3px;
        background-color: var(--charcoal);
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
    }

    /* Animated X when menu is open */
    .hamburger.active .hamburger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .hamburger.active .hamburger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* --- Mobile Overlay Backdrop --- */
    .mobile-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 280px; /* Don't cover the menu panel width */
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        pointer-events: none;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        backdrop-filter: blur(4px);
    }

    /* Adjust overlay for narrow screens */
    @media (max-width: 330px) {
        .mobile-overlay {
            right: 85%; /* Match menu max-width */
        }
    }

    /* --- Navigation Container --- */
    .nav-container {
        min-height: 60px;
        padding: 0.75rem 1rem;
    }

    .nav-logo {
        height: 40px;
    }

    /* --- Mobile Navigation Links --- */
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        max-width: 85%;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 80px 0 2rem 0;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    /* --- Mobile Menu Items --- */
    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.125rem;
        font-weight: 500;
        color: var(--charcoal);
        text-align: left;
        border-bottom: 1px solid var(--light-gray);
        transition: all 0.3s ease;
    }

    .nav-links a:hover,
    .nav-links a:focus {
        background-color: rgba(126, 184, 184, 0.1);
        color: var(--teal);
        padding-left: 2.5rem;
    }

    /* Current page indicator */
    .nav-links a.current-page {
        background-color: rgba(126, 184, 184, 0.15);
        border-left: 4px solid var(--teal);
    }

    /* --- Mobile CTA Button --- */
    .nav-links .nav-cta {
        margin: 1.5rem 2rem;
        padding: 0.875rem 1.75rem;
        text-align: center;
        border-radius: 30px;
        background-color: var(--teal);
        color: var(--white);
        border-bottom: none;
        box-shadow: 0 2px 8px rgba(126, 184, 184, 0.3);
    }

    .nav-links .nav-cta:hover {
        background-color: #6a9f9f;
        transform: translateY(-2px);
        padding-left: 1.75rem; /* Override the hover slide */
    }

    /* --- Prevent Body Scroll When Menu Open --- */
    body.menu-open {
        overflow: hidden;
    }
}
