@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    box-sizing: border-box;
}


/*Proba kraj*/
/*Navbar*/
/*Navbar*/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    position: relative;
}

/* Create the border with padding that matches the navbar */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 0.5px;
    background-color: #1D3638;
}

.logo {
    font-weight: 500;
    font-size: 18px;
}

.nav-links {
    display: flex;
    gap: 40px;
    position: relative;
    padding-top: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 8.42px;
    letter-spacing: 0%;
    padding-bottom: 20px;
    position: relative;
}

.nav-links a.active {
    font-weight: 700;
}

.nav-links a.active::after {
    background-color: #1D3638;
    height: 1px;
}

/* Mobile menu button - hidden by default */
.menu-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px 0;
    background-color: #1D3638;
    transition: all 0.3s ease;
}
/*Kraj navbar*/


/*Hero section*/
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    background-image: url('../assets/about/headImage.png');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: top;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 54, 56, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0;
    margin-left: 8.5%;
    padding: 0 20px;
}

.hero-header {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-span-small {
    /* font-family: Montserrat; */
    font-weight: 300;
    font-size: 64px;
    /* line-height: Display Small/Line Height; */
    letter-spacing: 0%;
    
}

.hero-span-big {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 64px;
    line-height: Display Small/Line Height;
    letter-spacing: 0%;
    
}

.hero-text {
    max-width: 600px;
    margin-bottom: 30px;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 50px;
}

.stat {
    display: flex;
    align-items: flex-end;
}

.stat-number {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: #D9D9D9;
    margin-right: 15px;
}

.stat-label {
    font-size: clamp(0.8rem, 2vw, 1rem);
    text-transform: uppercase;
}

/*O nama*/
.container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 50px;
    align-items: center;
}

.left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}



.buildings-image {
    width: 100%;
    max-width: 500px;
}

.right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gradient-line {
    height: 4px;
    width: 150px;
    background: linear-gradient(90deg, #EE5830 0%, #1D3638 94.96%);
    margin-bottom: 0px;
}

.title {
    font-weight: 700;
    font-size: 50px;
    line-height: 60.95px;
    letter-spacing: -1.26px;
    background: linear-gradient(90deg, #EE5830 0%, #1D3638 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    margin-top: 15px;
}

.description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #333;
}

.btn-more {
    font-family: 'Montserrat', sans-serif;
    align-self: flex-start;
    padding: 12px 30px;
    font-weight: 500;
    font-size: 16px;
    color: #1D3638;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    border: 1px solid;
    border-image: linear-gradient(90deg, #EE5830 0%, #1D3638 94.96%) 1;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-more:hover {
    background: linear-gradient(90deg, #EE5830 0%, #1D3638 100%);
    color: white;
}

/* Offer section*/

.offer-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px;
    gap: 50px;
    align-items: center;
    position: relative;
    background-image: url('../assets/landing/offerBackground.png');
    background-size: auto 120%;
    background-position: bottom -240px right -100px;
    background-repeat: no-repeat;
    min-height: 500px;
    overflow: hidden;
    /* align-items: flex-end; */
}

/* .offer-container::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle at bottom right, 
        #FEBAAA 0%, 
        #FEBAAA 50%, 
        transparent 50%
    );
    filter: blur(100px);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.7;
} */

.offer-left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.9);
    background: transparent;
    padding: 30px;
    border-radius: 10px;
    z-index: 2;
}

/* .offer-right-section {
    flex: 1;
    position: relative;
    z-index: 2;
}

.offer-sizes {
    padding-right: 50px;
}

.offer-size {
    margin-bottom: 30px;
}

.offer-size-first {
    margin-left: 14ch; 
}

.offer-size-second {
    margin-left: 0; 
}

.offer-size-third {
    margin-left: 15ch; 
}

.offer-size-small {
    font-family: Montserrat, sans-serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 43.88px;
    letter-spacing: -1.26px;
    color: #EE5830;
}

.offer-size-large {
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 60.95px;
    letter-spacing: -1.26px;
}

.offer-size-large.gradient-text {
    background: linear-gradient(90deg, #EE5830 0%, #1D3638 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
} */

