
/* Large → Medium (max 1280px) */
@media (max-width: 1280px) {
   
    /*HERO SECTION*/

    #desktop-navigation {
        padding: 1rem 2rem;
    }


    .title-container h2 {
        font-size: 2.4rem;
        padding: 0 2rem;
    }

    /*ABOUT SECTION*/

    .about-profile {
        padding: 0 4rem;
    }

    /*PROPERTIES (ARTICLE) SECTION*/


    #properties-section {
        height: 120vh;
    }

    .article-card img {
        object-fit: cover;
    }

    /*CONTACT SECTION*/

    .contact-info {
        width: auto;
        padding: 1rem;
    }

    .bg-mask {
        gap: 1rem;
    }
  
}

/* Medium → Tablet (max 1024px) */
@media (max-width: 1024px) {
    
    /*HEADER SECTION - NAVIGATION SECTION*/

    #desktop-navigation {
        padding: 1rem 4rem;
    }

    .desktop-nav-logo h1 {
        font-size: 1.5rem;
    }

    .desktop-nav-container li a {
        font-size: 1rem;
    }

    /*HERO HEADING*/

    .hero-heading h2,
    .hero-heading span {
        font-size: 2.5rem;
    }

    .hero-socmed {
        display: none;
    }

    .title-container h2 {
        font-size: 2.2rem;
    }

    .title-container h3 {
        padding-bottom: 9rem;
    }

    /*ABOUT SECTION*/

    .about-profile {
        padding: 0 2rem;
    }

    /*PROPERTIES-ARCTICLE SECTION*/

    #properties-section {
        height: 130vh;
    }

    .article-card {
        flex-wrap: wrap;
        gap: 0;
        height: 100vh;
    }

    .article-card img {
        width: 100%;
        height: 50%;
    }

    .article-in-text {
        text-align: center;
    }

    /*CONTACT SECTION*/

    #contact-section {
        height: 90vh;
        background-position: center;
    }

    .form-container h2 {
        font-size: 2.6rem;
    } 

    .form-container h3 {
        font-size: 1.8rem;
    }

    form {
    width: 90%;
    }


    .bg-mask {
        gap: 1rem;
    }

    .contact-container {
        font-size: 1.2rem;
    }

    /*FOOTER SECTION*/

    .footer-icon img {
        height: 2.3rem;
    }

    .footer-nav-links ul li a {
        font-size: 1.1rem;
    }

}


/* Mid - Tablet → Phone (max 970px) */
@media (max-width: 970px) {

     /*HAMBURGER NAVIGATION*/

    #desktop-nav {
        display: none;
    }

    #hamburger-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
        background-color: rgb(17, 47, 108);
        color: rgb(219, 191, 36);
    }

    .hamburger-nav-logo  {
        font-size: 0.9rem;
        text-align: center;
       
    }

    .hamburger-icon span{
       background-color: rgb(219, 191, 36);
    }

    
    /*HEADER - NAVIGATION SECTION*/

    #desktop-navigation {
       display: none;
    }

    .title-container  {
        text-align: center;
    }

    .title-container h1 {
        font-size: 3rem;
    }

    .title-container h2 {
        display: none;
    }

    .title-container h3 {
        font-size: 2rem;
        padding-bottom: 2.5rem;
    }

    .hero-btn {
        flex-wrap: wrap;
        padding: 0 2rem;
        justify-content: center;
    }

    /*ABOUT SECTION*/

    #about-section {
        height: 108vh;
    }

    .about-profile {
        flex-direction: column;
        padding: 3rem;
        height: 108vh;
    }

    /*PROPERTIES - ARTICLE SECTION*/

    #properties-section {
     height: 145vh;
     justify-content: flex-start;
    }

    .article-text {
        text-align: center;
        padding: 0 2rem;
    }

    .article-title {
        padding-top: 3rem;
    }

    .article-in-text {
        padding-top: 1rem;
    }

    /*CONTACT-SECTION*/ 

    .bg-mask {
        flex-direction: column;
    }

    .form-container {
        margin: 0;
        justify-items: center;
    }

    form {
        width: 80%;
    }

    .footer-icon {
        display: none;
    }

}

 /* universal landscape tweaks */
