/**
 * Main Stylesheet
 * Masum's Property Theme
 * @author Mahbub Masum
 */

:root {
    --primary: #06226A;
    --secondary: #E8CCB2;
    --white: #ffffff;
    --gray: #cbd5e0;
    --black: #000000;
    --green: #9ae6b4;
    --headlinefont: 'Kanit', sans-serif;
    --archivo-black: 'Archivo Black', sans-serif;
    --contentfont: 'Inter', sans-serif;
    --text-color: #212121;
    --link-color: #188bf6;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--contentfont);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--headlinefont);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

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

.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.site-header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-inner {
    width: 100%;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.site-branding {
    flex: 0 0 auto;
}

.site-branding .custom-logo {
    max-height: 60px;
    width: auto;
}

.main-navigation {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: wrap;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 0;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 16px;
}

.nav-menu a:hover {
    color: var(--primary);
    text-decoration: none;
}

.header-button {
    flex: 0 0 auto;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 0 32px 0 rgba(6, 34, 106, 0.5);
}

.btn-primary:hover {
    background-color: var(--secondary);
    color: var(--primary);
    text-decoration: none;
    box-shadow: 0 0 40px 0 rgba(6, 34, 106, 0.7);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    position: relative;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    left: 0;
}

.menu-toggle-icon::before {
    top: -8px;
}

.menu-toggle-icon::after {
    bottom: -8px;
}

/* Footer Styles */
.site-footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-branding {
    margin-bottom: 20px;
}

.footer-logo {
    max-height: 60px;
    width: auto;
}

.footer-menu {
    list-style: none;
    margin: 20px 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-menu li {
    margin: 0 15px;
}

.footer-menu a {
    color: var(--white);
    text-decoration: none;
}

.footer-menu a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.site-info {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

/* Elementor Widget Styles */
.masums-property-hero-section {
    padding: 20px 0 80px;
    margin: 0;
    background-color: #F7F7F7;
}

.hero-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 0;
}

.hero-row {
    margin: 60px auto 0;
    
    width: 100%;
    display: flex;
    align-items: flex-start;
    position: relative;
}

.hero-text-col {
    box-shadow: none;
    padding: 50px 60px 60px;
    background-color: #041748;
    width: 60.2%;
    border-radius: 20px;
    margin: 0 -50px 0 -10px;
    position: relative;
    z-index: 1;
}

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

.hero-title {
    font-family: var(--headlinefont);
    color: var(--white);
    font-weight: 900;
    padding: 0;
    opacity: 1;
    text-shadow: none;
    line-height: 1.1em;
    text-transform: uppercase;
    letter-spacing: 0;
    text-align: left;
    margin: 0;
    font-size: 60px;
}

.hero-description {
    font-family: var(--contentfont);
    background-color: transparent;
    color: var(--white);
    font-weight: 400;
    box-shadow: none;
    padding: 0 40px 0 0;
    opacity: 1;
    text-shadow: none;
    line-height: 1.6em;
    text-transform: none;
    letter-spacing: 0;
    text-align: left;
    margin: 30px 0 0;
    font-size: 20px;
}

.hero-button-wrapper {
    margin: 20px 60px 0 0;
    text-align: left;
}

.hero-button {
    display: inline-block;
    font-family: var(--archivo-black);
    background-color: var(--white);
    color: #161615;
    text-decoration: none;
    padding: 0 20px;
    border: 2px solid var(--green);
    letter-spacing: 0;
    text-transform: uppercase;
    width: auto;
    box-shadow: 0 14px 65px 0 rgba(6, 34, 106, 0.18);
    text-shadow: none;
    font-size: 22px;
    font-weight: 600;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.hero-button:hover {
    opacity: 0.9;
    text-decoration: none;
    transform: translateY(-2px);
}

.hero-image-col {
    box-shadow: none;
    padding: 30px 5px;
    background-color: transparent;
    width: 45.8%;
    margin: 0;
    position: relative;
    z-index: 2;
}

.hero-image {
    margin: 0 -40px 0 -30px;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    box-shadow: none;
    display: block;
    border-radius:20px !important;
}

.masums-property-text-with-image,
.masums-property-text-with-image-button {
    padding: 60px 0;
}

.text-image-container,
.text-image-button-container {
    display: flex;
    align-items: center;
    gap: 0px;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Image always on left, text on right */
.text-image-container .image-content,
.text-image-button-container .image-content {
    order: 1;
}

.text-image-container .text-content,
.text-image-button-container .text-content {
    order: 2;
}

.text-content {
    flex: 1;
    padding: 0 5px 0 30px;
}

.section-title {
    font-size: 50px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.1em;
    letter-spacing: 0;
    text-align: left;
}

.section-description {
    font-size: 20px;
    line-height: 1.6em;
    margin-bottom: 20px;
    text-align: left;
    font-weight: 400;
}

.image-content {
    flex: 1;
    padding: 10px 0px 0;
    text-align: center;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 2px 2px 87px 0 rgba(112, 112, 112, 0.53);
}

.section-button {
    display: inline-block;
    font-family: 'Archivo Black', var(--headlinefont), sans-serif;
    background-color: #06226A;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 40px;
    border: 2px solid #9ae6b4;
    border-style: solid;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: auto;
    box-shadow: 0 0 32px 0 rgba(6, 34, 106, 0.52);
    text-shadow: none;
    font-size: 19px;
    font-weight: 400;
    transition: all 0.3s ease;
    margin-top: 30px;
    text-align: left;
}

.section-button:hover {
    opacity: 0.9;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 0 40px 0 rgba(6, 34, 106, 0.7);
}

.masums-property-showcase {
    padding: 80px 0 40px;
    background-color: #F7F7F7;
    border-radius:20px;
}

.showcase-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.showcase-section-title {
    font-size: 45px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
    color: #FFD700;
    letter-spacing: 2px;
}

.showcase-section-subtitle {
    font-size: 18px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--white);
}

.properties-showcase-wrapper {
    margin: 60px auto 0;
    padding: 50px 40px 20px;
    background-color: #041748;
}

.properties-grid-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.property-showcase-item {
    background-color: var(--white);
    padding: 10px 5px 40px;
    border: 2px solid var(--black);
    position: relative;
    margin: 50px 0px;
    border-radius: 25px;
}

.property-showcase-image {
    position: relative;
    z-index: 2;
    text-align: center;
}

.property-showcase-image img {
    width: 250px;
    height: auto;
    max-width: 100%;
    box-shadow: none;
}

.property-showcase-content {
    padding-top: 20px;
    text-align: center;
}

.property-showcase-title {
    font-size: 28px;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    color: var(--text-color);
    text-shadow: 0 20px 50px rgba(4, 23, 72, 0.24);
    line-height: 1.1em;
}

.property-showcase-description {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 10px;
}

.showcase-description {
    font-family: var(--contentfont);
    color: var(--white);
    font-weight: 400;
    padding: 0;
    opacity: 1;
    text-shadow: none;
    line-height: 1.3em;
    letter-spacing: 0;
    text-align: center;
    margin: 30px 0 0;
    font-size: 23px;
}

.showcase-button-wrapper {
    text-align: center;
    margin: 20px 60px 0;
}

.showcase-button {
    display: inline-block;
    font-family: var(--headlinefont);
    background-color: var(--white);
    color: #161615;
    text-decoration: none;
    padding: 10px 60px;
    border: 2px solid #9ae6b4;
    letter-spacing: 0;
    text-transform: uppercase;
    box-shadow: none;
    text-shadow: none;
    font-size: 28px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.showcase-button:hover {
    opacity: 0.9;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        width: 100%;
        order: 3;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 20px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 5px 0;
        width: 100%;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .header-button {
        width: 100%;
        margin-top: 15px;
    }
    
    .hero-row {
        flex-direction: column;
        padding: 20px;
    }
    
    .hero-text-col {
        width: 100%;
        margin: 0;
        padding: 20px 15px;
    }
    
    .hero-image-col {
        width: 100%;
        margin: 0;
        padding: 10px;
    }
    
    .hero-image {
        margin: 0;
    }
    
    .hero-title {
        font-size: 35px;
        text-align: center;
    }
    
    .hero-description {
        padding: 0;
        text-align: center;
        font-size: 17px;
    }
    
    .hero-button-wrapper {
        margin: 20px 0 0;
        text-align: center;
    }
    
    .hero-button {
        font-size: 18px;
        padding: 15px 20px;
    }
    
    .text-image-container,
    .text-image-button-container {
        flex-direction: column;
    }
    
    .text-image-container .image-content,
    .text-image-button-container .image-content {
        order: 1;
    }
    
    .text-image-container .text-content,
    .text-image-button-container .text-content {
        order: 2;
    }
    
    .section-button {
        padding: 15px 20px;
        font-size: 18px;
        text-align: center;
        width: 100%;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .text-content {
        padding: 0 15px;
    }
    
    .image-content {
        padding: 10px 20px 0;
    }
    
    .section-description {
        font-size: 18px;
        text-align: center;
    }
    
    .section-title {
        text-align: center;
    }
    
    .properties-grid.columns-2,
    .properties-grid.columns-3,
    .properties-grid.columns-4 {
        grid-template-columns: 1fr;
    }
    
    .properties-grid-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .property-showcase-item {
        width: 100%;
        margin: 0 0 20px 0;
    }
    
    .property-showcase-image {
        margin: -100px 0 0 !important;
    }
    
    .properties-showcase-wrapper {
        padding: 50px 20px 20px;
    }
    
    .showcase-button-wrapper {
        margin: 20px 10px 0;
    }
    
    .showcase-button {
        padding: 10px 20px;
        font-size: 18px;
    }
}

/* Tablet Styles */
@media screen and (min-width: 481px) and (max-width: 1024px) {
    .properties-grid-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

