/* =========================================
   RIMAS PORTFOLIO
   RESPONSIVE STYLESHEET
========================================= */


/* =========================================
   LARGE LAPTOPS
========================================= */

@media screen and (max-width: 1200px) {

    :root {
        --container-width: 1050px;
    }

    .nav-links {
        gap: 17px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .hero-container {
        gap: 40px;
    }

    .hero-title {
        font-size: 65px;
    }

    .hero-artwork-frame {
        height: 430px;
    }

    .artwork-circle {
        width: 250px;
        height: 250px;
    }

    .artwork-text {
        font-size: 35px;
    }

}


/* =========================================
   TABLETS & SMALL LAPTOPS
========================================= */

@media screen and (max-width: 992px) {

    .section {
        padding: 85px 0;
    }

    /* Navigation */

    .navbar {
        gap: 15px;
    }

    .nav-links {
        gap: 13px;
    }

    .nav-links a {
        font-size: 12px;
    }

    /* Hero */

    .hero {
        min-height: 650px;
    }

    .hero-container {
        grid-template-columns: 1fr 0.8fr;
        gap: 25px;
    }

    .hero-title {
        font-size: 52px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-artwork-frame {
        height: 360px;
    }

    .artwork-circle {
        width: 210px;
        height: 210px;
    }

    .artwork-text {
        font-size: 29px;
    }

    /* About */

    .about-grid {
        gap: 45px;
    }

    /* Journey */

    .journey-content {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Skills */

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Projects */

    .project-image {
        height: 230px;
    }

    /* Brands */

    .brands-grid {
        gap: 20px;
    }

    .brand-content {
        padding: 22px;
    }

    .brand-cover {
        height: 220px;
    }

}


/* =========================================
   MOBILE NAVIGATION
========================================= */

@media screen and (max-width: 768px) {

    .container {
        width: 90%;
    }

    .section {
        padding: 75px 0;
    }

    /* Navigation */

    .navbar {
        min-height: 72px;
    }

    .menu-toggle {
        display: flex;
        order: 3;
    }

    .language-toggle {
        margin-inline-start: auto;
    }

    .nav-links {
        position: absolute;
        top: 72px;
        inset-inline: 0;
        width: 100%;
        padding: 25px 5%;
        background: var(--background);
        border-top: 1px solid var(--light-gray);
        box-shadow: 0 15px 25px rgba(131, 56, 48, 0.08);

        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;

        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        font-size: 15px;
    }

    /* Hero */

    .hero {
        min-height: auto;
        padding-top: 55px;
        padding-bottom: 25px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero-content {
        order: 2;
        text-align: center;
    }

    .hero-artwork {
        order: 1;
        max-width: 340px;
    }

    .hero-artwork-frame {
        height: 340px;
    }

    .artwork-circle {
        width: 220px;
        height: 220px;
    }

    .artwork-text {
        font-size: 32px;
    }

    .hero-title {
        font-size: clamp(43px, 9vw, 58px);
        letter-spacing: -1px;
    }

    .hero-description {
        margin-inline: auto;
        font-size: 15px;
    }

    .hero-name,
    .hero-role {
        text-align: center;
    }

    .hero-actions,
    .hero-social {
        justify-content: center;
    }

    .hero-bottom {
        margin-top: 45px;
        font-size: 10px;
        gap: 15px;
    }

    /* About */

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-intro h3 {
        font-size: 25px;
    }

    /* Journey */

    .journey-content {
        grid-template-columns: 1fr;
    }

    .journey-card {
        padding: 30px;
    }

    /* Education */

    .education-card {
        padding: 30px;
        gap: 22px;
    }

    .education-icon {
        width: 85px;
        height: 85px;
        font-size: 15px;
    }

    .education-info h3 {
        font-size: 20px;
    }

    /* Skills */

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-category {
        padding: 25px;
    }

    /* Projects */

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .project-image {
        height: 280px;
    }

    /* Brands */

    .brands-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .brand-cover {
        height: 250px;
    }

    .brand-gallery img {
        height: 140px;
    }

    .brand-gallery-three img {
        height: 115px;
    }

    /* Volunteering */

    .volunteer-card {
        padding: 30px;
        gap: 25px;
    }

    .volunteer-mark {
        width: 120px;
        height: 120px;
        font-size: 12px;
    }

    .volunteer-info h3 {
        font-size: 21px;
    }

    /* Interests */

    .interests-list {
        gap: 10px;
    }

    .interests-list span {
        padding: 10px 17px;
        font-size: 13px;
    }

    /* Contact */

    .contact-content h2 {
        font-size: 38px;
    }

    .contact-methods {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-link {
        width: 100%;
    }

}


/* =========================================
   SMALL MOBILE PHONES
========================================= */

@media screen and (max-width: 480px) {

    .section {
        padding: 60px 0;
    }

    .container {
        width: 91%;
    }

    /* Hero */

    .hero-artwork {
        max-width: 285px;
    }

    .hero-artwork-frame {
        height: 290px;
    }

    .artwork-circle {
        width: 185px;
        height: 185px;
    }

    .artwork-text {
        font-size: 27px;
    }

    .hero-title {
        font-size: 43px;
    }

    .hero-eyebrow {
        font-size: 12px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-actions {
        gap: 10px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 12px;
    }

    .hero-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    /* Headings */

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: 33px;
    }

    .section-heading > p {
        font-size: 14px;
    }

    /* About */

    .about-intro h3 {
        font-size: 22px;
    }

    .about-intro p {
        font-size: 14px;
    }

    .detail-item strong {
        font-size: 13px;
    }

    /* Journey */

    .journey-card h3 {
        font-size: 20px;
    }

    .journey-card p {
        font-size: 13px;
    }

    /* Education */

    .education-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }

    .education-info h3 {
        font-size: 19px;
    }

    .education-info p {
        font-size: 13px;
    }

    /* Skills */

    .skill-category h3 {
        font-size: 18px;
    }

    .skill-item {
        font-size: 12px;
    }

    .skill-level {
        font-size: 10px;
    }

    /* Projects */

    .project-image {
        height: 215px;
    }

    .project-info {
        padding: 22px;
    }

    .project-info h3 {
        font-size: 23px;
    }

    /* Brands */

    .brand-cover {
        height: 210px;
    }

    .brand-content {
        padding: 22px;
    }

    .brand-content h3 {
        font-size: 24px;
    }

    .brand-content > p {
        font-size: 13px;
    }

    .brand-gallery img {
        height: 105px;
    }

    .brand-gallery-three img {
        height: 90px;
    }

    /* Volunteering */

    .volunteer-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }

    .volunteer-mark {
        width: 100px;
        height: 100px;
    }

    .volunteer-info h3 {
        font-size: 20px;
    }

    .volunteer-info p {
        font-size: 13px;
    }

    /* Contact */

    .contact-content h2 {
        font-size: 32px;
    }

    .contact-content > p {
        font-size: 14px;
    }

    /* Footer */

    .footer-content {
        min-height: 120px;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding: 20px 0;
        gap: 12px;
    }

    .footer-content p {
        width: 100%;
        order: 3;
    }

}


/* =========================================
   EXTRA SMALL DEVICES
========================================= */

@media screen and (max-width: 350px) {

    .hero-title {
        font-size: 36px;
    }

    .hero-artwork-frame {
        height: 250px;
    }

    .artwork-circle {
        width: 155px;
        height: 155px;
    }

    .artwork-text {
        font-size: 23px;
    }

    .project-image {
        height: 180px;
    }

    .brand-gallery-three {
        grid-template-columns: 1fr;
    }

    .brand-gallery-three img {
        height: 150px;
    }

}


/* =========================================
   PRINT STYLES
========================================= */

@media print {

    .site-header,
    .hero-actions,
    .hero-social,
    .scroll-indicator,
    .contact-methods,
    .back-to-top {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .section {
        padding: 25px 0;
        break-inside: avoid;
    }

}