/* Import dyslexia-friendly font */
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400;700&display=swap');

/* CSS Variables for consistent theming */
:root {
    --primary-blue: #87CEEB;
    --soft-pink: #FFB6C1;
    --cream: #FFF8DC;
    --lavender: #E6E6FA;
    --sage: #9CAF88;
    --coral: #FF9999;
    --white: #FFFFFF;
    --text-dark: #2F4F4F;
    --text-light: #708090;
    --shadow: rgba(0, 0, 0, 0.1);
    --gradient-bg: linear-gradient(135deg, var(--cream) 0%, var(--lavender) 50%, var(--primary-blue) 100%);
    --border-radius: 20px;
    --transition: all 0.3s ease;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Atkinson Hyperlegible', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--gradient-bg);
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px var(--shadow);
    border-bottom: 3px solid var(--primary-blue);
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    font-size: 0.9rem;
}

.nav-link:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Mobile menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: var(--gradient-bg);
    overflow: hidden;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px var(--shadow);
}

.hero-subtitle {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-decorations {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.decoration {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

.decoration:nth-child(2) {
    animation-delay: 0.5s;
}

.decoration:nth-child(3) {
    animation-delay: 1s;
}

/* Floating elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bubble {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.bubble-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.bubble-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.bubble-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

/* Section styling */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-decoration {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

/* About Section */
.about {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    margin: 2rem;
    box-shadow: 0 10px 30px var(--shadow);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.portrait-frame {
    background: var(--primary-blue);
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: 0 10px 30px var(--shadow);
    transform: rotate(-2deg);
    transition: var(--transition);
}

.portrait-frame:hover {
    transform: rotate(0deg) scale(1.05);
}

.portrait-placeholder {
    background: var(--cream);
    border-radius: calc(var(--border-radius) - 5px);
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 700;
}

.about-text {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow);
}

.about-intro {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.fan-name {
    background: var(--lavender);
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-blue);
    font-style: italic;
}

/* Gallery Carousel Section */
.gallery {
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius);
    margin: 2rem;
    padding: 4rem 2rem;
    box-shadow: 0 10px 30px var(--shadow);
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: var(--border-radius);
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
}

.carousel-slide {
    min-width: 300px;
    flex-shrink: 0;
}

.carousel-card {
    background: var(--cream);
    border-radius: var(--border-radius);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.carousel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow);
}

.carousel-placeholder {
    line-height: 1.4;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
    box-shadow: 0 5px 15px var(--shadow);
}

.carousel-btn:hover {
    background: var(--sage);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.5;
}

.indicator.active {
    background: var(--primary-blue);
    opacity: 1;
    transform: scale(1.2);
}

/* Commission Info Section */
.commission-info {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    margin: 2rem;
    box-shadow: 0 10px 30px var(--shadow);
}

.commission-content {
    max-width: 1000px;
    margin: 0 auto;
}

.special-sale {
    background: linear-gradient(45deg, var(--coral), var(--soft-pink));
    color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px var(--shadow);
    animation: pulse 2s infinite;
    text-align: center;
}

.sale-tag {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sale-text {
    font-size: 1rem;
    opacity: 0.9;
}

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

.commission-type {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
    border: 3px solid transparent;
    transition: var(--transition);
}

.commission-type:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.commission-type h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.price-range {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.commission-details {
    list-style: none;
    text-align: left;
}

.commission-details li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.commission-details li:before {
    content: "🌊";
    position: absolute;
    left: 0;
}

.commission-process {
    background: var(--lavender);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.commission-process h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-size: 1.5rem;
}

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

.step {
    text-align: center;
}

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

.step h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Order Form Section */
.order-form {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    margin: 2rem;
    box-shadow: 0 10px 30px var(--shadow);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.commission-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--lavender);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(135, 206, 235, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.terms-link {
    color: var(--primary-blue);
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

.submit-btn {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    box-shadow: 0 5px 15px var(--shadow);
}

.submit-btn:hover {
    background: var(--sage);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow);
}

.form-message {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
    margin-top: 2rem;
}

.form-message.success {
    border-left: 4px solid var(--sage);
}

.form-message h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.form-message p {
    color: var(--text-light);
}

/* Terms Section */
.terms {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    margin: 2rem;
    box-shadow: 0 10px 30px var(--shadow);
}

.terms-content {
    max-width: 1000px;
    margin: 0 auto;
}

.terms-section {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
}

.terms-section h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.terms-section ul {
    list-style: none;
    padding: 0;
}

.terms-section li {
    margin-bottom: 0.75rem;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.terms-section li:before {
    content: "•";
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.terms-footer {
    background: var(--lavender);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.terms-footer p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.terms-footer p:last-child {
    margin-bottom: 0;
    font-weight: 500;
    color: var(--text-dark);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-blue), var(--lavender));
    color: var(--white);
    position: relative;
    margin-top: 4rem;
}

.wave-decoration {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-decoration svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

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

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-text {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

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

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-icon {
    font-size: 1.2rem;
}

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

.copyright {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-decorations {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.footer-decorations .decoration {
    font-size: 1.2rem;
    opacity: 0.7;
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-30px) rotate(3deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        backdrop-filter: blur(10px);
        padding: 2rem 0;
        gap: 0.5rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .carousel-slide {
        min-width: 280px;
    }
    
    .prev-btn, .next-btn {
        display: none;
    }
    
    .commission-types {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .hero-decorations {
        gap: 1rem;
    }
    
    .decoration {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container, .nav-container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .carousel-slide {
        min-width: 250px;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .about, .gallery, .commission-info, .order-form, .terms {
        margin: 1rem;
        padding: 2rem 1rem;
    }
    
    .commission-form {
        padding: 1.5rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow: rgba(0, 0, 0, 0.3);
        --text-light: var(--text-dark);
    }
    
    .nav-link:hover,
    .submit-btn:hover {
        background: var(--text-dark);
        color: var(--white);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus indicators for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
.nav-link:focus {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}