/* ==========================================
   Responsive Styles for ARENYXPHARMA
   Breakpoints: 1200px, 992px, 768px, 480px
   ========================================== */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* Tablet and Small Desktop (992px and down) */
@media (max-width: 992px) {
    /* Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Header */
    .logo img {
        height: 38px;
    }
    
    /* Hero */
    .hero-section {
        padding: 140px 0 80px;
    }
    
    /* Sections */
    .about-section,
    .technology-section,
    .pipeline-section,
    .impact-section,
    .contact-section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Tablet (768px and down) */
@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Header */
    .logo img {
        height: 34px;
    }
    
    .site-header nav {
        padding: 15px 20px;
    }
    
    /* Mobile Menu */
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-menu-toggle.active .hamburger:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active .hamburger:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .hamburger:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: var(--color-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 30px 30px;
        gap: 1.5rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right var(--transition-normal);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        width: 100%;
        padding: 10px 0;
        font-size: 1.1rem;
    }
    
    .nav-menu .btn-primary {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
    }
    
    /* Hero */
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Stats */
    .stats-section {
        padding: 60px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 2rem 1rem;
    }
    
    .stat-number {
        font-size: 2.75rem;
    }
    
    /* Sections */
    .about-section,
    .technology-section,
    .pipeline-section,
    .impact-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    /* Grids */
    .about-grid,
    .technology-grid,
    .pipeline-grid,
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Pipeline Stages */
    .pipeline-stages {
        gap: 0.75rem;
        margin-bottom: 3rem;
    }
    
    .stage {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    /* Contact */
    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    /* Footer */
    .footer-content {
        gap: 2.5rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile (480px and down) */
@media (max-width: 480px) {
    /* Typography */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.15rem; }
    
    .hero-title {
        font-size: 1.85rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    /* Container */
    .container {
        padding: 0 15px;
    }
    
    /* Header */
    .logo img {
        height: 30px;
    }
    
    .site-header nav {
        padding: 12px 15px;
    }
    
    .nav-menu {
        width: 100%;
        right: -100%;
        padding: 90px 20px 20px;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    /* Hero */
    .hero-section {
        padding: 100px 0 50px;
    }
    
    .hero-cta .btn {
        max-width: 100%;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .stat-card {
        padding: 1.75rem 1rem;
    }
    
    .stat-card i {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Sections */
    .about-section,
    .technology-section,
    .pipeline-section,
    .impact-section,
    .contact-section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* Cards */
    .about-card,
    .tech-card,
    .pipeline-card,
    .impact-card {
        padding: 2rem 1.5rem;
    }
    
    /* Technology */
    .tech-number {
        font-size: 2.5rem;
    }
    
    /* Pipeline */
    .pipeline-stages {
        gap: 0.5rem;
    }
    
    .stage {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .pipeline-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    /* Contact */
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 0.95rem;
    }
    
    /* Footer */
    .site-footer {
        padding: 50px 0 25px;
    }
    
    .footer-content {
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .footer-logo {
        height: 32px;
    }
    
    .footer-tagline {
        font-size: 0.95rem;
    }
    
    /* Scroll to Top */
    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-top i {
        font-size: 1.1rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Increase tap targets */
    .btn {
        min-height: 48px;
    }
    
    .nav-menu a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .mobile-menu-toggle {
        min-width: 48px;
        min-height: 48px;
    }
    
    /* Remove hover effects */
    .stat-card:hover,
    .about-card:hover,
    .tech-card:hover,
    .pipeline-card:hover,
    .impact-card:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .mobile-menu-toggle,
    .scroll-top,
    .hero-cta {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        max-width: 100%;
    }
    
    .hero-section {
        padding: 20px 0;
    }
}