/* Mobile-First CSS for Precisi Tile Theme */

/* Tablet and Mobile Hero Section */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block !important;
        font-size: 1.5rem;
        color: white;
        background: rgba(0, 0, 0, 0.5);
        border: 2px solid white;
        border-radius: 5px;
        cursor: pointer;
        z-index: 100;
        position: relative;
        padding: 10px;
        min-width: 50px;
        min-height: 50px;
    }
    
    .mobile-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        z-index: 99;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }
    
    .mobile-menu.active {
        display: flex;
    }
    
    .mobile-menu a {
        color: white;
        text-decoration: none;
        font-size: 1.5rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.3s ease;
        padding: 1rem 2rem;
        border-radius: 10px;
        display: block;
        text-align: center;
    }
    
    .mobile-menu a:hover {
        color: #01ccff;
        background: rgba(255, 255, 255, 0.1);
        transform: scale(1.05);
    }
    
    .mobile-menu a.active {
        color: #01ccff;
        background: rgba(1, 204, 255, 0.15);
    }
    
    .mobile-menu-close {
        position: absolute;
        top: 30px;
        right: 30px;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }
}

/* Mobile Hero Section */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .hero-bg-image {
        background-size: cover;
        background-position: center center;
    }
    
    .top-left-nav {
        top: 15px;
        left: 15px;
        right: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 50;
    }
    
    .nav-menu {
        display: none;
    }
    
    
    .hero-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 90%;
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem ;
        line-height: 1.2 ;
        margin-bottom: 0 ;
        color: white ;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) ;
    }
    
    .bottom-cta {
        margin-top: 2rem ;
        display: flex ;
        gap: 1rem ;
        justify-content: center ;
        flex-wrap: wrap ;
        position: static ;
        bottom: auto ;
        left: auto ;
        transform: none ;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-width: 180px;
        border-radius: 30px;
    }
    
    .cta-button.primary {
        background: linear-gradient(135deg, #01ccff 0%, #01ccff 100%);
        color: white;
        box-shadow: 0 4px 15px rgba(135, 206, 235, 0.4);
    }
    
    /* Hide desktop TikTok section */
    .tiktok-section.desktop-only {
        display: none ;
    }
    
    .tiktok-section .desktop-only {
        display: none ;
    }
    
    .tiktok-section .mobile-only {
        display: block ;
    }
    
    .mobile-tiktok-logo {
        display: block ;
    }
    
    .mobile-tiktok-quote {
        display: block ;
        text-align: center ;
        padding: 2rem 1rem ;
        background: rgba(96, 165, 250, 0.1) ;
        border-radius: 10px ;
        margin: 2rem 1rem ;
    }
    
    /* Mobile TikTok Section */
    .tiktok-section {
        position: static;
        margin: 1rem;
        max-width: none;
        border-radius: 12px;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.95);
    }
    
    .tiktok-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        text-align: center;
    }
    
    .tiktok-video iframe {
        height: 200px;
        border-radius: 8px;
    }
    
    .tiktok-video {
        display: none ;
    }
    
    .tiktok-content p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
        text-align: center;
        line-height: 1.3;
    }
    
    .tiktok-link {
        font-size: 0.9rem;
        justify-content: center;
        padding: 0.6rem 1rem;
    }
    
    /* Mobile Reviews Section */
    .nature-section {
        padding: 2rem 1rem;
    }
    
    .reviews-content h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
        text-align: center;
    }
    
    .reviews-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }
    
    .review-card {
        padding: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .review-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .reviewer-info {
        flex: 1;
    }
    
    .google-logo {
        align-self: flex-start;
    }
    
    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .reviewer-details h4 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .review-text {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0.8rem;
    }
    
    .review-date {
        text-align: right;
        font-size: 0.9rem;
    }
    
    .google-link {
        padding: 1rem 2rem;
        font-size: 1rem;
        margin-top: 1rem;
    }
    
    /* Mobile Products/Services Section */
    .products-section {
        padding: 2rem 1rem;
    }
    
    .products-header {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .products-header h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .products-header p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-card {
        padding: 1.2rem;
        text-align: center;
    }
    
    .product-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .product-info p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .product-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Mobile Services Page */
    .services-overview {
        padding: 2rem 1rem;
    }
    
    .services-overview h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .services-overview p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Mobile Gallery Page */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .gallery-item {
        aspect-ratio: 1;
    }
    
    .gallery-item img {
        border-radius: 8px;
    }
    
    /* Mobile Footer */
    .footer {
        padding: 2rem 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo-img {
        height: 40px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-contact p {
        font-size: 0.9rem;
        margin: 0.5rem 0;
    }
    
    .footer-copyright {
        text-align: center;
        margin-top: 1rem;
    }
    
    .footer-copyright p {
        font-size: 0.8rem;
    }
    
    /* Mobile Form Styles */
    .contact-section {
        padding: 3rem 1.5rem;
    }
    
    .contact-header h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-details {
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1.5rem;
        text-align: center;
    }
    
    .contact-item i {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .scheduler-section {
        padding: 2rem;
    }
    
    .scheduler-section h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .scheduler-section p {
        text-align: center;
        font-size: 1.1rem;
    }
    
    .booking-form {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    .booking-submit-btn {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }
    
    /* Mobile Welcome Section */
    .welcome-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .welcome-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .welcome-text h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .welcome-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .feature-image .image-placeholder {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .owner-info {
        text-align: center;
    }
    
    .owner-info h4 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    
    .owner-info h5 {
        font-size: 0.9rem;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        min-height: 80vh;
    }
    
    .hero h1 {
        font-size: 3.5rem;
        line-height: 1.1;
    }
    
    .hero p {
        font-size: 1.1rem;
        max-width: 80%;
    }
    
    .top-left-nav {
        top: 20px;
        left: 20px;
        right: 20px;
    }
    
    .tiktok-section {
        margin: 2rem 1.5rem;
        padding: 1.5rem;
    }
    
    .tiktok-video iframe {
        height: 300px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .tiktok-section {
        max-width: 500px;
        right: 25px;
        top: 25px;
        padding: 1.5rem;
    }
    
    .hero-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 80%;
        padding: 0 2rem;
    }
    
    .hero h1 {
        font-size: 3.5rem ;
        line-height: 1.1 ;
        margin-bottom: 0 ;
        color: white ;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) ;
    }
    
    .bottom-cta {
        margin-top: 2.5rem ;
        display: flex ;
        gap: 1.5rem ;
        justify-content: center ;
        flex-wrap: wrap ;
        position: static ;
        bottom: auto ;
        left: auto ;
        transform: none ;
    }
    
    .cta-button {
        padding: 1rem 2rem ;
        font-size: 1rem ;
        min-width: 200px ;
        border-radius: 50px ;
    }
    
    .cta-button.primary {
        background: linear-gradient(135deg, #01ccff 0%, #01ccff 100%);
        color: white;
        box-shadow: 0 4px 15px rgba(135, 206, 235, 0.4);
    }
    
    /* Hide desktop TikTok section */
    .tiktok-section.desktop-only {
        display: none ;
    }
    
    /* Show mobile TikTok quote */
    .mobile-tiktok-quote {
        display: block ;
        text-align: center ;
        padding: 2rem 1rem ;
        background: rgba(96, 165, 250, 0.1) ;
        border-radius: 10px ;
        margin: 2rem 1rem ;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin: 1rem 0;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 2rem;
        margin: 1rem 0;
    }
    
    .tiktok-section {
        position: static;
        margin: 1rem;
    }
    
    .tiktok-video iframe {
        height: 200px;
    }
    
    .bottom-cta {
        padding: 1rem 0 2rem 0;
        text-align: center;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-width: 200px;
        border-radius: 30px;
    }
    
    .cta-button.primary {
        background: linear-gradient(135deg, #01ccff 0%, #01ccff 100%);
        color: white;
        box-shadow: 0 4px 15px rgba(135, 206, 235, 0.4);
    }
}