/* Mobile Navigation */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        padding: 1rem 0;
        border-top: 1px solid #e9ecef;
    }

    .navbar-menu.is-active {
        display: block;
    }

    .navbar-start {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .navbar-item {
        padding: 12px 20px;
        border-bottom: 1px solid #f8f9fa;
    }

    .navbar-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 0;
        border-radius: 0;
    }

    .dropdown-item {
        padding: 8px 40px;
        border-bottom: 1px solid #e9ecef;
    }

    .navbar-end {
        margin-top: 1rem;
        padding: 0 20px;
    }

    .search-form {
        max-width: none;
    }

    .navbar-burger {
        display: flex;
    }

    .navbar-burger.is-active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 5px);
    }

    .navbar-burger.is-active span:nth-child(2) {
        opacity: 0;
    }

    .navbar-burger.is-active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -5px);
    }
}

/* Tablet and Mobile Styles */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .domain-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }

    .domain-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .domain-card {
        margin: 0 -10px;
    }

    .domain-actions {
        flex-direction: column;
    }

    .domain-actions .btn {
        width: 100%;
    }

    .contact-form {
        margin: 1rem -10px;
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .navbar-item {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .search-input {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .form-control {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .domain-grid {
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    }
}

/* Print Styles */
@media print {
    .main-header,
    .main-footer,
    .btn,
    .social-links,
    .navbar-burger {
        display: none !important;
    }

    body {
        background: white !important;
    }

    .domain-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        background-color: #000;
        color: #fff;
        border: 2px solid #000;
    }

    .domain-card {
        border: 2px solid #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark Mode Support (if needed in future) */
@media (prefers-color-scheme: dark) {
    /* Add dark mode styles here if needed */
}
