/* ==========================================================================
   Sustainable Fashion Dyeing Service - Responsive CSS
   Mobile-First Approach
   ========================================================================== */

/* Base Mobile Styles (Default) */
.container {
    padding: 0 1rem;
}

.hero-section {
    min-height: 90vh;
    padding: 1rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.hero-section .col-lg-6 {
    margin-bottom: 2rem;
}

.hero-section img {
    max-width: 100%;
    height: auto;
}

/* Navigation */
.navbar-brand {
    font-size: 1.25rem !important;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
}

/* Sections */
.section {
    padding: 2rem 0;
}

.about-section,
.services-section,
.features-section,
.priceplan-section,
.team-section,
.reviews-section,
.casestudy-section,
.process-section,
.timeline-section,
.career-section,
.coreinfo-section,
.contact-section,
.blog-section,
.faq-section,
.gallery-section {
    padding: 2rem 0;
}

.about-section h2,
.services-section h2,
.features-section h2,
.priceplan-section h2,
.team-section h2,
.reviews-section h2,
.casestudy-section h2,
.process-section h2,
.timeline-section h2,
.career-section h2,
.coreinfo-section h2,
.contact-section h2,
.blog-section h2,
.faq-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-section p,
.services-section p,
.features-section p,
.priceplan-section p,
.team-section p,
.reviews-section p,
.casestudy-section p,
.process-section p,
.timeline-section p,
.career-section p,
.coreinfo-section p,
.contact-section p,
.blog-section p,
.faq-section p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Feature Boxes */
.feature-box {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
}

.feature-box i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-box h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.feature-box p {
    font-size: 0.875rem;
}

/* Service Cards */
.service-card {
    margin-bottom: 2rem;
    padding: 1.5rem;
}

.service-card img {
    height: 150px;
    margin-bottom: 1rem;
}

.service-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.service-card .price {
    font-size: 1.25rem;
    margin-top: 1rem;
}

/* Price Cards */
.price-card {
    margin-bottom: 2rem;
    padding: 2rem 1.5rem;
}

.price-card.featured {
    transform: none;
    margin-bottom: 2rem;
}

.price-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.price-card p {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.price-card .price {
    font-size: 1.5rem;
    margin-top: 1rem;
}

/* Team Members */
.team-member {
    margin-bottom: 2rem;
}

.team-member img {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
    border-width: 2px;
}

.team-member h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.team-member p {
    font-size: 0.875rem;
}

/* Review Cards */
.review-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
}

.review-card p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.review-card h5 {
    font-size: 1rem;
}

/* Process Steps */
.process-step {
    margin-bottom: 2rem;
}

.step-number {
    width: 50px;
    height: 50px;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.process-step h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.875rem;
}

/* Timeline */
.timeline {
    padding-left: 1rem;
}

.timeline::before {
    left: 15px;
}

.timeline-item {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.timeline-item::before {
    left: -8px;
    width: 12px;
    height: 12px;
    top: 3px;
}

.timeline-item h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    font-size: 0.875rem;
}

/* Career Items */
.career-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
}

.career-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.career-item p {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* Info Items */
.info-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
}

.info-item h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    font-size: 0.875rem;
}

/* Contact Section */
.contact-info {
    margin-top: 2rem;
    padding: 1.5rem;
}

.contact-info p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.contact-info i {
    margin-right: 0.5rem;
    width: 18px;
}

/* Forms */
.form-control {
    padding: 0.75rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
}

/* Blog Items */
.blog-item {
    margin-bottom: 2rem;
}

.blog-item img {
    height: 150px;
}

.blog-item h4 {
    font-size: 1.125rem;
    margin: 1rem 1rem 0.5rem;
}

.blog-item p {
    font-size: 0.875rem;
    margin: 0 1rem;
}

.blog-item a {
    font-size: 0.875rem;
    margin: 1rem;
}

/* FAQ */
.accordion-item {
    margin-bottom: 0.5rem;
}

.accordion-button {
    font-size: 0.9rem;
    padding: 1rem;
}

