/* css/responsive.css - Responsive Design Media Queries */

/* Extra Large Screens (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title .line-1 {
        font-size: 4rem;
    }
    
    .hero-title .line-2 {
        font-size: 6rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Screens (1200px to 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Medium Screens - Landscape Tablets (1024px to 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
    .container {
        max-width: 960px;
    }
    
    /* Navigation adjustments */
    .nav-menu {
        gap: 2rem;
    }
    
    /* Hero adjustments */
    .hero-title .line-1 {
        font-size: 3rem;
    }
    
    .hero-title .line-2 {
        font-size: 4rem;
    }
    
    /* Gallery adjustments */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* About section adjustments */
    .about-content {
        gap: 3rem;
    }
    
    .achievement h3 {
        font-size: 2.5rem;
    }
}

/* Tablets Portrait (768px to 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    /* Global adjustments */
    :root {
        --spacing-xxl: 6rem;
        --spacing-xl: 4rem;
    }
    
    .container {
        max-width: 720px;
        padding: 0 1.5rem;
    }
    
    /* Typography adjustments */
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 1.75rem; }
    
    /* Navigation becomes mobile */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--warm-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        gap: 2rem;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    /* Hide commission button on mobile */
    .nav-cta {
        display: none;
    }
    
    /* Hero adjustments */
    .hero {
        min-height: 80vh;
    }
    
    .hero-decoration {
        display: none;
    }
    
    .hero-title .line-1 {
        font-size: 2.5rem;
    }
    
    .hero-title .line-2 {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    /* Gallery adjustments */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* About adjustments */
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-image > div {
        height: 400px !important;
    }
    
    /* Contact adjustments */
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* Large Mobile / Small Tablets (576px to 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    /* Global adjustments */
    :root {
        --spacing-xxl: 5rem;
        --spacing-xl: 3.5rem;
        --spacing-lg: 2.5rem;
    }
    
    .container {
        max-width: 540px;
        padding: 0 1.25rem;
    }
    
    /* Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    body {
        font-size: 0.95rem;
    }
    
    /* Hide commission button */
    .nav-cta {
        display: none;
    }
    
    /* Hero */
    .hero {
        min-height: 70vh;
    }
    
    .hero-decoration {
        display: none;
    }
    
    .hero-title .line-1 {
        font-size: 2rem;
    }
    
    .hero-title .line-2 {
        font-size: 3rem;
    }
    
    .hero-buttons {
        gap: 1rem;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 350px;
    }
    
    /* About */
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image > div {
        height: 350px !important;
        border-radius: 10px !important;
    }
    
    .about-achievements {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .achievement h3 {
        font-size: 2rem;
    }
    
    /* Contact */
    .contact-form {
        padding: var(--spacing-md);
    }
}

/* Mobile Devices (up to 575px) */
@media (max-width: 575px) {
    /* Global adjustments */
    :root {
        --spacing-xxl: 4rem;
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
        --spacing-md: 1.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.375rem; }
    h4 { font-size: 1.125rem; }
    
    body {
        font-size: 0.9rem;
    }
    
    /* Navigation */
    #navbar {
        padding: 1rem 0;
    }
    
    .nav-brand a {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
        background: var(--warm-white);
    }
    
    .nav-link {
        font-size: 1.125rem;
    }
    
    /* Hide commission button completely on mobile */
    .nav-cta {
        display: none !important;
    }
    
    /* Hide botanical decorations on mobile */
    .botanical-header svg {
        display: none;
    }
    
    /* Hero */
    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }
    
    /* Hide hero decorations on mobile */
    .hero-decoration {
        display: none;
    }
    
    .organic-frame {
        padding: 2rem 1rem;
        border: none;
        background: rgba(250, 248, 243, 0.1);
    }
    
    .organic-frame::before {
        display: none;
    }
    
    .hero-title .line-1 {
        font-size: 1.75rem;
        margin-bottom: 0.25rem;
    }
    
    .hero-title .line-2 {
        font-size: 2.5rem;
    }
    
    .title-flourish {
        transform: scale(0.8);
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        padding: 0.75rem 2rem;
        font-size: 0.875rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    /* Quote Section */
    .quote-section {
        padding: var(--spacing-lg) 0;
    }
    
    .artist-quote {
        font-size: 1.5rem;
        padding: 0 1rem;
    }
    
    .quote-section::before {
        font-size: 6rem;
        left: 0;
        opacity: 0.05;
    }
    
    /* Gallery */
    .gallery-filters {
        gap: 0.5rem;
        padding: 0 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        min-width: 80px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .gallery-item img,
    .gallery-item .placeholder-img {
        height: 300px;
    }
    
    .overlay-content h3 {
        font-size: 1.25rem;
    }
    
    .overlay-content p {
        font-size: 0.85rem;
    }
    
    .item-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-view,
    .btn-offer {
        width: 100%;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .availability-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.75rem;
    }
    
    /* Lightbox */
    .lightbox-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .lightbox-info {
        padding: 1rem;
    }
    
    .lightbox-info h3 {
        font-size: 1.5rem;
    }
    
    .lightbox-info p {
        font-size: 1rem;
    }
    
    .lightbox-close {
        font-size: 2rem;
        top: 1rem;
        right: 1rem;
    }
    
    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .about-image > div {
        height: 300px !important;
        border-radius: 10px !important;
        width: 100% !important;
    }
    
    .about-image-decoration {
        display: none;
    }
    
    .about-text {
        padding: 1rem 0;
    }
    
    .about-text .lead {
        font-size: 1.125rem;
        text-align: center;
    }
    
    .about-text p {
        font-size: 0.95rem;
        text-align: left;
    }
    
    .about-achievements {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: var(--spacing-md);
        padding-top: var(--spacing-md);
    }
    
    .achievement {
        padding: 1rem;
        border-left: 3px solid var(--terracotta);
    }
    
    .achievement::after {
        display: none;
    }
    
    .achievement h3 {
        font-size: 2.5rem;
    }
    
    .achievement p {
        font-size: 0.8rem;
        white-space: normal;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        padding: 1rem;
        background: rgba(244, 241, 232, 0.3);
        border-radius: 10px;
    }
    
    .info-item h3 {
        font-size: 1.125rem;
    }
    
    .info-item p {
        font-size: 0.9rem;
    }
    
    .social-links {
        gap: 1rem;
        justify-content: center;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
    }
    
    .contact-form {
        padding: 1.5rem;
        border-radius: 10px;
    }
    
    .contact-form::before {
        width: 100%;
        height: 3px;
    }
    
    .contact-form::after {
        display: none;
    }
    
    .btn-submit {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        letter-spacing: 1px;
    }
    
    /* Modal */
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .modal-close {
        font-size: 1.5rem;
        top: 0.5rem;
        right: 0.5rem;
    }
    
    /* Footer */
    .footer {
        padding: var(--spacing-md) 0;
    }
    
    .footer-content p {
        font-size: 0.85rem;
    }
}

/* Extra Small Devices (up to 400px) */
@media (max-width: 400px) {
    /* Further refinements for very small screens */
    .hero-title .line-1 {
        font-size: 1.5rem;
    }
    
    .hero-title .line-2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .gallery-item img,
    .gallery-item .placeholder-img {
        height: 250px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .about-image > div {
        height: 250px !important;
    }
}

/* Landscape Mode Adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-content {
        padding-top: 2rem;
    }
    
    .hero-title .line-1 {
        font-size: 1.5rem;
    }
    
    .hero-title .line-2 {
        font-size: 2.5rem;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* Print Styles */
@media print {
    /* Hide non-essential elements */
    #navbar,
    .nav-toggle,
    .hero-buttons,
    .scroll-indicator,
    .filter-btn,
    .btn-view,
    .btn-offer,
    .social-links,
    .contact-form,
    #loader {
        display: none !important;
    }
    
    /* Adjust layout for print */
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
    
    .container {
        max-width: 100%;
    }
    
    section {
        page-break-inside: avoid;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item img {
        height: auto;
        max-height: 200px;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-background {
        transform: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --accent-gold: #ffb700;
        --soft-black: #000000;
        --pure-white: #ffffff;
    }
    
    .btn,
    .filter-btn {
        border-width: 3px;
    }
}