/* RESPONSIVE STYLESHEET - LIFESTYLE & SELF-DEVELOPMENT TEMPLATE
   Created: April 2025
   Version: 1.0
*/

/* MEDIA QUERIES */

/* Extra Large Devices (large desktops, 1200px and up) */
@media (max-width: 1400px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (max-width: 1199.98px) {
    html {
        font-size: 60%;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .service-image {
        height: 180px;
    }
    
    .service-content,
    .about-feature,
    .feature-card,
    .coreinfo-card,
    .price-card {
        padding: 2.5rem 2rem;
    }
    
    .contact-form,
    .contact-info {
        padding: 3rem;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
    html {
        font-size: 58%;
    }
    
    .navbar-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
    }
    
    .navbar-nav.show {
        display: flex;
    }
    
    .nav-item {
        margin: 0;
        text-align: center;
        padding: 1rem 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero {
        height: 80vh;
    }
    
    .hero-content {
        max-width: 90%;
    }
    
    .hero-title {
        font-size: 3.6rem;
    }
    
    .section-padding {
        padding: 6rem 0;
    }
    
    .contact-info {
        margin-top: 3rem;
    }
    
    .review-author {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .review-author-image {
        margin-bottom: 1rem;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
    html {
        font-size: 56%;
    }
    
    h1 {
        font-size: 3.6rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .about-image {
        margin-bottom: 3rem;
    }
    
    .section-padding {
        padding: 5rem 0;
    }
    
    .about-feature {
        margin-bottom: 2rem;
    }
    
    .team-image {
        height: 250px;
    }
    
    .footer-widget {
        margin-bottom: 3rem;
    }
    
    .shape {
        display: none;
    }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    html {
        font-size: 54%;
    }
    
    .hero {
        height: 60vh;
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .service-image {
        height: 160px;
    }
    
    .service-content,
    .about-feature,
    .feature-card,
    .coreinfo-card,
    .review-card,
    .price-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-form,
    .contact-info {
        padding: 2.5rem 1.5rem;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .footer {
        padding: 4rem 0 2rem;
    }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .service-card:hover,
    .about-feature:hover,
    .feature-card:hover,
    .price-card:hover,
    .team-card:hover,
    .blog-card:hover,
    .coreinfo-card:hover {
        transform: none;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    }
    
    .service-card:hover .service-image img,
    .team-card:hover .team-image img,
    .blog-card:hover .blog-image img {
        transform: none;
    }
    
    .nav-link:after {
        transition: none;
    }
}

/* Add responsive styling for static hero */
.static-hero .hero-content {
    padding-right: 0;
    padding-bottom: 4rem;
}

.static-hero .hero-image {
    max-height: 400px;
}

html {
    font-size: 58%;
}

.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    justify-content: flex-end;
}

.nav-wrapper.show {
    display: flex;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 6rem 2rem 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.nav-wrapper.show .navbar-nav {
    right: 0;
}

.nav-item {
    margin: 0;
    text-align: left;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.hamburger {
    display: block;
    position: relative;
    z-index: 1000;
}

/* Static Hero Responsive Styles */
@media (max-width: 991px) {
    .static-hero {
        padding-top: 70px;
    }
    
    .static-hero .row {
        min-height: auto;
        padding: 5rem 0;
    }
    
    .static-hero .hero-content {
        text-align: center;
        order: 2;
        padding: 3rem 1rem 0;
    }
    
    .static-hero .hero-image {
        order: 1;
        margin-bottom: 2rem;
        max-height: 350px;
    }
}

@media (max-width: 767px) {
    .static-hero {
        min-height: auto;
    }
    
    .static-hero .hero-content {
        padding: 2rem 1rem 0;
    }
    
    .static-hero .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .static-hero .hero-title {
        font-size: 3.2rem;
    }
    
    .static-hero .hero-desc {
        font-size: 1.4rem;
    }
} 