/* responsive find pout more */

/* =================================
   FIND OUT MORE PAGE MEDIA QUERIES
   Following the same style as contact page CSS
   ================================= */

/* =================================
   TABLET RESPONSIVE STYLES (768px and below)
   ================================= */
   @media (max-width: 768px) {
    
    /* HEADER CONTAINER - Reduce padding on smaller screens */
    header .container {
        padding: 1rem 15px;
    }
    
    /* LOGO - Make logo smaller on tablets */
    .logo-container .logo {
        font-size: 1.3rem;
    }
    
    /* LOGO SYMBOL - Reduce logo symbol size */
    .logo-symbol {
        font-size: 1.6rem;
    }
    
    /* NAVIGATION - Transform desktop nav into mobile slide-in menu */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--background-color);
        border-left: 1px solid var(--border-color);
        transition: right 0.3s ease;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    /* NAVIGATION LIST - Stack nav items vertically */
    nav ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    /* NAVIGATION LINKS - Make nav links larger and more touch-friendly */
    nav ul li a {
        font-size: 1.2rem;
        padding: 1rem;
    }
    
    /* MOBILE MENU TOGGLE - Show hamburger menu on tablets/mobile */
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    /* NAVIGATION ACTIVE STATE - Show mobile menu when active class is added */
    nav.active {
        right: 0 !important; /* Slide menu in from the right */
    }

    /* MENU TOGGLE ACTIVE STATE - Animate hamburger to X when active */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
        
    /* DETAIL SECTION - Reduce detail section padding */
    .detail-section {
        padding: 3rem 0;
    }
    
    /* TITLE SECTION - Adjust title section */
    .title-section {
        margin-bottom: 1rem;
    }
    
    /* DETAIL TITLE - Make main heading smaller */
    .detail-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        text-align: center;
        line-height: 1.2;
    }
    
    /* STARTING AT PRICE - Reduce price text size and center */
    .StartingAt {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    /* DETAIL SECTION PARAGRAPH - Reduce detail text size and add side padding */
    .detail-section > .container > p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
        text-align: center;
        line-height: 1.5;
    }
    
    /* DETAIL CONTENT - Center detail content */
    .detail-content {
        text-align: left;
    }
    
    /* DETAIL CONTENT HEADINGS - Make content headings smaller */
    .detail-content h3 {
        font-size: 1.5rem;
        margin: 2rem 0 1.5rem 0;
        text-align: center;
    }
    
    /* DETAIL FEATURES LIST - Adjust feature list spacing */
    .detail-features {
        margin-bottom: 2rem;
    }
    
    /* DETAIL FEATURES ITEMS - Make feature items more touch-friendly */
    .detail-features li {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        padding-left: 1rem;
    }
    
    /* DETAIL FEATURES STRONG - Style feature headings */
    .detail-features li strong {
        display: block;
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }
    
    /* IDEAL FOR PARAGRAPH - Style ideal for section */
    .detail-content > p {
        font-size: 1rem;
        line-height: 1.5;
        margin: 2rem 0;
        text-align: center;
    }
    
    /* DETAIL NOT INCLUDED SECTION - Style not included section */
    .detail-not-included {
        margin-top: 3rem;
        padding-top: 2rem;
        border-top: 1px solid var(--border-color);
    }
    
    /* DETAIL NOT INCLUDED HEADING - Style not included heading */
    .detail-not-included h3 {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    /* BUTTON - Make button full-width and touch-friendly */
    .btn {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 2rem auto;
        padding: 1.2rem;
        font-size: 1.1rem;
        text-align: center;
        border-radius: 8px;
    }
    
    /* FOOTER - Reduce footer padding */
    footer {
        padding: 2rem 0 1rem;
    }
    
    /* FOOTER CONTENT - Stack footer content vertically instead of side-by-side */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    /* FOOTER LINKS - Single column layout for footer links */
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* FOOTER LIST ITEMS - Center footer list items */
    .footer-section ul li {
        justify-content: center;
    }
}

/* =================================
   MOBILE RESPONSIVE STYLES (480px and below)
   ================================= */