/* brojevi stari */
/* .offer-right-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  
  .offer-star-layout {
    position: relative;
    width: 400px; 
    height: 300px;
  }
  
  .offer-size {
    position: absolute;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 40px;
    background: linear-gradient(90deg, #EE5830 0%, #1D3638 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.85;
    transition: transform 0.3s ease, opacity 0.3s ease;
    white-space: nowrap;
  }
  
  .offer-size:hover {
    transform: scale(1.1);
    opacity: 1;
  }
  
  .top-left {
    top: 0;
    left: 0;
  }
  
  .top-right {
    top: 0;
    right: 0;
  }
  
  .center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .bottom-left {
    bottom: 0;
    left: 20px;
  }
  
  .bottom-right {
    bottom: 0;
    right: 0;
  }
   */
   .offer-right-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 40px;
    border-radius: 20px;
  }
  
  .offer-star-layout {
    position: relative;
    width: 400px;
    height: 200px;
    background-color: #1D3638;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .offer-size {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 48px;
    background: linear-gradient(90deg, #EE5830 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    text-align: center;
  }
  
  
  /* Animation container */
  .animated-numbers {
    display: inline-block;
    overflow: hidden;
    height: 48px; /* roughly matches one line of text */
    line-height: 48px;
    position: relative;
  }
  
  /* Each number line */
  .animated-numbers span {
    display: block;
    animation: slideNumbers 10s infinite;
  }
  
  /* Animation: slides numbers vertically */
  @keyframes slideNumbers {
    0%, 16%   { transform: translateY(0); }
    20%, 36%  { transform: translateY(-100%); }
    40%, 56%  { transform: translateY(-200%); }
    60%, 76%  { transform: translateY(-300%); }
    80%, 96%  { transform: translateY(-400%); }
    100%      { transform: translateY(0); }
  }
  


/* Why us section */

.why-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 50px;
    line-height: 60.95px;
    letter-spacing: -1.26px;
    text-align: left;
    margin-bottom: 40px;
}

.features-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.feature {
    text-align: center;
    flex: 1;
}



.feature-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 29.26px;
    letter-spacing: -0.5px;
    color: #EE5830;
    margin-bottom: 15px;
}

.feature-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0.1px;
    color: #333;
}

/*Proba*/
.mb-invest-features {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    padding: 48px 16px;
}

.mb-invest-features .content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
}

.mb-invest-features .section-header {
    margin-bottom: 48px;
}

.mb-invest-features .header-line {
    width: 169px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, #ff6b35, #1a1a1a);
    margin-bottom: 24px;
}

