/* ============================================================
   COMPREHENSIVE RESPONSIVE STYLES FOR OROPLATA WEBSITE
   Covers: Mobile, HD (1366px), Full HD (1920px), Mac devices
   ============================================================ */

/* ==================== BASE RESPONSIVE RULES ==================== */

/* Fluid media */
img,
video {
    max-width: 100%;
    height: auto;
}

.banner img,
.banner video {
    max-width: none;
}

section,
div,
nav,
header,
footer {
    min-width: 0;
}

/* Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #f5d142;
    outline-offset: 2px;
}

/* ==================== FLUID TYPOGRAPHY ==================== */

.banner-left .headline,
.banner-right .headline {
    font-size: clamp(1.75rem, 3.2vw + 0.5rem, 3rem);
    line-height: 1.15;
}

.banner-left .subhead {
    font-size: clamp(0.9rem, 1.1vw + 0.5rem, 1.1rem);
}

.services-header h1 {
    font-size: clamp(2rem, 3vw + 1rem, 3rem);
}

.services-header .services-desc {
    font-size: clamp(0.95rem, 0.7vw + 0.6rem, 1.15rem);
}

.offer-discount,
.offer-title {
    font-size: clamp(1.8rem, 2.6vw + 0.6rem, 3.2rem);
}

.offer-desc {
    font-size: clamp(1rem, 0.9vw + 0.5rem, 1.25rem);
}

.header-text h1 {
    font-size: clamp(2rem, 2vw + 1rem, 3rem);
}

.header-text p {
    font-size: 18px;
}

.middle-left h2,
.bottom-center h2 {
    font-size: clamp(0.9rem, 0.5vw + 0.6rem, 1rem);
}

.gallery-header h1 {
    font-size: clamp(2rem, 2.6vw + 0.6rem, 4.5rem);
}

.gallery-header p {
    font-size: clamp(0.9rem, 0.6vw + 0.6rem, 1rem);
}

/* ==================== HEADER & NAVIGATION ==================== */