.accordion-body {
    font-size: 0.875rem;
    padding: 1rem;
}

/* Gallery */
.gallery-section [class*="col-"] {
    margin-bottom: 1rem;
}

.gallery-section img {
    height: 150px;
    margin-bottom: 1rem;
}

/* Footer */
.footer-section {
    padding: 2rem 0;
}

.footer-section h5 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-section p {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-section small {
    font-size: 0.75rem;
}

.footer-section [class*="col-"] {
    margin-bottom: 2rem;
}

/* Element Cards for Additional Pages */
.element-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
}

.element-card img {
    height: 120px;
    margin-bottom: 1rem;
}

.element-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.element-card p {
    font-size: 0.875rem;
}

/* Breadcrumb */
.breadcrumb-section {
    padding: 0.5rem 0;
}

.breadcrumb-img {
    height: 20px;
}

/* Utility Classes for Mobile */
.text-center-mobile {
    text-align: center;
}

.mb-mobile-3 {
    margin-bottom: 1rem;
}

.mt-mobile-3 {
    margin-top: 1rem;
}

/* ==========================================================================
   Tablet Styles (768px and up)
   ========================================================================== */

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-section {
        min-height: 100vh;
        padding: 2rem 0;
    }

    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .hero-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-section .col-lg-6 {
        margin-bottom: 0;
    }

    .hero-section .row {
        align-items: center;
    }

    /* Navigation */
    .navbar-brand {
        font-size: 1.5rem !important;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }

    /* Sections */
    .about-section,
    .services-section,
    .features-section,
    .priceplan-section,
    .team-section,
    .reviews-section,
    .casestudy-section,
    .process-section,
    .timeline-section,
    .career-section,
    .coreinfo-section,
    .contact-section,
    .blog-section,
    .faq-section,
    .gallery-section {
        padding: 3rem 0;
    }

    .about-section h2,
    .services-section h2,
    .features-section h2,
    .priceplan-section h2,
    .team-section h2,
    .reviews-section h2,
    .casestudy-section h2,
    .process-section h2,
    .timeline-section h2,
    .career-section h2,
    .coreinfo-section h2,
    .contact-section h2,
    .blog-section h2,
    .faq-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .about-section p,
    .services-section p,
    .features-section p,
    .priceplan-section p,
    .team-section p,
    .reviews-section p,
    .casestudy-section p,
    .process-section p,
    .timeline-section p,
    .career-section p,
    .coreinfo-section p,
    .contact-section p,
    .blog-section p,
    .faq-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Feature Boxes */
    .feature-box {
        margin-bottom: 2rem;
        padding: 2rem;
    }

    .feature-box i {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .feature-box h4 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .feature-box p {
        font-size: 0.9rem;
    }

    /* Service Cards */
    .service-card {
        margin-bottom: 2rem;
        padding: 2rem;
    }

    .service-card img {
        height: 180px;
        margin-bottom: 1.5rem;
    }

    .service-card h4 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .service-card p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .service-card .price {
        font-size: 1.5rem;
        margin-top: 1.5rem;
    }

    /* Price Cards */
    .price-card {
        margin-bottom: 2rem;
        padding: 2.5rem 2rem;
    }

    .price-card.featured {
        transform: scale(1.02);
        margin-bottom: 2rem;
    }

    .price-card h4 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .price-card p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .price-card .price {
        font-size: 2rem;
        margin-top: 1.5rem;
    }

    /* Team Members */
    .team-member {
        margin-bottom: 2rem;
    }

    .team-member img {
        width: 130px;
        height: 130px;
        margin-bottom: 1.5rem;
        border-width: 3px;
    }

    .team-member h5 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }

    .team-member p {
        font-size: 0.9rem;
    }

    /* Review Cards */
    .review-card {
        margin-bottom: 2rem;
        padding: 2rem;
    }

    .review-card p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .review-card h5 {
        font-size: 1.125rem;
    }

    /* Process Steps */
    .process-step {
        margin-bottom: 2rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .process-step h5 {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }

    .process-step p {
        font-size: 0.9rem;
    }

    /* Timeline */
    .timeline {
        padding-left: 2rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        padding-left: 3rem;
        margin-bottom: 2rem;
    }

    .timeline-item::before {
        left: -8px;
        width: 16px;
        height: 16px;
        top: 5px;
    }

    .timeline-item h5 {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }

    .timeline-item p {
        font-size: 0.9rem;
    }

    /* Career Items */
    .career-item {
        margin-bottom: 2rem;
        padding: 2rem;
    }

    .career-item h4 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .career-item p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    /* Info Items */
    .info-item {
        margin-bottom: 2rem;
        padding: 2rem;
    }

    .info-item h5 {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }

    .info-item p {
        font-size: 0.9rem;
    }

    /* Contact Section */
    .contact-info {
        margin-top: 2rem;
        padding: 2rem;
    }

    .contact-info p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .contact-info i {
        margin-right: 0.75rem;
        width: 20px;
    }

    /* Forms */
    .form-control {
        padding: 1rem;
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: auto;
    }

    /* Blog Items */
    .blog-item {
        margin-bottom: 2rem;
    }

    .blog-item img {
        height: 180px;
    }

    .blog-item h4 {
        font-size: 1.25rem;
        margin: 1.5rem 1.5rem 0.75rem;
    }

    .blog-item p {
        font-size: 0.9rem;
        margin: 0 1.5rem;
    }

    .blog-item a {
        font-size: 0.9rem;
        margin: 1.5rem;
    }

    /* FAQ */
    .accordion-item {
        margin-bottom: 0.75rem;
    }

    .accordion-button {
        font-size: 1rem;
        padding: 1.25rem;
    }

    .accordion-body {
        font-size: 0.9rem;
        padding: 1.25rem;
    }

    /* Gallery */
    .gallery-section [class*="col-"] {
        margin-bottom: 1.5rem;
    }

    .gallery-section img {
        height: 180px;
        margin-bottom: 1.5rem;
    }

    /* Footer */
    .footer-section {
        padding: 3rem 0;
    }

    .footer-section h5 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .footer-section p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .footer-section small {
        font-size: 0.8rem;
    }

    .footer-section [class*="col-"] {
        margin-bottom: 2rem;
    }

    /* Element Cards for Additional Pages */
    .element-card {
        margin-bottom: 2rem;
        padding: 2rem;
    }

    .element-card img {
        height: 140px;
        margin-bottom: 1.5rem;
    }

    .element-card h4 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .element-card p {
        font-size: 0.9rem;
    }

    /* Breadcrumb */
    .breadcrumb-section {
        padding: 0.75rem 0;
    }

    .breadcrumb-img {
        height: 22px;
    }

    /* Remove mobile-specific classes */
    .text-center-mobile {
        text-align: left;
    }

    .btn {
        width: auto;
    }
}

