/* 
PIXELRAY FILMS Website Styles
Responsive CSS File
*/

/* ===== RESPONSIVE STYLES ===== */

/* Large Devices (Desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .page-hero {
        padding: 130px 0 70px;
    }
    
    .process-steps {
        flex-wrap: wrap;
    }
    
    .process-step {
        flex: 0 0 50%;
        margin-bottom: 40px;
    }
    
    .process-steps:before {
        display: none;
    }
    
    .timeline-content {
        width: 42%;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        left: 58%;
    }
}

/* Medium Devices (Tablets, less than 992px) */
@media (max-width: 991.98px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .container {
        width: 95%;
    }
    
    .hero {
        padding: 130px 0 70px;
    }
    
    .hero:after {
        width: 30%;
    }
    
    .page-hero {
        padding: 120px 0 60px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .service-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-item.reverse {
        grid-template-columns: 1fr;
    }
    
    .service-image {
        order: 1;
    }
    
    .service-details {
        order: 2;
    }
    
    .service-item.reverse .service-image {
        order: 1;
    }
    
    .service-item.reverse .service-details {
        order: 2;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        left: 60px !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        left: 60px;
    }
    
    .testimonial {
        flex: 0 0 calc(100% - 30px);
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--background-light);
        z-index: 1000;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .nav-links ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links ul li a.has-dropdown {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-right: 0;
    }
    
    .nav-links ul li a.has-dropdown:after {
        position: relative;
        margin-left: 8px;
        top: 0;
        transform: none;
        transition: transform 0.3s ease;
    }
    
    .nav-links ul li.active a.has-dropdown:after {
        transform: rotate(180deg);
    }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.05);
        width: 90%;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        margin: 0 auto;
        border-radius: 8px;
        border-top: none;
        transition: all 0.3s ease;
    }
    
    .nav-links ul li.active .dropdown {
        max-height: 300px;
        padding: 10px 0;
        margin-top: 10px;
        margin-bottom: 5px;
    }
    
    .dropdown li {
        margin: 8px 0;
    }
    
    .dropdown li a {
        padding: 10px 15px;
        font-size: 0.85rem;
        color: var(--text-light);
        justify-content: center;
        border-left: none;
        border-bottom: 2px solid transparent;
    }
    
    .dropdown li a:before {
        display: none;
    }
    
    .dropdown li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        padding-left: 15px;
        border-left: none;
        border-bottom: 2px solid var(--primary-red);
    }
    
    .fa-bars {
        display: block;
    }
    
    .fa-times {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 1.8rem;
    }
}

/* Small Devices (Landscape Phones, less than 768px) */
@media (max-width: 767.98px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero:after {
        display: none;
    }
    
    .page-hero {
        padding: 100px 0 50px;
    }
    
    .tagline {
        font-size: 1.3rem;
    }
    
    .process-step {
        flex: 0 0 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-links ul {
        justify-content: center;
        gap: 8px;
    }
    
    .footer-links ul li a {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .package-card.featured {
        transform: scale(1);
    }
    
    .package-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .packages-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .portfolio-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        text-align: center;
    }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .container {
        width: 100%;
        padding: 0 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .hero {
        padding: 100px 0 50px;
    }
    
    .page-hero {
        padding: 90px 0 40px;
    }
    
    .logo img {
        height: 65px;
    }
    
    header.scrolled .logo img {
        height: 55px;
    }
    
    .nav-links {
        width: 100%;
    }
    
    .team-grid,
    .features-grid,
    .packages-grid,
    .portfolio-grid,
    .services-grid,
    .custom-features {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    /* How It Works - Mobile Responsive */
    .vertical-process-steps::before {
        left: 20px;
    }
    
    .step-left {
        flex: 0 0 40px;
    }
    
    .step-number-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-right {
        margin-left: 20px;
        padding: 20px;
    }
    
    .step-icon-large {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .step-right h3 {
        font-size: 1.3rem;
    }
    
    .step-right p {
        font-size: 0.95rem;
    }
    
    .highlight-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    /* Benefits Mobile */
    .benefit-row {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .benefit-icon-simple {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-right: 20px;
    }
    
    .benefit-text h3 {
        font-size: 1.2rem;
    }
    
    .benefit-text p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .vertical-process-steps::before {
        left: 30px;
    }
    
    .step-left {
        flex: 0 0 60px;
    }
    
    .step-number-circle {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
    
    .step-right {
        margin-left: 20px;
        padding: 25px;
        text-align: center;
    }
    
    .step-right h3 {
        font-size: 1.4rem;
    }
    
    .step-right p {
        font-size: 1rem;
    }
    
    .step-icon-large {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        margin: 0 auto 15px;
    }
    
    .step-highlights {
        gap: 8px;
        justify-content: center;
    }
    
    .highlight-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .benefit-row {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        justify-content: center;
    }
    
    .benefit-icon-simple {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .benefit-text h3 {
        font-size: 1.2rem;
    }
    
    .benefit-text p {
        font-size: 0.9rem;
    }
    
    .fixed-cta .cta-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-consultation {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Tablet styles for video grid */
@media (max-width: 768px) and (min-width: 481px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}