:root {
    --periwinkle: #CCCCFF;
    --lavender: #E6E6FA;
    --blue: #0047e6;
    --gray: #2b2b2b;
}

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

body {
    font-family: 'Pangolin', cursive;
    line-height: 1.6;
    background: var(--lavender) url('images/background.png') repeat;
    background-size: 200px;
    color: #333;
    margin: 0;
    min-height: 100vh;
}

.navbar {
    background-color: var(--periwinkle);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-brand {
    font-family: 'Pangolin', cursive;
    font-size: 1.5rem;
    font-weight: 400;
}

.nav-toggle {
    display: none;
}

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

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-family: 'Pangolin', cursive;
    transition: color 0.3s;
}

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

@media (max-width: 768px) {
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-toggle {
        display: block;
        background: none;
        border: none;
        padding: 0.5rem;
        cursor: pointer;
    }

    .hamburger {
        display: block;
        position: relative;
    }

    .hamburger,
    .hamburger::before,
    .hamburger::after {
        width: 2em;
        height: 3px;
        background: var(--gray);
        transition: transform 0.3s, opacity 0.3s;
    }

    .hamburger.active {
        transform: rotate(45deg);
    }

    .hamburger.active::before {
        transform: translate(0, 6px);
        opacity: 0;
    }

    .hamburger.active::after {
        transform: translate(0, -6px) rotate(-90deg);
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        left: 0;
    }

    .hamburger::before { top: -6px; }
    .hamburger::after { bottom: -6px; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-links.show {
        display: flex;
    }
}

header {
    background-color: var(--periwinkle);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1 {
    font-family: 'Pangolin', cursive;
    font-size: 3.2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    padding: 0 1rem;
    text-align: center;
    line-height: 1.2;
}

h1::before,
h1::after {
    font-family: 'Font Awesome 6 Free';
    content: '\f1fc';
    display: inline-block;
    font-weight: 900;
    font-size: 2.1rem;
    color: var(--gray);
    transform: translateY(3px);
}

h1::after {
    transform: translateY(2px) scaleX(-1);
}

.tagline {
    font-size: 1.2rem;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    margin-bottom: 4rem;
}

section {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h2 {
    color: var(--gray);
    margin-bottom: 1rem;
    font-weight: 400;
}

.contact-section {
    text-align: center;
}

.contact-info {
    text-align: center;
}

.contact-button {
    display: block;
    background-color: var(--periwinkle);
    color: #333;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    margin: 1rem auto;
    width: fit-content;
    transition: transform 0.2s;
}

.contact-button:hover {
    transform: translateY(-2px);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.pricing-table th,
.pricing-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    border-right: 1px solid rgba(0,0,0,0.05);
}

.pricing-table th:last-child,
.pricing-table td:last-child {
    border-right: none;
}

.pricing-table tbody tr:nth-child(even) {
    background-color: rgba(0,0,0,0.02);
}

.pricing-table td:first-child {
    font-weight: 600;
    color: var(--gray);
}

.pricing-table td:last-child {
    font-weight: 600;
    color: var(--gray);
}

.pricing-table tfoot td {
    text-align: center;
    color: var(--gray);
    font-size: 0.95rem;
    padding: 0.8rem;
    background: rgba(0,0,0,0.01);
}

.pricing-table th {
    background: var(--periwinkle);
    color: var(--gray);
    font-family: 'Pangolin', cursive;
    font-size: 1.1rem;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tbody tr:hover {
    background: var(--light-gray);
}

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

.media-item {
    background: var(--periwinkle);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.2s;
}

.media-item:hover {
    transform: translateY(-5px);
}

.media-item h3 {
    font-family: 'Pangolin', cursive;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--gray);
}

.tagline {
    font-family: 'Pangolin', cursive;
    font-size: 1.6rem;
    color: var(--gray);
}

h2 {
    font-family: 'Pangolin', cursive;
    font-size: 2.5rem;
    color: var(--gray);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

.portfolio-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}

.portfolio-item h3 {
    margin: 1rem 0 0.5rem;
    height: 1.6em;
    line-height: 1.6em;
    font-size: 1.2rem;
    overflow: hidden;
}

.portfolio-item p {
    margin: 0;
    height: 1.5em;
    line-height: 1.5em;
    font-size: 0.95rem;
    color: #666;
}

.portfolio-item .img-container {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.portfolio-item img {
    cursor: zoom-in;
    max-width: 100%;
    max-height: 250px;
    width: auto;
    height: auto;
    border-radius: 4px;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.placeholder-art {
    background: var(--periwinkle);
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-family: 'Pangolin', cursive;
    font-size: 1.2rem;
    color: #555;
    cursor: zoom-in;
    transition: transform 0.2s;
}

.placeholder-art:hover {
    transform: scale(1.02);
}

.about-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
}

.materials {
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.about-text {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.about-images {
    display: flex;
    gap: 1rem;
}

.about-image {
    max-width: 50%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: var(--periwinkle);
    width: 100%;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
    position: fixed;
    bottom: 0;
    left: 0;
}

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

footer a:hover {
    color: var(--blue);
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    cursor: zoom-out;
}

.overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.overlay .placeholder-art {
    width: 80%;
    max-width: 800px;
    height: 500px;
    font-size: 2rem;
    background: var(--periwinkle);
}

.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}