/* ==========================================================================
   Desktop Styles (992px and up)
   ========================================================================== */

@media (min-width: 992px) {
    .container {
        padding: 0 2rem;
    }

    .hero-section {
        text-align: left;
    }

    .hero-section .col-lg-6:first-child {
        padding-right: 2rem;
    }

    .hero-section .col-lg-6:last-child {
        padding-left: 2rem;
    }

    /* Price Cards */
    .price-card.featured {
        transform: scale(1.05);
    }

    /* Team Members */
    .team-member img {
        width: 150px;
        height: 150px;
        border-width: 4px;
    }

    /* Process Steps - Show in row */
    .process-step {
        margin-bottom: 1rem;
    }

    /* Forms */
    .btn {
        width: auto;
    }

    /* Gallery */
    .gallery-section img {
        height: 200px;
    }

    /* Element Cards for Additional Pages */
    .element-card img {
        height: 150px;
    }

    /* Breadcrumb */
    .breadcrumb-img {
        height: 24px;
    }
}

/* ==========================================================================
   Large Desktop Styles (1200px and up)
   ========================================================================== */

@media (min-width: 1200px) {
    .container {
        padding: 0 3rem;
    }

    .hero-section {
        padding: 4rem 0;
    }

    .hero-section .col-lg-6:first-child {
        padding-right: 3rem;
    }

    .hero-section .col-lg-6:last-child {
        padding-left: 3rem;
    }

    /* Sections */
    .about-section,
    .services-section,
    .features-section,
    .priceplan-section,
    .team-section,
    .reviews-section,
    .casestudy-section,
    .process-section,
    .timeline-section,
    .career-section,
    .coreinfo-section,
    .contact-section,
    .blog-section,
    .faq-section,
    .gallery-section {
        padding: 4rem 0;
    }

    /* Service Cards */
    .service-card img {
        height: 200px;
    }

    /* Blog Items */
    .blog-item img {
        height: 200px;
    }

    /* Gallery */
    .gallery-section img {
        height: 220px;
    }

    /* Footer */
    .footer-section {
        padding: 4rem 0;
    }
}

