:root{
    --primary-color: #013B45;
    --secondary-color: #EFE6CB;
    --tertiary-color: #1A1A1A;
}
@font-face {
    font-family: '29LT Zawi';
    src: url('/public/fonts/29lt-zawi-regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
  }
  
  @font-face {
    font-family: '29LT Zawi';
    src: url('/public/fonts/29lt-zawi-bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
  }
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    /* overflow-x: hidden; */
}
body{
    font-family: '29LT Zawi', sans-serif;
    font-weight: bold;
    background-color: #f0f0f0;
    overflow-x: hidden;

}
header{
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px;
    text-align: center;
    width: 100%;
    height: 5.5rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    overflow: hidden;
}
.header-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
}
.header-logo img{
    height: 4rem;
   
}
.header-menu{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
}
.header-menu ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    list-style: none;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.mobile-menu-toggle span {
    width: 2rem;
    height: 0.25rem;
    background: var(--secondary-color);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.mobile-menu-toggle.active span:first-child {
    transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}
header a{
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.2rem;
    margin-right: 2rem;
    transition: all 0.3s ease;
    &:hover{
        color: var(--tertiary-color);
    }
}
.hero-section{ 
    position:relative; 
    display:flex; 
    justify-content:center; 
    align-items:center; 
    height:100vh; 
    width: 100%;
    color: var(--primary-color);
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    overflow:hidden; 
}
.hero-bg{
    position:absolute; inset:0;
    background: url('/public/media/img/hero.jpg') center/cover no-repeat;
    filter: blur(5.5px);
    transform: scale(1.08);
    z-index:-1;
  }
  
.hero-section-content{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.25rem;
    flex-direction: column;
     
}
.hero-section-content h1{
    font-weight: bold;
    color: var(--secondary-color);
    padding-bottom: 1rem;
}
.hero-section-content h2{
    font-weight: normal;
    color: var(--secondary-color);
    padding-bottom: 1rem;
    }
.hero-section-image img{
   height: 30rem;
}
.real-estate-offers{
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 100%;
    min-height: 100vh;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
}
.real-estate-offers-container{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    padding-bottom: 3rem;
}
.real-estate-offers-content{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.real-estate-offers-content h3{
    font-size: 2rem;
    font-weight: normal;
    color: var(--primary-color);
}
.real-estate-offers-image img{
    height: 30rem;
}
.real-estate-offers-btn {
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s;
    padding: 10px 20px;
    border-radius: 100px;
    background: var(--primary-color);
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    font-size: 15px;
    width: fit-content;
    text-decoration: none;

  }
  .real-estate-offers-btn span{
    color: var(--secondary-color);
    padding: 0.3rem;
  }
  
  .real-estate-offers-btn:hover {
    background: var(--tertiary-color);
  }
  
  .real-estate-offers-btn > svg {
    width: 34px;
    margin-left: 10px;
    transition: transform 0.3s ease-in-out;
  }
  
  .real-estate-offers-btn:hover svg {
    transform: translateX(5px);
  }
  
  .real-estate-offers-btn:active {
    transform: scale(0.95);
  }

/* About Us Section */
.about-us-section {
    background-color: #fff;
    color: var(--primary-color);
    padding: 5rem 2rem;
    text-align: center;
}

.about-us-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-us-content h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-weight: bold;
}

.about-us-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: right;
    line-height: 1.8;
}

.about-us-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--tertiary-color);
}

.about-us-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-item p {
    font-size: 1rem;
    color: var(--tertiary-color);
    line-height: 1.6;
}

.about-us-mission {
    margin-top: 4rem;
    text-align: right;
}

.about-us-mission h3 {
    font-size: 2rem;
    margin: 2rem 0 1rem 0;
    color: var(--primary-color);
}

.about-us-mission p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-section {
    color: var(--secondary-color);
    padding: 5rem 2rem;
    text-align: center;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-details h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.contact-details p {
    font-size: 1.1rem;
    color: #ccc;
}

/* No Image Overlay */
.no-image-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--tertiary-color);
    opacity: 0.7;
}

.no-image-overlay i {
    font-size: 48px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.no-image-overlay span {
    display: block;
    font-size: 14px;
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: var(--tertiary-color);
    color: var(--secondary-color);
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 3rem;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
}

/* Mobile Responsive Design */
@media screen and (max-width: 768px) {
    /* Header Mobile */
    header {
        height: auto;
        padding: 1rem;
        min-height: 5rem;
    }
    
    .header-container {
        justify-content: space-between;
        align-items: center;
    }
    
    .header-logo img {
        height: 3rem;
    }
    
    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: flex;
        order: 1;
    }
    .header-menu ul{
        display: flex;
        flex-direction: column;
        gap: 1rem;
        justify-content: flex-start;

    }
    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: 5rem;
        left: 0;
        width: 100%;
        height: calc(100vh - 5rem);
        background: var(--primary-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateX(0%);
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    header a {
        font-size: 2.2rem;
        margin-right: 0;
        padding: 1rem;
        display: block;
        text-align: center;
        width: 100%;
    }
    
    /* Hero Section Mobile */
    .hero-section {
        height: 100vh;
        padding: 6rem 1rem 2rem;
    }
    
    .hero-section-content h1 {
        font-size: 5.5rem;
    }
    
    .hero-section-content h2 {
        font-size: 3.2rem;
    }
    
    /* Real Estate Offers Mobile */
    .real-estate-offers-container {
        padding: 2rem 1rem;
    }
    
    .real-estate-offers-content h2 {
        font-size: 2rem;
    }
    
    .real-estate-offers-content h3 {
        font-size: 1.3rem;
    }
    
    .real-estate-offers-image img {
        height: 50rem;
        width: 100%;
        object-fit: contain;
    }
    
    /* About Us Mobile */
    .about-us-section {
        padding: 3rem 1rem;
    }
    
    .about-us-content h2 {
        font-size: 2rem;
    }
    
    .about-us-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .feature-item h4 {
        font-size: 1.2rem;
    }
    
    .about-us-mission h3 {
        font-size: 1.5rem;
    }
    
    /* Contact Mobile */
    .contact-section {
        padding: 3rem 1rem;
    }
    
    .contact-content h2 {
        font-size: 2rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media screen and (max-width: 480px) {
    /* Extra small screens */
    .hero-section-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-section-content h2 {
        font-size: 2.2rem;
    }
    
    .about-us-content h2,
    .contact-content h2,
    .real-estate-offers-content h2 {
        font-size: 1.5rem;
    }
    
    .real-estate-offers-image img {
        height: 45rem;
    }
    
    .feature-item,
    .contact-item {
        padding: 1rem;
    }
    
    .footer {
        padding: 2rem 1rem 1rem;
    }
}

/* Landscape orientation for mobile */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        height: 100vh;
        padding: 1rem;
    }
    
    .hero-section-content {
        gap: 1rem;
    }
    
    .hero-section-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-section-content h2 {
        font-size: 1rem;
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    .real-estate-offers-btn:hover {
        background: var(--primary-color);
    }
    
    .real-estate-offers-btn:active {
        background: var(--tertiary-color);
        transform: scale(0.98);
    }
    
    .feature-item:hover {
        transform: none;
    }
}