.mb-invest-features .section-title {
    font-size: 32px;
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.mb-invest-features .features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

.mb-invest-features .card-wrapper {
    position: relative;
    padding-top: 24px;
}

.mb-invest-features .feature-card {
    position: relative;
    border-radius: 15px;
    background: 
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(to bottom, #1D3638, #EE5830) border-box;
    border: 2px solid transparent;
    padding: 32px;
    }

/* .mb-invest-features .card-wrapper:nth-child(2) .feature-card,
.mb-invest-features .card-wrapper:nth-child(4) .feature-card {
    min-height: 295px;
} */

.mb-invest-features .icon-badge {
    position: absolute;
    top: -24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(to bottom right, #ffb199, #ff6b35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mb-invest-features .icon-badge svg {
    display: block;
}

.mb-invest-features .card-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.2;
}

.mb-invest-features .card-text {
    font-size: 12px;
    color: #1a1a1a;
    line-height: 1.5;
}

@media (min-width: 640px) {
    .mb-invest-features {
        padding: 48px 24px;
    }

    .mb-invest-features .section-title {
        font-size: 40px;
    }
}

@media (min-width: 768px) {
    .mb-invest-features .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .mb-invest-features {
        padding: 48px 32px;
    }

    .mb-invest-features .section-header {
        margin-bottom: 64px;
    }

    .mb-invest-features .section-title {
        font-size: 50px;
    }

    .mb-invest-features .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }

    .mb-invest-features .card-wrapper:nth-child(2),
    .mb-invest-features .card-wrapper:nth-child(4) {
        margin-top: 64px;
    }
}

/* Footer styles */
footer {
    background: linear-gradient(225.52deg, #0B7078 0.45%, #EE5830 100.47%);
    color: white;
    padding: 50px 0 20px;
    margin-top: auto;
    width: 100%;
}

.footer-content {
    width: 80%;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 500;
}

.footer-logo img {
    max-width: 100%;
    height: auto;
}

.to-top {
    color: white;
    background-color: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 20px 0;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 40px 0;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column p {
    margin: 8px 0;
    font-size: 14px;
    font-weight: 300;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin: 15px 0;
}

.social-icons a {
    color: white;
    font-size: 16px;
}

.newsletter {
    margin-top: 20px;
}

.email-form {
    display: flex;
    margin-top: 10px;
}

.email-form input {
    flex: 1;
    padding: 8px 12px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.email-form button {
    padding: 8px 12px;
    background-color: transparent;
    border: 1px solid white;
    color: white;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    padding-top: 10px;
}


/*Responsive*/
@media screen and (max-width: 1200px) {
    .footer-content {
        width: 90%;
    }
}

@media screen and (max-width: 992px) {

    .navbar {
        padding: 20px 5%;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .navbar::after {
        left: 5%;
        right: 5%;
    }

    .footer-column {
        flex-basis: 50%;
        min-width: unset;
    }
}


@media (max-width: 768px) {


    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 80px 20px 20px;
        gap: 30px;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        display: block;
        padding: 10px 0;
    }
    
    /* Transform hamburger to X when menu is open */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Overlay when menu is open */
    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }
    
    .overlay.active {
        display: block;
    }
    .contact-form-container {
        flex-direction: column;
    }
    
    .map-side {
        height: 300px;
    }

    .footer-content {
        width: 95%;
    }

    /*O nama*/
    .container {
        flex-direction: column;
        gap: 30px;
    }
    
    .left-section, .right-section {
        width: 100%;
    }
    
    .offer-left-section {
        width: 100%;
    }

    .offer-container {
        flex-direction: column;
        gap: 30px;
        padding: 20px;
    }

    .offer-sizes {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-right: 0;
    }
    
    .offer-size {
        margin-bottom: 20px; /* Reduced vertical spacing between stacked items */
        width: 100%;
        text-align: center;
    }
    
    .offer-size-first,
    .offer-size-second,
    .offer-size-third {
        margin-left: 0; /* Remove the indentation for all items */
    }
    
    .offer-size-small {
        font-size: 24px; /* Smaller font size for mobile */
        line-height: 30px;
    }
    
    .offer-size-large {
        font-size: 32px; /* Smaller font size for mobile */
        line-height: 40px;
    }

    .title {
        font-size: 40px;
        line-height: 48px;
    }

    /*Hero*/
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    .hero-content {
        margin: 0 auto;
    }

    /* Why us section */
    .section-title {
        font-size: 36px;
        line-height: 1.2;
    }

    .features-container {
        flex-direction: column;
    }

    /*footer*/
    
    .footer-main {
        margin: 20px 0;
    }
    
    .footer-column {
        flex-basis: 100%;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 576px) {
    footer {
        padding: 30px 0 15px;
    }
    
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .email-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .email-form button {
        align-self: flex-start;
    }
    
    .footer-column {
        margin-bottom: 25px;
    }
    
    .social-icons {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 480px) {
    .navbar {
        padding: 15px 5%;
    }
    
    .logo img {
        max-width: 120px;
    }
    
    .nav-links {
        width: 220px;
    }
}


.hero-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-heading h2 {
    font-size: 4rem;
    font-weight: 200;
    color: #1D3638;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.hero-heading h1 {
    font-size: 6rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(90deg, #EE5830 0%, #1D3638 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.375rem;
    font-weight: 300;
    color: #1D3638;
    line-height: 1.6;
    max-width: 28rem;
}

.hero-cta {
    display: inline-block;
    background-color: #EE5830;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    border-radius: 2px;
    transition: background-color 0.3s ease;
    width: fit-content;
}

.hero-cta:hover {
    background-color: #d94d28;
}

.hero-images {
    position: relative;
}

.hero-image-container {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
/*     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);*/
}

.hero-main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.5s ease;
}

.hero-image-container:hover .hero-main-image {
    content: url('../assets/landing/landingHeroColor.png');
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-heading h2 {
        font-size: 3rem;
    }

    .hero-heading h1 {
        font-size: 4.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1rem;
    }

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

    .hero-heading h1 {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }
}

/* proba */
