/* ===== Responsive Design ===== */

/* Large Desktop Screens */
@media (max-width: 1400px) {
    .hero-container {
        gap: 2rem;
    }
    
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
}

/* Tablets and Small Desktops */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }
    
    .hero-visual {
        height: 400px;
        order: -1;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card.recommended {
        transform: none;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Portfolio Section - Tablet */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .website-content {
        padding: 1.2rem;
    }
    
    .website-title {
        font-size: 1.2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-about {
        grid-column: span 2;
    }
    
    .whatsapp-btn {
        bottom: 100px;
        right: 20px;
    }
    
    .call-btn {
        bottom: 30px;
        right: 20px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding-top: 3rem;
        transition: left 0.5s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1.5rem 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
    }
    
    .pricing-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-tab {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    /* Portfolio Section - Medium Mobile */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-card-inner {
        padding: 1rem;
    }
    
    .website-preview-header {
        padding: 0.6rem 0.8rem;
    }
    
    .website-content {
        padding: 1rem;
    }
    
    .website-title {
        font-size: 1.1rem;
    }
    
    .website-description {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .bg-orb {
        display: none;
    }
}

/* Mobile Phones */
@media (max-width: 576px) {
    .container, .nav-container {
        padding: 0 1.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    section {
        padding: 70px 0;
    }
    
    .services-grid,
    .pricing-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        height: auto;
        min-height: 280px;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    /* Portfolio Section - Mobile */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-card {
        height: auto;
    }
    
    .portfolio-card-inner {
        padding: 1.2rem;
    }
    
    .website-preview {
        min-height: 250px;
    }
    
    .website-content {
        padding: 1.2rem;
    }
    
    .website-title {
        font-size: 1.3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-about {
        grid-column: span 1;
    }
    
    .whatsapp-btn,
    .call-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .whatsapp-btn {
        bottom: 90px;
        right: 15px;
    }
    
    .call-btn {
        bottom: 25px;
        right: 15px;
    }
}

/* Small Mobile Phones */
@media (max-width: 380px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .floating-cube {
        width: 150px;
        height: 150px;
    }
    
    .cube-front { transform: translateZ(75px); }
    .cube-back { transform: translateZ(-75px) rotateY(180deg); }
    .cube-right { transform: rotateY(90deg) translateZ(75px); }
    .cube-left { transform: rotateY(-90deg) translateZ(75px); }
    .cube-top { transform: rotateX(90deg) translateZ(75px); }
    .cube-bottom { transform: rotateX(-90deg) translateZ(75px); }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .price-value {
        font-size: 2.8rem;
    }
    
    /* Portfolio Section - Small Mobile */
    .website-preview-header {
        padding: 0.5rem 0.8rem;
    }
    
    .website-url {
        font-size: 0.75rem;
    }
    
    .website-content {
        padding: 1rem;
    }
    
    .website-title {
        font-size: 1.1rem;
    }
    
    .website-description {
        font-size: 0.85rem;
    }
    
    .website-tech span {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
    
    .view-all-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
}