/* Tablet and below */
@media (max-width: 1024px) {
    .site-header {
        height: auto;
        padding: 10px 0;
    }

    .header-container.header-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo phone"
            "nav  nav";
        row-gap: 10px;
        align-items: center;
    }

    .logo-container {
        grid-area: logo;
    }

    .header-contact {
        grid-area: phone;
        justify-self: end;
        font-size: 13px;
        gap: 6px;
    }

    .main-nav {
        grid-area: nav;
        display: flex !important;
        flex-wrap: wrap;
        gap: 16px;
        padding-top: 6px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .main-nav a {
        font-size: 14px;
        padding: 6px 0;
    }

    .nav-toggle {
        display: none !important;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .logo-container img {
        height: 25px;
    }

    .header-contact span {
        font-size: 12px;
    }

    .main-nav {
        gap: 12px;
    }

    .main-nav a {
        font-size: 13px;
    }
}

/* ==================== HOME PAGE - BANNER ==================== */

@media (max-width: 768px) {

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    .banner-wrapper {
        padding-top: 10%;
    }

    .banner-left {
        top: 18%;
        left: 6%;
    }

    .banner-right {
        bottom: 18%;
        right: 6%;
    }

    .circle-cta {
        width: 88px;
        height: 88px;
    }

    .banner-wrapper {
        position: relative;
        height: 100vh;
    }
}

@media (max-width: 480px) {
    .banner-left {
        top: 16%;
        left: 5%;
    }

    .banner-right {
        bottom: 16%;
        right: 5%;
    }

    .circle-cta {
        width: 78px;
        height: 78px;
    }
}

/* ==================== HOME PAGE - CHOOSE SECTION ==================== */

@media (max-width: 1024px) {
    .choose-box {
        padding: 40px 32px;
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .choose-box {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 28px 22px;
        gap: 28px;
    }

    .choose-right {
        width: 220px;
        height: 220px;
        margin: 0 auto;
    }

    .circle-rotating {
        width: 200px;
        height: 200px;
    }

    .circle-text .right {
        right: -40px;
    }

    .circle-text .left {
        left: -46px;
    }

    .circle-text .top {
        top: -24px;
    }

    .circle-text .bottom {
        bottom: -24px;
    }
}

/* ==================== HOME PAGE - SERVICES SECTION ==================== */

@media (max-width: 600px) {
    .service-card {
        width: 92vw;
        max-width: 420px;
    }

    .service-card img {
        height: 180px;
    }

    .services-header .services-desc {
        padding: 0 16px;
    }

    .left-lights,
    .right-lights {
        width: 120px;
        top: -4%;
    }
}

/* ==================== HOME PAGE - OFFER SECTION ==================== */

@media (max-width: 480px) {

    .offer-left,
    .offer-right {
        padding: 24px 5vw;
    }

    .offer-right img {
        border-radius: 24px;
    }
}

/* ==================== HOME PAGE - PROJECTS GRID ==================== */

@media (max-width: 968px) {
    .header-text {
        padding: 28px 24px;
    }

    .middle-left {
        padding: 36px 24px;
    }

    .bottom-center {
        padding: 36px 24px;
    }

    .header-section {
        grid-template-columns: 1fr;
    }

    .middle-right {
        grid-template-columns: 1fr;
    }

    .bottom-row {
        grid-template-columns: 1fr;
    }
}

/* ==================== HOME PAGE - GALLERY ==================== */

@media (max-width: 480px) {
    .carousel-container {
        padding: 0 16px;
    }

    .slide-content {
        height: 260px;
    }
}

/* ==================== ABOUT PAGE - BANNER ==================== */

@media (max-width: 1024px) {
    .banner-text {
        font-size: 3rem;
        width: 90%;
    }
}

@media (max-width: 768px) {
    .banner-text {
        font-size: 2.2rem;
        width: 95%;
    }

    .scroll-line-container {
        width: 220px;
    }
}

@media (max-width: 480px) {
    .banner-text {
        font-size: 1.8rem;
    }

    .scroll-line-container {
        width: 180px;
        bottom: 40px;
    }
}

/* ==================== ABOUT PAGE - VISION/MISSION ==================== */

@media (max-width: 768px) {

    .vm-box-vision,
    .vm-box-mission {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        width: 98%;
    }

    .vm-box-vision p,
    .vm-box-mission p {
        width: 100%;
    }

    .vm-img img {
        height: 250px;
    }
}

@media (max-width: 480px) {

    .vm-box-vision h2,
    .vm-box-mission h2 {
        font-size: 24px;
    }

    .vm-box-vision p,
    .vm-box-mission p {
        font-size: 14px;
    }
}

/* ==================== ABOUT PAGE - DIRECTORS & TEAM ==================== */

@media (max-width: 1000px) {
    .content-box {
        flex-direction: column;
        gap: 30px;
    }

    .left-content,
    .left-content-team {
        transform: translateX(0);
        border-left: 3px solid #c6a356;
        width: 95%;
        margin: 0 auto;
    }

    .right-grid,
    .right-grid-team-alt {
        width: 95%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .right-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
    }

    .right-grid-team-alt {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .person-card img {
        height: 280px;
    }

    .person-card-alt img {
        height: 220px;
    }
}

@media (max-width: 480px) {

    .left-content h3,
    .left-content-team h3 {
        font-size: 22px;
    }

    .right-grid {
        grid-template-columns: 1fr;
    }

    .right-grid-team-alt {
        grid-template-columns: 1fr;
    }
}

/* ==================== ABOUT PAGE - WHY CHOOSE ==================== */

@media (max-width: 768px) {
    .why-grid {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .why-box {
        width: 90%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .why-section h3 {
        font-size: 26px;
    }

    .why-box h4 {
        font-size: 22px;
    }
}

/* ==================== ABOUT PAGE - HOW WE WORK ==================== */

@media (max-width: 900px) {
    .howwework-content {
        flex-direction: column;
        text-align: center;
    }

    .howwework-text {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stage-buttons {
        flex-wrap: wrap;
        gap: 8px;
    }

    .stage-btn {
        font-size: 12px;
        padding: 6px 18px;
    }
}

/* ==================== SERVICES PAGE - BANNER ==================== */

@media (max-width: 768px) {
    .services-banner {
        padding: 100px 20px 60px;
    }

    .services-banner h2 {
        font-size: 32px;
    }

    .services-banner p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .services-banner {
        padding: 80px 15px 40px;
    }

    .services-banner h2 {
        font-size: 26px;
    }
}

/* ==================== SERVICES PAGE - SERVICE ROWS ==================== */

@media (max-width: 1024px) {
    .service-content {
        flex-direction: column;
        gap: 20px;
    }

    .service-left {
        transform: translateX(0);
        border-left: 3px solid #b2902e;
        width: 95%;
        margin: 0 auto;
    }

    .service-right {
        flex-direction: column;
        width: 95%;
        margin: 0 auto;
    }

    .service-info {
        border-radius: 24px;
    }

    .service-image {
        width: 100%;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .section-header {
        padding: 0 15px;
    }

    .service-left h3 {
        font-size: 20px;
    }

    .service-info h4 {
        font-size: 22px;
    }

    .service-info li {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .service-left {
        padding: 30px 20px;
    }

    .service-info {
        padding: 30px 25px;
    }
}

/* ==================== SERVICES PAGE - PRODUCTS ==================== */

@media (max-width: 768px) {
    .products-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .product-card {
        width: 90%;
        max-width: 300px;
    }
}

/* ==================== CONTACT PAGE - HEADER ==================== */

@media (max-width: 900px) {
    .contact-header {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .contact-left {
        padding: 2%;
        width: 100%;
    }

    .contact-right {
        max-width: 100%;
        margin: 20px auto 0;
    }

    .contact-header h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .contact-header h1 {
        font-size: 26px;
    }

    .contact-info .info-item {
        font-size: 13px;
        padding: 8px 12px;
    }
}

/* ==================== CONTACT PAGE - FORM ==================== */

@media (max-width: 900px) {
    .contact-form-wrapper {
        flex-direction: column;
        gap: 40px;
        padding: 2% 4%;
    }

    .form-left,
    .form-right {
        width: 100%;
    }

    .budget-options {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .form-desc {
        padding-left: 4%;
        font-size: 14px;
    }

    .budget-options button {
        font-size: 12px;
        padding: 6px 16px;
    }
}

/* ==================== CONTACT PAGE - FAQ ==================== */

@media (max-width: 900px) {
    .faq-section {
        flex-direction: column;
        gap: 30px;
        padding: 2% 4%;
    }

    .faq-left,
    .faq-right {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .faq-question {
        font-size: 16px;
    }

    .faq-answer {
        font-size: 12px;
    }
}

/* ==================== PORTFOLIO PAGE - BANNER ==================== */

@media (max-width: 900px) {
    .banner {
        flex-direction: column;
    }

    .banner-item {
        min-height: 25vh;
    }

    .banner.has-active .banner-item h2 {
        position: static;
        transform: none;
        display: block;
        text-align: center;
        margin: 10px auto;
    }

    .banner-item h2 {
        font-size: 22px;
    }

    .banner-item.active h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .banner-item h2 {
        font-size: 18px;
    }

    .banner-item.active h2 {
        font-size: 20px;
    }
}

/* ==================== PORTFOLIO PAGE - PROJECT SHOWCASE ==================== */

@media (max-width: 992px) {
    .project-container {
        flex-direction: column;
        gap: 40px;
    }

    .project-left img {
        height: 360px;
    }

    .project-right h2 {
        font-size: 2rem;
    }

    .project-pagination {
        position: relative;
        top: auto;
        right: auto;
        justify-content: center;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .project-showcase {
        padding: 40px 4%;
    }

    .project-right h2 {
        font-size: 1.6rem;
    }

    .project-thumbs {
        flex-direction: column;
        gap: 15px;
    }

    .project-thumbs img {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .project-left img {
        height: 280px;
    }

    .project-right h2 {
        font-size: 1.4rem;
    }

    .project-right p {
        font-size: 14px;
    }
}

/* ==================== WORK TOGETHER SECTION ==================== */

@media (max-width: 768px) {
    .work-together {
        min-height: 50vh;
        padding: 40px 20px;
    }

    .work-together h2 {
        font-size: 2rem;
    }

    .arcs {
        opacity: 0.3;
    }
}

@media (max-width: 480px) {
    .work-together h2 {
        font-size: 1.6rem;
    }

    .quote-btn {
        padding: 12px 40px;
        font-size: 1rem;
    }
}

/* ==================== FOOTER ==================== */

@media (max-width: 992px) {
    .footer-toprow {
        padding: 0 20px;
        flex-wrap: wrap;
        gap: 18px;
    }

    .top-left,
    .top-center,
    .top-right {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .footer-divider {
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .footer-logo {
        width: 85%;
        max-width: 900px;
    }

    .footer-light--left,
    .footer-light--center,
    .footer-light--right {
        width: 360px;
        height: 360px;
        filter: blur(40px);
    }
}

@media (max-width: 600px) {
    .footer-logo {
        width: 320px;
    }

    .footer-light--left,
    .footer-light--center,
    .footer-light--right {
        width: 260px;
        height: 260px;
        filter: blur(30px);
    }

    .contact-text {
        font-size: 14px;
    }

    .contact-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .social-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .top-contact {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .location-item {
        text-align: center;
    }
}

/* ==================== HD (1366px) DEVICES ==================== */

@media (min-width: 1366px) and (max-width: 1919px) {
    .services-cards {
        gap: 24px;
    }

    .service-card {
        width: 300px;
    }

    .header-container {
        max-width: 1255px;
    }

    .choose-box {
        width: min(88%, 1100px);
    }

    .offer-right img {
        width: 480px;
        height: 320px;
    }
}

/* ==================== FULL HD (1920px) DEVICES ==================== */

@media (min-width: 1920px) and (max-width: 2559px) {
    .header-container {
        max-width: 1750px;
    }

    .services-header .services-desc {
        max-width: 900px;
    }

    .service-card {
        width: 340px;
    }

    .choose-box {
        /* width: min(86%, 1300px); */
        padding: 50px 60px;
    }

    .offer-right img {
        width: 560px;
        height: 380px;
    }

    .footer-logo {
        width: 1100px;
    }
}

/* ==================== MAC DEVICES (1440px - Retina MacBook) ==================== */

@media (min-width: 1440px) and (max-width: 1680px) {
    .header-container {
        max-width: 1300px;
    }

    .choose-box {
        width: min(87%, 1200px);
    }

    .services-cards {
        gap: 28px;
    }

    .service-card {
        width: 320px;
    }
}

/* ==================== MAC DEVICES (1680px - iMac) ==================== */

@media (min-width: 1680px) and (max-width: 1919px) {
    .header-container {
        max-width: 1500px;
    }

    .choose-box {
        width: min(85%, 1350px);
    }

    .services-cards {
        gap: 30px;
    }

    .service-card {
        width: 330px;
    }

    .footer-logo {
        width: 1000px;
    }
}

/* ==================== LARGE SCREENS / 4K (>2560px) ==================== */

@media (min-width: 2560px) {
    .header-container {
        max-width: 1680px;
    }

    .banner-img {
        min-width: 130%;
        min-height: 130%;
    }

    .circle-cta {
        width: 140px;
        height: 140px;
    }

    .choose-box {
        width: min(1600px, 86%);
        padding: 80px 100px;
    }

    .services-header h1 {
        font-size: 3.5rem;
    }

    .services-header .services-desc {
        max-width: 1100px;
        font-size: 1.25rem;
    }

    .service-card {
        width: 380px;
    }

    .offer-right img {
        width: 640px;
        height: 420px;
    }

    .footer-logo {
        width: 1200px;
    }

    .footer-light--center {
        width: 600px;
        height: 600px;
    }

    .footer-light--left,
    .footer-light--right {
        width: 500px;
        height: 500px;
    }
}

/* ==================== ULTRA-SMALL SAFEGUARD ==================== */

@media (max-width: 360px) {

    .banner-left .headline,
    .banner-right .headline {
        word-break: break-word;
    }

    .service-arrow {
        right: 16px;
        bottom: 16px;
    }

    .header-container {
        padding: 0 15px;
    }

    .choose-box {
        padding: 20px 15px;
        width: 100%;
    }
}

/* ==================== LANDSCAPE ORIENTATION ==================== */

@media (max-height: 500px) and (orientation: landscape) {
    .banner-wrapper {
        height: 100vh;
    }

    .banner {
        height: 100vh;
    }

    .about-banner {
        height: 60vh;
    }

    .work-together {
        min-height: 100vh;
    }
}