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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8f9fa;
}

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

/* Typography */
h1, h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #34495e;
    margin-bottom: 1.5rem;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 73, 94, 0.8), rgba(44, 62, 80, 0.6));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    padding: 2rem;
}

.site-title {
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.tagline {
    font-size: 1.3rem;
    color: #ecf0f1;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Introduction Section */
.introduction {
    padding: 4rem 0;
    background-color: #ffffff;
    text-align: center;
}

.introduction .container {
    max-width: 800px;
}

.introduction p {
    color: #5a6c7d;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Poster Gallery Section */
.poster-gallery {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.poster-gallery h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.slider-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.image-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background-color: #f8f9fa;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    transform: scale(0.95);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #ffffff;
    padding: 2rem 1.5rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-btn:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

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

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

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

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #34495e;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: #34495e;
    transform: scale(1.2);
}

/* Poster Details Section */
.poster-details {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.poster-details h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #34495e;
}

.poster-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.poster-description > p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #5a6c7d;
    margin-bottom: 3rem;
}

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

.spec-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spec-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.spec-item h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.spec-item p {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 0;
}

.spec-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-item ul li {
    color: #5a6c7d;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ecf0f1;
    font-size: 1.1rem;
}

.spec-item ul li:last-child {
    border-bottom: none;
}

.spec-item ul li::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background-color: #ffffff;
    text-align: center;
}

.cta-section .container {
    max-width: 600px;
}

.cta-section p {
    margin-bottom: 2rem;
    color: #5a6c7d;
}

.etsy-btn {
    display: inline-block;
    background: linear-gradient(135deg, #f4511e, #ff6b35);
    color: #ffffff;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 81, 30, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.etsy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 81, 30, 0.4);
    background: linear-gradient(135deg, #ff6b35, #f4511e);
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

footer p:last-child {
    opacity: 0.8;
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 50vh;
        min-height: 350px;
    }

    .container {
        padding: 0 15px;
    }

    .introduction,
    .poster-gallery,
    .poster-details,
    .cta-section {
        padding: 3rem 0;
    }

    .image-slider {
        height: 450px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .slide-caption {
        padding: 1.5rem 1rem 1rem;
        font-size: 1rem;
    }

    .canvas-specs {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .spec-item {
        padding: 1.5rem;
    }

    .spec-item h3 {
        font-size: 1.2rem;
    }

    .etsy-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 40vh;
        min-height: 300px;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .image-slider {
        height: 350px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .slide-caption {
        font-size: 0.9rem;
    }

    p {
        font-size: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for better accessibility */
.slider-btn:focus,
.dot:focus,
.etsy-btn:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-overlay {
        background: rgba(0, 0, 0, 0.9);
    }
    
    .slider-btn {
        background: #ffffff;
        border: 2px solid #000000;
    }
}
