/* 100x Ventures OÜ - Responsive Styles */

/* Large Desktop Screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 3.5rem;
    }
}

/* Desktop Screens */
@media (min-width: 1200px) {
    .hero-stats {
        display: flex;
        justify-content: space-around;
        margin-top: 4rem;
    }
    
    .stat-item {
        flex: 1;
        margin-bottom: 0;
    }
}

/* Large Tablets */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .contact-form-container,
    .contact-info {
        margin-bottom: 2rem;
    }
}

/* Tablets */
@media (max-width: 991.98px) {
    .hero-section {
        background-attachment: scroll;
        padding: 6rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .hero-buttons {
        text-align: center;
    }
    
    .hero-stats {
        margin-top: 3rem;
        text-align: center;
    }
    
    .stat-item {
        margin-bottom: 2rem;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
    
    /* Navigation */
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.9);
        margin-top: 1rem;
        border-radius: var(--border-radius);
        padding: 1rem;
    }
    
    .navbar-nav .nav-link {
        text-align: center;
        margin: 0.25rem 0;
    }
    
    /* Services */
    .service-section {
        text-align: center;
    }
    
    .service-section .row {
        flex-direction: column-reverse;
    }
    
    .service-section .order-lg-1 {
        order: 1;
    }
    
    .service-section .order-lg-2 {
        order: 2;
    }
    
    .service-section img {
        margin-bottom: 2rem;
    }
    
    /* About Page */
    .company-overview .row {
        flex-direction: column-reverse;
    }
    
    .company-overview img {
        margin-bottom: 2rem;
    }
    
    .mission-card,
    .vision-card {
        margin-bottom: 2rem;
    }
    
    .value-card {
        margin-bottom: 2rem;
    }
    
    .advantage-item {
        text-align: center;
        flex-direction: column;
    }
    
    .advantage-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .why-choose-us .row {
        flex-direction: column;
    }
    
    /* Contact */
    .contact-section .col-lg-8,
    .contact-section .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    .faq-section .col-lg-8 {
        margin: 0;
    }
    
    /* Cookie Consent */
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        margin-top: 1rem;
    }
    
    /* Sidebar */
    .sidebar-content {
        position: static;
        margin-top: 3rem;
    }
    
    /* Footer */
    .footer .row > div {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .footer .text-md-end {
        text-align: center !important;
    }
}

/* Small Tablets */
@media (max-width: 767.98px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .stat-item p {
        font-size: 1rem;
    }
    
    /* Page Headers */
    .page-header {
        padding: 2rem 0;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .page-header .lead {
        font-size: 1.1rem;
    }
    
    /* Services */
    .service-card {
        padding: 2rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .additional-service-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .additional-service-card i {
        font-size: 2rem !important;
    }
    
    /* Contact Form */
    .contact-form-container {
        padding: 2rem;
    }
    
    .contact-info {
        padding: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    /* Mission/Vision Cards */
    .mission-card,
    .vision-card {
        padding: 2rem;
    }
    
    .value-card {
        padding: 2rem;
    }
    
    /* Company Stats */
    .company-stats .col-4 {
        margin-bottom: 1rem;
    }
    
    .company-stats h3 {
        font-size: 1.5rem;
    }
    
    /* CTA Section */
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section .lead {
        font-size: 1rem;
    }
    
    /* Tables */
    .table-responsive {
        font-size: 0.875rem;
    }
    
    /* Cookie Controls */
    .cookie-controls {
        padding: 1.5rem;
    }
    
    /* Legal Pages */
    .privacy-policy-content,
    .terms-content-body,
    .cookies-policy-content {
        font-size: 1rem;
    }
    
    .quick-links,
    .related-policies {
        padding: 1.5rem;
    }
}

/* Mobile Phones */
@media (max-width: 575.98px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-section {
        padding: 5rem 0 3rem;
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .stat-item h3 {
        font-size: 1.75rem;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-brand img {
        width: 28px;
        height: 28px;
    }
    
    /* Sections Padding */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .services-preview,
    .company-overview,
    .mission-vision,
    .our-values,
    .contact-section,
    .faq-section {
        padding: 3rem 0;
    }
    
    /* Cards */
    .service-card,
    .mission-card,
    .vision-card,
    .value-card,
    .additional-service-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-form-container,
    .contact-info {
        padding: 1.5rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.75rem 1.25rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Form Elements */
    .form-control,
    .form-select {
        padding: 0.75rem;
        font-size: 1rem;
    }
    
    .form-label {
        font-size: 0.95rem;
    }
    
    /* Icons */
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .advantage-icon,
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    /* Feature Items */
    .feature-item {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-item i {
        font-size: 1.1rem;
        margin-right: 0.75rem;
    }
    
    /* Social Links */
    .social-links a {
        font-size: 1.25rem;
        margin-right: 0.75rem;
    }
    
    /* Cookie Consent */
    .cookie-consent {
        padding: 1rem;
    }
    
    .cookie-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .cookie-buttons .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
        width: 100%;
    }
    
    /* Tables */
    .table {
        font-size: 0.8rem;
    }
    
    .table th,
    .table td {
        padding: 0.5rem;
    }
    
    /* Accordion */
    .accordion-button {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .accordion-body {
        padding: 1rem;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .cta-section .lead {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0;
    }
    
    .footer h5,
    .footer h6 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer p {
        font-size: 0.875rem;
    }
    
    .footer .social-links a {
        font-size: 1.25rem;
    }
}

/* Extra Small Screens */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .service-card,
    .contact-form-container,
    .contact-info {
        padding: 1rem;
    }
    
    .cookie-consent {
        padding: 0.75rem;
    }
    
    .cookie-content p {
        font-size: 0.85rem;
    }
    
    .cookie-buttons .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* Print Styles */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .navbar,
    .cookie-consent,
    .btn,
    .social-links,
    .cta-section {
        display: none !important;
    }
    
    .container {
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .hero-section {
        background: none !important;
        color: black !important;
        min-height: auto !important;
        padding: 2rem 0 !important;
    }
    
    .page-header {
        background: none !important;
        color: black !important;
        padding: 1rem 0 !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
        break-after: avoid;
        color: black !important;
    }
    
    p, li {
        orphans: 3;
        widows: 3;
    }
    
    .service-card,
    .contact-form-container,
    .contact-info {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* Accessibility Improvements */
@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 {
        background-attachment: scroll !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .service-card,
    .contact-form-container,
    .contact-info,
    .mission-card,
    .vision-card,
    .value-card {
        border: 2px solid var(--dark-color);
    }
    
    .btn {
        border-width: 2px;
    }
    
    .form-control,
    .form-select {
        border-width: 2px;
    }
}

/* Dark Mode Preferences */
@media (prefers-color-scheme: dark) {
    .bg-light {
        background-color: #2d3748 !important;
    }
    
    .service-card,
    .contact-form-container,
    .mission-card,
    .vision-card,
    .value-card,
    .additional-service-card {
        background-color: #4a5568 !important;
        color: white !important;
    }
    
    .contact-info {
        background-color: #2d3748 !important;
        color: white !important;
    }
}