@media screen and (max-width: 932px) and (orientation: landscape) {
   
    /*HERO HEADING SECTION*/
    
    #hero-section {
        height: 125vh;
    }

    .hero-heading  {
        height: auto;
    }


    /*ABOUT-SECTION*/ 

    #about-section {
        height: 220vh;
    }

    .about-profile {
        height: 220vh;
    }

    /*PROPERTIES-ARTICLE SECTION*/ 

    #properties-section {
        height: 290vh;
    }

    .article-card img {
        object-fit: cover;
        object-position: center;
        height: auto;
    }

    /*CONTACT SECTION*/

    #contact-section {
        height: 190vh;
    }

    .form-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /*FOOTER SECTION*/
    
    .footer-nav {
        height: 15vh;
    }

}




/* Tablet → Phone (max 768px) */
@media (max-width: 768px) {

    /*HEADER NAVIGATION SECTION*/

    .hero-heading h2,
    .hero-socmed {
        display: none;

    }

    .desktop-nav-container {
        display: none;
    }

    /*HEADER - HERO SECTION*/


    .title-container {
        height: 100%;
    }

    .title-container h1 {
        font-size: 3rem;
        padding-bottom: 2rem;
        
    }

    .title-container h2 {
        display: none;
        
    }

    .title-container h3 {
        font-size: 2.2rem;
    }

    /*HERO BUTTON*/
    
    .hero-btn {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-btn .hero-btn-1 {
        background-color: rgba(219, 191, 36, 0);
        border: 1px solid white;
    }


    /*ABOUT SECTION*/

    #about-section {
        height: 140vh;
    }

    .about-profile {
        flex-direction: column;
        justify-content: center;
        padding-top: 3rem;
        height: 140vh;
    }

    .about-text {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
    
    }


    .about-img img {
        height: 20rem;
    
    }

/*ARTICLE SECTION - PROPERTIES*/

    #properties-section {
        height: 190vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
    }

    #properties-section h3 {
        font-size: 1.3rem;
    }

    .article-card {
        gap: 1.5rem;
    }

    .article-title {
        padding: 0 1.5rem;
        line-height: 2rem;
        text-align: center;
    }

    /*CONTACT SECTION*/

    #contact-section {
        height: 100vh;
    }

    .bg-mask{
        flex-direction: column;
        width: 100%;
    }

    .input-flex-items {
        flex-wrap: wrap;
    }

    .input-flex-items input[name="name"],
    .input-flex-items input[name="phone"] {
        width: 100%;
    }

    .contact-info {
        padding: 0 3rem;
    }

    .form-container {
        text-align: center;
        padding: 0 1rem;
    }

    label {
        gap: 0;
    }

    /*FOOTER SECTION*/

    .footer-nav {
        display: none;
    }
  
    #developer {
        font-size: 0.9rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
        background-color: rgb(17, 47, 108);
    }
}

/* Small phones (max 480px) */
@media (max-width: 480px) {


    /*HEADER - HERO SECTION*/

    .title-container {
        text-align: center;
        padding-top: 2.5rem;
    }

    .title-container h1 {
        font-size: 2.5rem;
    }

    .title-container h3 {
        font-size: 1.5rem;
        padding: 0 2rem;
    }
 

    /*HERO BUTTON*/
    
    .hero-btn {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-btn .hero-btn-1 {
        background-color: rgba(219, 191, 36, 0);
        border: 1px solid white;
    }

    .hero-btn .hero-btn-1, 
    .hero-btn .hero-btn-2 {
        font-size: 1rem;
        padding: 1rem 2rem;
    }


    /*ABOUT SECTION*/

    #about-section {
        height: 140vh;
    }

    .about-profile {
        height: 140vh;
   text-align: center;
    }

  .about-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1rem;
  }

  .about-img img {
    height: 14rem;
    border: 10px solid white;
  }





/*ARTICLE SECTION - PROPERTIES*/

    #properties-section {
        height: 205vh;
        padding: 0;
    }

    .article-title {
        padding: 0 1.8rem;
    }

    .article-title h2 {
        line-height: 2.1rem;
    }

    #properties-section h3 {
        font-size: 1rem;
        padding: 0 1rem;
    }

    #properties-section img {
        height: 40%;
    }

    .article-text {
        padding: 0;
    }

    /*CONTACT SECTION*/

    .bg-mask{
        flex-direction: column;
        width: 100%;
    }

    .contact-info {
        padding: 0 2rem;
    }

   form {
    width: 100%;
   }
    
   .contact-container {
    font-size: 1rem;
   }

   label span {
    font-size: 0.8rem;
   }


    /*FOOTER SECTION*/

   

}
