/* Responsive Design Styles */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Large Devices (992px to 1399px) */
@media (max-width: 1399.98px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .floating-card.restaurant {
        left: -15%;
    }
    
    .floating-card.wishlist {
        right: -15%;
    }
}

/* Medium Devices (768px to 991px) */
@media (max-width: 991.98px) {
    /* Typography */
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    /* Navigation */
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .nav-link {
        margin: 0.25rem 0;
    }
    
    /* Hero Section */
    .hero-section {
        text-align: center;
    	margin-top: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .hero-visual {
        margin-top: 3rem;
    }
    
    .qr-demo-container {
        width: 250px;
        height: 250px;
    }
    
    .floating-card {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    
    .floating-card.restaurant {
        top: 10%;
        left: -25%;
    }
    
    .floating-card.wishlist {
        top: 60%;
        right: -25%;
    }
    
    .floating-card.event {
        bottom: 10%;
        left: -20%;
    }
    
    /* Sections */
    section {
        padding: 4rem 0;
    }
    
    /* Contact */
    .contact-info {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .contact-method {
        align-items: center;
    }
    
    /* Footer */
    .footer-badges {
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

/* Small Devices (576px to 767px) */
@media (max-width: 767.98px) {
    /* Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    h4 { font-size: 1.25rem; }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.6rem 1.25rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Hero Section */
    .hero-buttons {
        margin-bottom: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
        margin-right: 0 !important;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .qr-demo-container {
        width: 200px;
        height: 200px;
    }
    
    .floating-card {
        display: none; /* Hide floating cards on small screens */
    }
    
    /* Sections */
    section {
        padding: 3rem 0;
    }
    
    /* Services */
    .service-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    /* Features */
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.25rem;
    }
    
    /* Examples */
    .example-image {
        height: 150px;
    }
    
    .qr-placeholder {
        width: 80px;
        height: 80px;
    }
    
    .qr-placeholder i {
        font-size: 2rem;
    }
    
    .example-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* CTA Section */
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
        margin-right: 0 !important;
    }
    
    /* Contact */
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Footer */
    .footer {
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-description {
        margin: 0 auto 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links {
        margin-bottom: 2rem;
    }
    
    .footer-badges {
        justify-content: center;
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Extra Small Devices (up to 575px) */
@media (max-width: 575.98px) {
    /* Container */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Typography */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    /* Hero Section */
    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .qr-demo-container {
        width: 180px;
        height: 180px;
    }
    
    /* Sections */
    section {
        padding: 2.5rem 0;
    }
    
    /* Services */
    .service-card {
        padding: 1.25rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .service-icon i {
        font-size: 1.25rem;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
    
    .service-features li {
        font-size: 0.9rem;
    }
    
    /* Features */
    .feature-item {
        padding: 1rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .feature-icon i {
        font-size: 1rem;
    }
    
    .feature-title {
        font-size: 1.125rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
    
    /* Examples */
    .example-content {
        padding: 1.25rem;
    }
    
    .example-title {
        font-size: 1.125rem;
    }
    
    .example-description {
        font-size: 0.9rem;
    }
    
    /* Contact */
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 1rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon i {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 1.25rem;
    }
    
    /* Form Elements */
    .form-control,
    .form-select {
        padding: 0.6rem 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-logo {
        font-size: 1.25rem;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-menu a {
        font-size: 0.9rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    /* Scroll to Top */
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 1rem;
    }
}

/* Ultra Small Devices (up to 320px) */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .qr-demo-container {
        width: 150px;
        height: 150px;
    }
    
    .service-card,
    .contact-form {
        padding: 1rem;
    }
    
    .cta-subtitle {
        font-size: 0.9rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize for retina displays */
    .qr-placeholder {
        background: var(--gradient-primary);
    }
    
    .service-icon,
    .feature-icon {
        background: var(--gradient-primary);
    }
}

/* Print Styles */
@media print {
    * {
        color: black !important;
        background: white !important;
    }
    
    .navbar,
    .hero-visual,
    .floating-elements,
    .cta-section,
    .contact-form,
    .footer,
    .scroll-to-top {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
    }
    
    section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-card {
        animation: none;
    }
    
    .scroll-to-top,
    .btn,
    .service-card,
    .feature-item,
    .example-card {
        transition: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --light-color: #1a1a1a;
        --white: #121212;
        --dark-color: #ffffff;
        --secondary-color: #b0b0b0;
    }
    
    .navbar {
        background: rgba(18, 18, 18, 0.95);
    }
    
    .service-card,
    .example-card,
    .contact-form {
        background: #1e1e1e;
        border: 1px solid #333;
    }
    
    .form-control,
    .form-select {
        background: #2a2a2a;
        border-color: #444;
        color: #fff;
    }
    
    .form-control:focus,
    .form-select:focus {
        background: #2a2a2a;
        border-color: var(--primary-color);
    }
}