@media (max-width: 480px) {
    
    /* CONTAINER - Reduce container padding on very small screens */
    .container {
        padding: 0 15px;
    }
    
    /* LOGO - Make logo even smaller on mobile */
    .logo-container .logo {
        font-size: 1.2rem;
    }
    
    /* LOGO SYMBOL - Further reduce logo symbol size */
    .logo-symbol {
        font-size: 1.4rem;
    }
    
    /* NAVIGATION - Make mobile menu full width on very small screens */
    nav {
        width: 100%;
        right: -100%;
    }
    
    /* DETAIL SECTION - Very compact padding for mobile */
    .detail-section {
        padding: 2rem 0;
    }
    
    /* DETAIL TITLE - Much smaller heading for mobile screens */
    .detail-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    /* DETAIL TITLE SPAN - Make span break to new line on mobile */
    .detail-title span {
        display: block;
        margin-top: 0.5rem;
        font-size: 0.9em;
    }
    
    /* STARTING AT PRICE - Smaller price text with minimal padding */
    .StartingAt {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    /* DETAIL SECTION PARAGRAPH - Smaller text with minimal padding */
    .detail-section > .container > p {
        font-size: 1rem;
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* DETAIL CONTENT HEADINGS - Smaller content headings for mobile */
    .detail-content h3 {
        font-size: 1.3rem;
        margin: 1.5rem 0 1rem 0;
    }
    
    /* DETAIL FEATURES ITEMS - Adjust feature items for mobile */
    .detail-features li {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
        padding-left: 0.8rem;
        line-height: 1.5;
    }
    
    /* DETAIL FEATURES STRONG - Smaller feature headings for mobile */
    .detail-features li strong {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    /* IDEAL FOR PARAGRAPH - Smaller ideal for text */
    .detail-content > p {
        font-size: 0.9rem;
        margin: 1.5rem 0;
        line-height: 1.4;
    }

    .detail-content pre  {
        white-space: pre-wrap;       /* wraps long lines */
        word-break: break-word;      /* breaks long words */
        overflow-x: auto;            /* scrolls if still overflows */
        max-width: 100%;
    }
    
    .detail-content pre h4 {
        text-align: center;
        color: #f1da63;
    }

    /* DETAIL NOT INCLUDED SECTION - Tighter spacing for mobile */
    .detail-not-included {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    /* DETAIL NOT INCLUDED HEADING - Smaller not included heading */
    .detail-not-included h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .detail-not-included .container a {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 4rem;
        
    }
    
    /* BUTTON - Adjust button for mobile */
    .btn {
        max-width: none;
        margin: 1.5rem 0;
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* FOOTER LINKS - Tighter spacing for footer links on mobile */
    .footer-links {
        gap: 1.5rem;
    }
    
    /* FOOTER SECTION HEADINGS - Smaller footer headings with less margin */
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    /* FOOTER SECTION LIST ITEMS - Smaller footer text */
    .footer-section ul li {
        font-size: 0.9rem;
    }
}

/* =================================
   VERY SMALL MOBILE (320px and below)
   ================================= */
@media (max-width: 320px) {
    
    /* DETAIL TITLE - Extra small heading for very small screens */
    .detail-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    /* DETAIL TITLE SPAN - Even smaller span text */
    .detail-title span {
        font-size: 0.85em;
        margin-top: 0.3rem;
    }
    
    /* STARTING AT PRICE - Extra small price text */
    .StartingAt {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }
    
    /* DETAIL SECTION PARAGRAPH - Extra small detail text */
    .detail-section > .container > p {
        font-size: 0.9rem;
        padding: 0 0.3rem;
        margin-bottom: 1.2rem;
        line-height: 1.4;
    }
    
    /* DETAIL CONTENT HEADINGS - Extra small content headings */
    .detail-content h3 {
        font-size: 1.2rem;
        margin: 1.2rem 0 0.8rem 0;
    }
    
    /* DETAIL FEATURES ITEMS - Smaller feature items for tiny screens */
    .detail-features li {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        padding-left: 0.6rem;
        line-height: 1.4;
    }
    
    /* DETAIL FEATURES STRONG - Extra small feature headings */
    .detail-features li strong {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    /* IDEAL FOR PARAGRAPH - Extra small ideal for text */
    .detail-content > p {
        font-size: 0.85rem;
        margin: 1.2rem 0;
        line-height: 1.3;
    }
    
    /* DETAIL NOT INCLUDED SECTION - Minimal spacing for tiny screens */
    .detail-not-included {
        margin-top: 1.5rem;
        padding-top: 1.2rem;
    }
    
    /* DETAIL NOT INCLUDED HEADING - Extra small not included heading */
    .detail-not-included h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    /* BUTTON - Smaller button for tiny screens */
    .btn {
        margin: 1.2rem 0;
        padding: 0.9rem;
        font-size: 0.95rem;
    }
    
    /* FOOTER SECTION HEADINGS - Extra small footer headings */
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    /* FOOTER SECTION LIST ITEMS - Extra small footer text */
    .footer-section ul li {
        font-size: 0.85rem;
    }
    
    /* FOOTER BOTTOM - Extra small footer bottom text */
    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* =================================
   LANDSCAPE ORIENTATION FOR PHONES
   ================================= */
@media screen and (max-height: 500px) and (orientation: landscape) and (max-width: 768px) {
    
    /* DETAIL SECTION - Minimal padding for landscape */
    .detail-section {
        padding: 1.5rem 0;
    }
    
    /* DETAIL TITLE - Compact title for landscape */
    .detail-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    /* STARTING AT PRICE - Compact price for landscape */
    .StartingAt {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    /* DETAIL CONTENT HEADINGS - Compact headings for landscape */
    .detail-content h3 {
        font-size: 1.2rem;
        margin: 1rem 0 0.5rem 0;
    }
    
    /* DETAIL FEATURES ITEMS - Compact feature items for landscape */
    .detail-features li {
        margin-bottom: 0.8rem;
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    /* BUTTON - Compact button for landscape */
    .btn {
        margin: 1rem auto;
        padding: 0.8rem 1.5rem;
        max-width: 250px;
    }
    
    /* HEADER - Compact header for landscape */
    header {
        padding: 0.5rem 0;
    }
    
    /* LOGO - Compact logo for landscape */
    .logo {
        font-size: 1rem;
    }
}

/* =================================
   ACCESSIBILITY IMPROVEMENTS
   ================================= */

/* REDUCED MOTION - Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* FOCUS STATES - Improve keyboard navigation visibility */
a:focus,
button:focus,
.btn:focus,
.menu-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* HIGH CONTRAST - Improve visibility in high contrast mode */
@media (prefers-contrast: high) {
    .detail-title,
    .StartingAt,
    .detail-content h3 {
        text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
    }
    
    .btn {
        border-width: 3px;
    }
}