/* Mobile Styles - Optimized for phones and small tablets */
@media (max-width: 768px) {
    /* Header and Navigation */
    .nav {
        padding: 0.8rem 1rem;
        flex-wrap: wrap;
    }
    
    .nav-brand {
        flex: 1;
        min-width: 200px;
    }
    
    .brand-text {
        font-size: 1rem;
    }
    
    .brand-subtitle {
        font-size: 0.7rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        gap: 1rem;
        z-index: 1001;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero Section */
    .hero {
        min-height: auto;
        padding: 100px 0 3rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        text-align: center;
    }
    
    .profile-card {
        padding: 1.5rem;
        margin: 0 auto;
        max-width: 300px;
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
        margin: 0 auto 1rem;
    }
    
    .profile-name {
        font-size: 1.5rem;
    }
    
    .profile-title {
        font-size: 0.8rem;
    }
    
    .social-links {
        gap: 0.8rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
    }
    
    .hero-right {
        padding-left: 0;
        order: -1;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
        min-width: 120px;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Sections */
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    /* About Section */
    .about {
        padding: 3rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        font-size: 1rem;
        order: 2;
    }
    
    .about-image {
        order: 1;
        max-width: 100%;
    }
    
    .about-image img {
        height: 250px;
    }
    
    /* Story Section */
    .story {
        padding: 3rem 0;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 45px;
        margin-bottom: 2rem;
    }
    
    .timeline-marker {
        left: 5px;
        width: 20px;
        height: 20px;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    .timeline-content p {
        font-size: 0.95rem;
    }
    
    .story-image {
        position: static;
        order: -1;
        margin-bottom: 1rem;
    }
    
    .slideshow-container {
        height: 250px;
    }
    
    /* Media Section */
    .media {
        padding: 3rem 0;
    }
    
    .media-intro {
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .media-intro p {
        font-size: 1rem;
    }
    
    .media-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .media-item {
        min-height: auto;
    }
    
    .media-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .media-header h3 {
        font-size: 1.3rem;
    }
    
    .media-description {
        font-size: 0.9rem;
    }
    
    .video-container, .social-embed {
        height: 200px;
    }
    
    .media-footer {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .media-link {
        font-size: 0.9rem;
    }
    
    /* Contact Section */
    .contact {
        padding: 3rem 0;
    }
    
    .contact-content {
        padding: 0 0.5rem;
    }
    
    .contact-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-info {
        gap: 1rem;
        align-items: center;
    }
    
    .contact-item {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        max-width: 300px;
    }
    
    .contact-item i {
        flex-shrink: 0;
    }
    
    /* Footer */
    .footer {
        padding: 1.5rem 0;
        font-size: 0.9rem;
    }
    
    /* Animations - Reduce motion for mobile */
    .media-item:hover,
    .timeline-item:hover {
        transform: none;
    }
    
    /* Touch-friendly improvements */
    .btn, .media-link, .social-links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Text readability */
    body {
        font-size: 16px;
        line-height: 1.6;
    }
    
    /* Prevent horizontal scroll */
    .slideshow-container,
    .video-container iframe,
    .social-embed {
        max-width: 100%;
        overflow: hidden;
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    .hero-content {
        padding: 0 0.5rem;
    }
    
    .profile-card {
        padding: 1rem;
        max-width: 280px;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 0.8rem;
    }
    
    .media-header,
    .media-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .video-container, .social-embed {
        height: 180px;
    }
    
    .slideshow-container {
        height: 200px;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .timeline-item {
        padding-left: 35px;
    }
    
    .timeline-marker {
        width: 16px;
        height: 16px;
    }
}
