/* 
 * DentalPro Clinic Responsive Styles
 * Version: 1.0.0
 */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .col-lg-8 {
        width: 66.6667%;
    }
    
    .col-lg-4 {
        width: 33.3333%;
    }
}

/* Medium devices (tablets, 768px to 991px) */
@media (max-width: 991px) {
    .container {
        padding: 0 20px;
    }
    
    .header-inner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .main-navigation {
        width: 100%;
        justify-content: center;
    }
    
    .main-navigation ul {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .appointment-button {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .sidebar {
        padding-left: 0;
        margin-top: 3rem;
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (max-width: 767px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .site-main {
        padding: 2rem 0;
    }
    
    .header-inner {
        gap: 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .main-navigation a {
        display: block;
        padding: 0.5rem;
        border: 1px solid #dee2e6;
        border-radius: 0.25rem;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .col-md-6 {
        width: 100%;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .main-navigation a {
        text-align: center;
    }
    
    .footer-widgets {
        gap: 1.5rem;
    }
    
    .copyright {
        font-size: 0.75rem;
    }
}

/* Mobile menu toggle for future implementation */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 767px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
    }
    
    .main-navigation.active {
        display: block;
    }
}

/* High-resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --dark-color: #f8f9fa;
        --light-color: #212529;
        --white: #121212;
    }
    
    body {
        background-color: #121212;
        color: #f8f9fa;
    }
    
    .site-header {
        background-color: #1e1e1e;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    }
    
    .main-navigation a {
        color: #f8f9fa;
    }
    
    .widget {
        background-color: #1e1e1e;
    }
    
    .widget-title {
        color: #f8f9fa;
    }
}