/* Responsive Styles for TailorFit */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .feature-card {
        padding: 24px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    /* Navigation */
    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
        margin-top: 20px;
    }
    
    .nav-buttons {
        flex-direction: column;
        width: 100%;
        margin-top: 20px;
    }
    
    .nav-buttons .btn {
        width: 100%;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 140px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-subtitle {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    /* Features */
    .features-grid {
        gap: 20px;
    }
    
    .feature-card {
        margin-bottom: 30px;
    }
    
    /* How It Works */
    .step-card {
        margin-bottom: 30px;
    }
    
    /* Footer */
    .footer-links,
    .footer-contact,
    .newsletter {
        margin-bottom: 40px;
    }
    
    .newsletter form {
        flex-direction: column;
    }
    
    .newsletter input,
    .newsletter button {
        width: 100%;
        border-radius: var(--radius-full);
    }
    
    .newsletter button {
        margin-top: 10px;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 24px;
    }
    
    .nav-link {
        font-size: 16px;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    /* Phone Mockup */
    .phone-mockup {
        width: 250px;
        height: 500px;
        transform: scale(0.9);
    }
    
    .feature-item {
        padding: 12px;
        font-size: 14px;
    }
    
    /* Sections */
    .features-section,
    .how-it-works,
    .testimonials-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    /* Cards */
    .feature-card,
    .testimonial-card,
    .pricing-card {
        padding: 20px;
    }
    
    /* Tabs */
    .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    
    .nav-tabs .nav-link {
        padding: 10px 20px !important;
        font-size: 14px;
    }
    
    /* Forms */
    .contact-form-card {
        padding: 20px;
    }
    
    .form-control,
    .form-select {
        padding: 10px 14px;
        font-size: 16px;
    }
    
    /* Footer */
    .footer {
        padding: 60px 0 20px;
    }
    
    .footer-content {
        margin-bottom: 40px;
    }
    
    .footer-bottom {
        padding-top: 20px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    /* Navigation */
    .navbar {
        padding: 15px 0;
    }
    
    .navbar-brand {
        font-size: 20px;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 120px 0 40px;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Phone Mockup */
    .phone-mockup {
        width: 220px;
        height: 440px;
        transform: scale(0.8);
    }
    
    .app-header h4 {
        font-size: 20px;
    }
    
    .feature-item {
        font-size: 12px;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    /* Cards */
    .feature-card,
    .testimonial-card,
    .pricing-card {
        padding: 16px;
    }
    
    .feature-icon {
        font-size: 36px;
    }
    
    /* Testimonials */
    .testimonial-text {
        font-size: 16px;
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    /* Forms */
    .form-label {
        font-size: 14px;
    }
    
    /* Footer */
    .footer-brand h3 {
        font-size: 24px;
    }
    
    .footer-links h4,
    .footer-contact h4,
    .newsletter h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* Very small devices (less than 375px) */
@media (max-width: 374.98px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
        transform: scale(0.75);
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .footer,
    .cta-section {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
}