/* ===== RESPONSIVE MEDIA QUERIES ===== */

/* Hamburger Menu Styles - Base */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    cursor: url('assets/cursors/pointer.png') 16 16, auto;
}

.hamburger-menu span {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

/* Hamburger animation */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile menu styles */
.links-container.active {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--review-sec-color), var(--review-color));
    z-index: 999;
    padding-top: 80px;
}

.links-container.active .links {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    padding: 0;
}

.links-container.active .links a {
    font-size: 24px;
    padding: 15px 0;
    width: 80%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Very Large Screens (Modern Desktops) */
@media screen and (max-width: 1400px) {
    h1 {
        font-size: 7rem;
    }
    
    h2 {
        font-size: 4.5em;
    }
    
    .pfp {
        height: 35rem;
    }
    
    .intro-container {
        margin: 30px 30px 20px 40px;
    }
    
    .reel-containers {
        max-width: 1000px;
    }
}

/* Large Screens (Desktops) */
@media screen and (max-width: 1200px) {
    h1 {
        font-size: 6rem;
    }
    
    h2 {
        font-size: 4em;
    }
    
    .pfp {
        height: 30rem;
    }
    
    .intro-container {
        width: 55%;
    }
    
    .reel-containers {
        max-width: 900px;
        padding: 15px;
    }
    
    .reel-texts p {
        font-size: 18px;
    }
    
    .contact-inputs {
        width: 350px;
    }
    
    .banner-pfp {
        height: 75vh;
        margin-left: 6vw;
    }
    
    /* Reviews - Show 2 cards on large screens */
    .review-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

/* Medium Screens (Tablets) */
@media screen and (max-width: 992px) {
    .hamburger-menu {
        display: flex;
    }
    
    .links-container {
        display: none;
    }
    
    .socials-container {
        position: relative;
        order: -1;
        margin-right: auto;
    }
    
    .socials-container a {
        padding: 15px;
    }
    
    h1 {
        font-size: 5rem;
    }
    
    h2 {
        font-size: 3.5em;
    }
    
    #title-card-section {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .intro-container {
        width: 100%;
        margin: 20px 0;
        order: 2;
    }
    
    .pfp-container {
        order: 1;
        margin-bottom: 30px;
    }
    
    .pfp {
        height: 25rem;
        width: 80%;
    }
    
    .reel-containers {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .reel-texts {
        width: 100%;
    }
    
    .youtube-samples,
    .commercial-samples,
    .elearning-samples {
        transform: none;
        width: 100%;
    }
    
    .youtube-samples {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .youtube-samples iframe {
        width: 100%;
        height: 250px;
        margin: 0;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .contact-banner {
        padding: 25px 0;
        text-align: center;
    }
    
    .banner-pfp {
        height: 50vh;
        margin: 0;
    }
    
    .banner-logo {
        position: static;
        transform: none;
        width: 80%;
        margin-top: 20px;
    }
    
    .contact-info {
        padding: 0;
        width: 100%;
        justify-content: center;
    }
    
    .baby-footer {
        position: static;
        transform: none;
        text-align: center;
        margin-top: 40px;
    }
    
    /* Reviews - Show 1 card on tablets */
    .review-card {
        flex: 0 0 100%;
    }
    
    .carousel-wrapper {
        padding: 0 20px;
    }
}

/* Small Screens (Small Tablets & Large Phones) */
@media screen and (max-width: 768px) {
    .shak-logo {
        height: 10vh;
    }
    
    h1 {
        font-size: 4rem;
        line-height: 1.1;
    }
    
    h2 {
        font-size: 2.8em;
        line-height: 1.2;
    }
    
    .intro-subtext {
        font-size: 16px;
        margin: 20px 0;
    }
    
    .intro-brands {
        height: 5vh;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .intro-brands img {
        max-height: 40px;
    }
    
    .pfp {
        height: 20rem;
        width: 85%;
    }
    
    .reel-sections {
        padding: 60px 0;
        margin-top: 100px;
    }
    
    .reel-containers {
        padding: 10px;
    }
    
    .reel-texts p {
        font-size: 16px;
    }
    
    .youtube-samples {
        grid-template-columns: 1fr;
    }
    
    .youtube-samples iframe {
        height: 220px;
    }
    
    .audio-player {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 15px;
    }
    
    .audio-title {
        font-size: 14px;
    }
    
    .progress-container {
        width: 100%;
    }
    
    .commercial-samples video,
    .elearning-samples video {
        height: 250px;
    }
    
    .contact-inputs {
        width: 90%;
        max-width: 300px;
    }
    
    .contact-right button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    #review-section {
        padding: 1rem 0.5rem;
    }
    
    #review-section h1 {
        font-size: 2rem;
    }
    
    .review-card {
        padding: 4rem 1.5rem 1.5rem;
    }
    
    .review-card h4 {
        font-size: 1.3rem;
    }
    
    .review-card p {
        font-size: 14px;
    }
    
    .carousel-wrapper {
        padding: 0 10px;
    }
    
    button {
        font-size: 1.5rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Extra Small Screens (Phones) */
@media screen and (max-width: 576px) {
    .nav-bar-container {
        padding: 0 15px;
    }
    
    .socials-container a {
        padding: 12px;
    }
    
    .socials-container svg {
        width: 28px;
        height: 28px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2em;
    }
    
    #title-card-section {
        padding: 20px 15px;
    }
    
    .intro-subtext {
        font-size: 14px;
    }
    
    .intro-brands {
        height: 4vh;
        gap: 10px;
    }
    
    .intro-brands img {
        max-height: 30px;
    }
    
    .pfp {
        height: 18rem;
        width: 90%;
    }
    
    .reel-sections {
        padding: 40px 0;
        margin-top: 80px;
    }
    
    .reel-texts p {
        font-size: 15px;
    }
    
    .youtube-samples iframe {
        height: 200px;
    }
    
    .audio-player {
        margin: 15px 0;
        padding: 12px;
    }
    
    .audio-title {
        font-size: 12px;
    }
    
    .play-btn {
        font-size: 16px;
        padding: 4px 8px;
    }
    
    .commercial-samples video,
    .elearning-samples video {
        height: 200px;
    }
    
    .contact-inputs {
        width: 95%;
        height: 45px;
        font-size: 14px;
    }
    
    .contact-right textarea {
        height: 120px;
    }
    
    .banner-pfp {
        height: 40vh;
    }
    
    #review-section h1 {
        font-size: 1.8rem;
    }
    
    .review-card {
        padding: 3.5rem 1rem 1rem;
    }
    
    .review-card h4 {
        font-size: 1.2rem;
        margin-top: 3rem;
    }
    
    .review-card p {
        font-size: 13px;
    }
    
    .review-card img {
        max-width: 80px;
    }
    
    button {
        font-size: 1.2rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Fix for very small phones */
@media screen and (max-width: 375px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2em;
    }
    
    .intro-subtext {
        font-size: 13px;
    }
    
    .pfp {
        height: 16rem;
    }
    
    .reel-texts p {
        font-size: 14px;
    }
    
    .youtube-samples iframe {
        height: 180px;
    }
    
    .audio-title {
        font-size: 11px;
    }
    
    .commercial-samples video,
    .elearning-samples video {
        height: 180px;
    }
    
    .contact-inputs {
        height: 40px;
        font-size: 13px;
    }
    
    .banner-pfp {
        height: 35vh;
    }
    
    #review-section h1 {
        font-size: 1.6rem;
    }
    
    .review-card {
        padding: 3rem 0.8rem 0.8rem;
    }
}

/* Landscape mode adjustments */
@media screen and (max-height: 600px) and (orientation: landscape) {
    .hamburger-menu {
        top: 10px;
        right: 15px;
    }
    
    .pfp {
        height: 250px;
    }
    
    #title-card-section {
        padding: 20px;
    }
    
    .banner-pfp {
        height: 60vh;
    }
    
    .reel-sections {
        padding: 30px 0;
        margin-top: 50px;
    }
    
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.5em;
    }
}

/* High-resolution displays */
@media screen and (-webkit-min-device-pixel-ratio: 2), 
       screen and (min-resolution: 192dpi) {
    .pfp,
    .banner-pfp,
    .intro-brands img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: optimize-contrast;
    }
}

/* Print styles */
@media print {
    .hamburger-menu,
    .socials-container,
    .bg-video,
    .bg-video-border,
    audio,
    video,
    iframe {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .review-card {
        break-inside: avoid;
    }
}