/* Scroll padding for smooth scrolling */
html {
    scroll-padding-top: 50px;
}

/* Test */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #E47B00;
    --secondary-color: #FF9933;
    --accent-color: #FFB84D;
    --text-light: #FFF8F0;
    --text-dark: #8B4513;
    --bg-light: #FFF8F0;
    --bg-dark: #CC5500;
    --bg-gray: #FFE5CC;
    --border-color: #FFB84D;
    --shadow-light: 0 2px 10px rgba(228, 123, 0, 0.1);
    --shadow-medium: 0 5px 20px rgba(228, 123, 0, 0.15);
    --shadow-heavy: 0 10px 40px rgba(228, 123, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Gaegu', 'Inter', 'Playfair Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h2, h3, h4, h5, h6 {
    font-family: 'Gaegu', 'Inter', 'Playfair Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.hero-title {
    font-family: 'Gaegu', 'Inter', 'Playfair Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
    opacity: 0.8;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0px;
    width: 100%;
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    margin-left: -20px;
    padding-left: 30px;
}

.nav-logo h1 {
    font-family: 'Gaegu', 'Inter', 'Playfair Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 3rem;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.5rem;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 25%, #FF6347 50%, #FFA500 75%, #FFB84D 100%);
    position: relative;
    overflow: hidden;
    padding: 0 20px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .hero {
        padding: 0 15px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    margin-top: 50px;
    grid-template-columns: 1fr 1.3fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

.hero-title {
    font-size: 5.5rem;
    color: var(--text-light);
    margin-bottom: 0;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-top: -0.8rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.6rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.4s both;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    max-width: min(90vw, 750px);
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    margin: 0 auto;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    cursor: pointer;
    pointer-events: auto;
}

.carousel-slide a:hover img {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 25;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.carousel-btn:hover {
    background: var(--text-light);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 30;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--text-light);
    transform: scale(1.2);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background: #FFB84D;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Art Section */
.art-section {
    padding: 5rem 0;
    background: var(--bg-gray);
}

.art-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 1.5rem;
}

.art-item {
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.art-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.art-image {
    width: 100%;
    height: 600px;
    background: linear-gradient(45deg, #FFB84D 0%, #FF9933 100%);
    position: relative;
    overflow: hidden;
}

.art-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.art-item:nth-child(3) .art-image img {
    object-fit: contain;
}

.art-item:nth-child(3) .art-image {
    height: 650px;
}

/* Make artwork with id=4 (Choices) image container larger to match */
.art-item[data-id="4"] .art-image {
    height: 650px;
}

/* Make artwork with id=3 image larger */
.art-item[data-id="3"] .art-image img {
    transform: scale(1.08); /* adjust this number */
    object-fit: contain;
}

/* Make artwork with id=4 (Choices) image larger to match */
.art-item[data-id="4"] .art-image img {
    transform: scale(1.08) rotate(-0.5deg) translateX(2%);
    object-fit: contain;
}

.art-info {
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.art-title {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.art-description {
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 0.8rem;
    flex-grow: 1;
    min-height: 3em;
}

.art-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.art-actions {
    display: flex;
    gap: 1rem;
    opacity: 1 !important;
    visibility: visible !important;
}

.add-to-cart-btn {
    border: 2px solid #FF8C00 !important;
    color: #FF8C00 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Purchase button styling */
.purchase-btn {
    border: 2px solid #FF8C00 !important;
    color: #FF8C00 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Modal Purchase button styling */
.art-modal-content .add-to-cart-btn {
    background: #FF8C00 !important;
    color: #FFFFFF !important;
    border: none !important;
}

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

/* Films Section */
.films-section {
    padding: 2rem 0 5rem;
    background: var(--bg-light);
    text-align: center;
    margin-top: 25px;
}

.films-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 5rem;
}

.film-item {
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.film-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.film-thumbnail {
    width: 100%;
    height: 260px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

.film-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--text-light);
}

.play-button i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-left: 3px;
}

.film-info {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    border: 2px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 15px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

.film-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.film-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.film-title a:hover {
    color: var(--secondary-color);
}

.film-description {
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.film-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    opacity: 0.7;
    margin-top: auto;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--bg-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-dark);
    opacity: 0.8;
}

.about-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #FFB84D 0%, #FF9933 100%);
    border-radius: 15px;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center 70%;
    border-radius: 15px;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--secondary-color);
    width: 24px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--bg-gray);
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    position: relative;
    background-color: var(--bg-light);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding-bottom: 2rem;
    animation: slideIn 0.3s ease-out;
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
}

.close:hover {
    color: var(--secondary-color);
}

.art-modal-content {
    max-width: 1000px;
}

.art-d/* Special case for 2-image sections */
.alphabet-soup .bts-item {
    justify-content: center; /* Center the entire item */
}

.alphabet-soup .bts-images {
    grid-template-columns: 1fr 1fr;
}

.art-detail {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.art-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    max-height: 35vh;
    object-fit: contain;
}

.art-detail-info h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.art-details {
    margin: 1.5rem 0;
}

.art-details p {
    margin-bottom: 0.5rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.art-details strong {
    padding-right: 0.5rem;
}

.art-details p:nth-child(2) {
    display: block;
    margin-top: 0.25rem;
}

.art-details p:nth-child(3) {
    display: block;
    margin-top: 0.25rem;
}

.art-details p:last-child {
    display: block;
    margin-top: 0.25rem;
}

.art-details span {
    white-space: nowrap;
}

#modal-art-includes {
    white-space: nowrap;
    display: inline;
}

.art-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.art-price h3 {
    color: var(--secondary-color);
    margin-bottom: 0;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.modal-buttons button {
    flex: 1;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

.cart-modal .modal-content {
    max-width: 600px;
}

#cart-items {
    margin: 2rem 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-total {
    text-align: right;
    margin-top: 2rem;
    margin-right: 16px;
}

.checkout-btn {
    width: 100%;
    margin-top: 1rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Shopping Cart */
.cart-icon {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-heavy);
    transition: var(--transition);
    z-index: 999;
}

.cart-icon:hover {
    transform: scale(1.1);
    background: #FFB84D;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: var(--text-light);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Modal image scaling for larger screens */
@media (min-width: 700px) {
    .art-detail-image img {
        max-width: 100%;
        max-height: 40vh;
        margin: 0 auto;
        display: block;
    }
    
    .art-detail {
        gap: 0.5rem;
    }
    
    .modal-content {
        margin: 1% auto;
        padding: 0.5rem 1.5rem 1.5rem 1.5rem;
        max-height: 95vh;
    }
    
    .art-details {
        margin: 0.5rem 0;
    }
    
    .art-details p {
        margin-bottom: 0.2rem;
    }
    
    .film-thumbnail {
        height: 320px;
    }
}

/* Responsive Design */
@media (max-width: 850px) {
    .hamburger {
        display: flex;
    }
    
    /* Navigation mobile fixes */
    .nav-logo {
        margin-left: -10px;
    }
    
    .nav-logo h1 {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        position: fixed;
        left: 0;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-light);
        width: 100%;
        text-align: center;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
        z-index: 999;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 20px;
        margin-top: 80px;
    }
    
    .hero-title {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .hero-placeholder {
        width: 300px;
        height: 300px;
    }
    
    .hero-carousel {
        width: 100%;
        max-width: 550px;
        aspect-ratio: 16/9;
        margin: 0 auto;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .about-section .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        display: none;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .about-image {
        max-width: 300px;
        margin: 0 auto 0.5rem auto;
        position: relative;
    }
    
    .about-image::before {
        content: "About Mya";
        display: block;
        text-align: center;
        font-size: 3rem;
        font-weight: 600;
        color: var(--primary-color);
        margin-bottom: 1rem;
    }
    
    .about-image img {
        height: 250px;
        border-radius: 15px;
    }
    
    .about-stats {
        justify-content: space-around;
        padding: 0;
        margin-top: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .art-detail {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .art-filters {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    /* Section spacing fixes */
    .art-section {
        padding: 4rem 0;
    }
    
    .contact-section {
        padding: 5rem 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* Art gallery mobile fixes */
    .art-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .art-item {
        margin-bottom: 1rem;
    }
    
    /* Film grid mobile fixes */
    .films-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* BTS mobile fixes */
    .bts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .bts-item {
        padding: 2rem 1rem;
    }
    
    /* Modal mobile fixes */
    .art-modal-content {
        width: 95%;
        margin: 2% auto;
        padding: 1rem;
    }
    
    .art-detail {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .art-detail-image img {
        max-height: 40vh;
    }
    
    .art-detail-info h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .art-details {
        margin: 1rem 0;
    }
    
    .art-details p {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .art-details strong {
        padding-right: 0.3rem;
    }
    
    .art-price {
        gap: 0.8rem;
    }
    
    .modal-buttons button {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Increase font sizes for better readability on mobile */
    body {
        font-size: 1.3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    h3 {
        font-size: 1.9rem;
    }
    
    p {
        font-size: 1.3rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-carousel {
        width: 100%;
        max-width: 95vw;
        aspect-ratio: 16/9;
        margin: 0 auto;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .prev-btn {
        left: 5px;
    }
    
    .next-btn {
        right: 5px;
    }
    
    .carousel-indicators {
        bottom: 15px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
        
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Tighter spacing for small screens */
    section {
        padding: 3rem 0;
    }
    
    .hero-content {
        gap: 1.5rem;
        padding: 0 15px;
    }
    
    .hero-buttons {
        gap: 0.8rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Art grid for small screens */
    .art-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .art-item {
        margin-bottom: 1rem;
    }
    
    /* BTS for small screens */
    .bts-item {
        padding: 1.5rem 1rem;
    }
    
    /* Disable hover effects on mobile for immediate click response */
    .bts-item:hover {
        transform: none;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
    
    .bts-item:hover .bts-images img {
        transform: none;
    }
    
    .bts-images img {
        transition: none;
        pointer-events: auto;
    }
    
    .bts-images img:hover {
        opacity: 1;
        transform: none;
    }
    
    .bts-images img:active {
        opacity: 0.9;
    }
    
    /* Contact form for small screens */
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-control {
        padding: 0.8rem;
    }
    
    /* Navigation for small screens */
    .nav-logo {
        margin-left: 0;
    }
    
    .nav-logo h1 {
        font-size: 2rem;
    }
    
    .nav-menu {
        top: 60px;
    }
    
    /* Footer for small screens */
    .footer {
        padding: 2rem 0;
    }
}

/* Responsive BTS Grid */
@media (max-width: 850px) {
    .bts-grid {
        gap: 2rem;
    }
}

/* Behind the Scenes Section */
.behind-the-scenes {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.subsection-title {
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.subsection-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    text-align: center;
}

.bts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-top: 2rem;
}

.bts-item {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: center;
}

.bts-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.bts-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bts-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.bts-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.bts-images {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    height: 100%;
    min-height: 180px; /* Unified height for all sections */
}

/* Bug Hotel section height - make it even bigger */
.bts-item:nth-child(1) .bts-images {
    min-height: 260px; /* Even bigger than other sections */
}

.bts-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.bts-item:hover .bts-images img {
    transform: scale(1.05);
}

.bts-images img:first-child {
    border-top-right-radius: 12px;
}

.bts-images img:last-child {
    border-bottom-right-radius: 12px;
}

/* Responsive BTS Grid */
@media (max-width: 768px) {
    .bts-grid {
        gap: 2rem;
    }
    
    .bts-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .bts-content {
        padding: 1.5rem;
    }
    
    .bts-content h4 {
        font-size: 1.3rem;
    }
    
    .bts-content p {
        font-size: 0.95rem;
    }
    
    .bts-images {
        min-height: 200px;
    }
    
    .bts-images img {
        border-radius: 8px;
    }
    
    .bts-images img:first-child,
    .bts-images img:last-child {
        border-radius: 8px;
    }
    
    .bts-images img:first-child {
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }
    
    .bts-images img:last-child {
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
    }
    
    .alphabet-soup .bts-images img:first-child,
    .alphabet-soup .bts-images img:last-child {
        border-radius: 8px;
    }
    
    .alphabet-soup .bts-images img:first-child {
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }
    
    .alphabet-soup .bts-images img:last-child {
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
    }
}

@media (max-width: 480px) {
    .behind-the-scenes {
        margin-top: 3rem;
        padding-top: 2rem;
    }
    
    .subsection-title {
        font-size: 1.8rem;
        display: block;
    }
    
    .subsection-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .bts-grid {
        gap: 1.5rem;
    }
    
    .bts-item {
        gap: 1rem;
    }
    
    .bts-content {
        padding: 1.2rem;
    }
    
    .bts-content h4 {
        font-size: 1.2rem;
    }
    
    .bts-content p {
        font-size: 0.9rem;
    }
    
    .bts-images {
        min-height: 180px;
        gap: 0.3rem;
    }
    
    .bts-images img {
        border-radius: 8px;
    }
}

/* BTS Modal Styles */
.bts-modal-image {
    text-align: center;
    margin-bottom: 0.5rem;
}

.bts-modal-image img {
    max-width: 100%;
    max-height: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.bts-modal-info {
    text-align: center;
    padding-top: 0;
    max-width: 100%;
}

.bts-modal-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.bts-modal-info h3.project-title {
    display: none; /* Hide the title in modal */
}

.bts-modal-info p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-dark);
    text-align: center;
    margin: 0 auto;
    max-width: 600px;
}

/* BTS modal centered by default */
#bts-modal .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    animation: none;
    padding: 1rem;
    min-height: auto;
}

/* BTS modal close button positioning */
#bts-modal .close {
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Desktop override for BTS modal */
@media (min-width: 851px) {
    #bts-modal .modal-content {
        position: relative;
        margin: 5% auto;
        top: auto;
        left: auto;
        transform: none;
        padding: 2rem;
        min-height: 600px;
        padding-bottom: 2rem;
        animation: slideIn 0.3s ease-out;
    }
    
    #bts-modal .close {
        right: 1rem;
        top: 1rem;
    }
}

/* BTS Image Click Cursor */
.bts-images img {
    cursor: pointer;
}

.bts-images img:hover {
    opacity: 0.9;
}

/* Disable all hover effects on touch devices */
@media (hover: none) and (pointer: coarse) {
    .bts-item {
        transition: none;
    }
    
    .bts-item:hover {
        transform: none;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
    
    .bts-images img {
        transition: none !important;
    }
    
    .bts-item:hover .bts-images img {
        transform: none !important;
    }
    
    .bts-images img:hover {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Loading spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Cart header */
.cart-header {
    display: grid;
    grid-template-columns: 30px 2fr 1fr;
    gap: 0;
    padding: 1rem;
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cart-header h4 {
    font-size: 1.1rem;
    margin: 0;
}

.cart-header .price-header {
    text-align: right;
    font-size: 1.1rem;
    margin: 0;
}

.cart-header .action-header {
    text-align: center;
    font-size: 0.9rem;
    margin: 0;
}

/* Cart item layout */
.cart-item {
    display: grid;
    grid-template-columns: 30px 2fr 1fr;
    gap: 0;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-item .item-info {
    display: flex;
    flex-direction: column;
}

.cart-item .price-info {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
    padding-right: 0;
    margin: 0;
}

.cart-item .action-info {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Cart total alignment */
.cart-total {
    text-align: right;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-left: 0px;
}

/* Remove from cart button styles */
.remove-from-cart {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #8B4513;
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    margin-left: -50px;
    margin-top: -15px;
}

.remove-from-cart:hover {
    background: #A0522D;
    transform: scale(1.1);
}

.remove-from-cart i {
    font-size: 0.6rem;
}

/* Cart item font sizes */
.cart-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cart-item p {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.cart-item span {
    font-size: 1.1rem;
    font-weight: 600;
}