/* ==========================================================================
   Extra Large Desktop Styles (1400px and up)
   ========================================================================== */

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
        margin: 0 auto;
        padding: 0 3rem;
    }

    .hero-section .col-lg-6:first-child {
        padding-right: 4rem;
    }

    .hero-section .col-lg-6:last-child {
        padding-left: 4rem;
    }

    /* Service Cards */
    .service-card img {
        height: 220px;
    }

    /* Blog Items */
    .blog-item img {
        height: 220px;
    }

    /* Gallery */
    .gallery-section img {
        height: 240px;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    * {
        animation: none !important;
        transition: none !important;
    }

    .header-section,
    .footer-section,
    .btn,
    .navbar,
    .breadcrumb-section {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    .hero-section,
    .about-section,
    .services-section,
    .features-section,
    .priceplan-section,
    .team-section,
    .reviews-section,
    .casestudy-section,
    .process-section,
    .timeline-section,
    .career-section,
    .coreinfo-section,
    .contact-section,
    .blog-section,
    .faq-section,
    .gallery-section {
        background: #fff !important;
        box-shadow: none !important;
        padding: 1rem 0;
    }

    .hero-section::before {
        display: none;
    }

    .hero-section {
        color: #000;
    }

    .hero-section h1,
    .hero-section p {
        color: #000;
    }

    img {
        max-width: 100% !important;
        height: auto !important;
    }

    .service-card,
    .feature-box,
    .price-card,
    .review-card,
    .career-item,
    .info-item,
    .element-card {
        box-shadow: none !important;
        border: 1px solid #ddd;
        margin-bottom: 1rem;
        padding: 1rem;
    }

    .accordion-item {
        border: 1px solid #ddd;
        margin-bottom: 0.5rem;
    }

    .accordion-button {
        background: #f8f9fa;
        color: #000;
    }

    .accordion-body {
        background: #fff;
        color: #000;
    }
}

/* ==========================================================================
   Accessibility Improvements
   ========================================================================== */

/* Focus States */
.form-control:focus,
.btn:focus,
.navbar-nav .nav-link:focus,
.accordion-button:focus {
    outline: 2px solid var(--primary-sage);
    outline-offset: 2px;
}

/* Skip Links */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-sage);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 1001;
}

.skip-link:focus {
    top: 6px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-sage: #4A6F4A;
        --primary-coral: #CC0000;
        --primary-navy: #000000;
        --dark-navy: #000000;
        --light-lavender: #E6E6E6;
        --light-sage: #CCCCCC;
    }

    .hero-section::before {
        background: rgba(0, 0, 0, 0.6);
    }

    .feature-box,
    .service-card,
    .price-card,
    .review-card,
    .career-item,
    .info-item,
    .element-card {
        border: 2px solid var(--primary-navy);
    }

    .btn {
        border: 2px solid var(--primary-navy);
    }

    .form-control {
        border: 2px solid var(--primary-navy);
    }
}

/* 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-section,
    .service-card,
    .feature-box,
    .price-card,
    .review-card,
    .career-item,
    .info-item,
    .element-card,
    .blog-item,
    .gallery-section img {
        transform: none !important;
    }

    .hero-section::before {
        animation: none !important;
    }
} 