/* 
   Responsive Stylesheet for aipornpic.love
   Created: July 15, 2023
*/

/* Large Screens */
@media only screen and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

/* Medium Screens */
@media only screen and (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-visual {
        order: 1;
        margin-bottom: 2rem;
    }
}

/* Small Screens */
@media only screen and (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        gap: 1.5rem;
    }
    
    #hero {
        padding: 5rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 3rem;
    }
    
    .footer-links {
        margin-bottom: 2rem;
    }
    
    .footer-links h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Extra Small Screens */
@media only screen and (max-width: 576px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    nav ul li {
        margin: 0 0.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .testimonial-content {
        padding: 1.5rem;
    }
}

/* Mobile Menu Styles */
@media only screen and (max-width: 768px) {
    nav {
        width: 100%;
    }
    
    nav ul {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
}

/* Landscape Mode */
@media only screen and (max-height: 500px) and (orientation: landscape) {
    #hero {
        padding: 3rem 0;
    }
    
    .hero-visual {
        display: none;
    }
    
    section {
        padding: 3rem 0;
    }
}

/* High DPI Screens */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min--moz-device-pixel-ratio: 2),
       only screen and (-o-min-device-pixel-ratio: 2/1),
       only screen and (min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi),
       only screen and (min-resolution: 2dppx) {
    /* Optimizations for high DPI displays */
    .logo-svg, .hero-svg, .feature-icon {
        transform: scale(1);
    }
}
