/*
Theme Name: My Spanish Home from Home
Theme URI: https://www.elevateom.com/
Author: Vaneet Kaura
Author URI: https://www.elevateom.com/
Description: A modern property listing theme for Spanish properties on Costa Blanca, integrated with Property Manager Pro plugin
Version: 1.0.0
Text Domain: spanish-home
Domain Path: /languages
Tags: real-estate, properties, bootstrap, translation-ready, custom-header, custom-menu
*/

:root {
    --color-primary: #1580c2;
    --bs-primary-rgb: 21,128,194;
    --color-warning: #fa940c;
    --color-dark-blue: #223F51;
    --color-text-dark: #353535;
    --color-text-light: #545454;
    --color-text-placeholder: #575757;
    --color-white: #ffffff;
    --color-light-gray: #ededed;
    --color-border: #d4d4d4;
}

.btn-warning {
    --bs-btn-color: var(--color-white);
    --bs-btn-bg: var(--color-warning);
    --bs-btn-border-color: var(--color-warning);
    --bs-btn-hover-color: var(--color-white);
    --bs-btn-hover-bg: var(--color-dark-blue);
    --bs-btn-hover-border-color: var(--color-dark-blue);
    --bs-btn-focus-shadow-rgb: 217, 164, 6;
    --bs-btn-active-color: var(--color-white);
    --bs-btn-active-bg: var(--color-dark-blue);
    --bs-btn-active-border-color: var(--color-dark-blue);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--color-light-gray);
    --bs-btn-disabled-bg: var(--color-text-light);
    --bs-btn-disabled-border-color: var(--color-text-light);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    background-color: var(--color-white);
    color: var(--color-text-light);
    font-size: 16px;
    line-height: 1.6;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 600;
    color: var(--color-dark-blue);
}

/* CSS for section header */

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
}

    .logo img {
        width: 200px;
        height: auto;
    }

    .logo .logo-text {
        display: flex;
        flex-direction: column;
    }

    .logo .logo-text-main {
        font-size: 30px;
        font-weight: 700;
        color: #323232;
        line-height: 1;
        text-transform: uppercase;
    }

    .logo .logo-text-sub {
        font-size: 19px;
        font-weight: 600;
        color: var(--color-primary);
        letter-spacing: 0.76px;
        line-height: 1.2;
        text-transform: uppercase;
    }

.navbar-nav .nav-item a.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text-dark);
    letter-spacing: 0.32px;
    transition: color 0.3s ease;
    text-transform: uppercase;
    padding-left: 15px;
    padding-right: 15px;
}

    .navbar-nav .nav-item.current-menu-item a.nav-link,
    .navbar-nav .nav-item a.nav-link:hover {
        color: var(--color-primary);
    }

/* CSS for section footer */
.site-footer {
    background-color: var(--color-dark-blue);
    color: var(--color-white);
}

.footer-main {
    padding: 54px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1.6px;
    margin-bottom: 23px;
    color: var(--color-white);
}

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

    .footer-col ul li {
        font-size: 15px;
        line-height: 2;
    }

        .footer-col ul li a:hover {
            text-decoration: underline;
        }

.footer-col .contact-item {
    display: flex;
    align-items: center;
    gap: 13px;
}

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

    .social-icons a {
        display: block;
    }

.newsletter-form {
    position: relative;
}

    .newsletter-form input {
        width: 100%;
        height: 44px;
        border-radius: 5px;
        border: none;
        padding: 0 45px 0 20px;
        font-family: "Poppins", sans-serif;
        font-size: 14px;
        color: var(--color-text-placeholder);
    }

    .newsletter-form button {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 22px 0;
}

    .footer-bottom p {
        margin: 0;
        font-size: 13px;
        letter-spacing: 1.3px;
        text-align: left;
    }

/* CSS for section section:hero */
.hero-section {
    position: relative;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.30) 100%), url("images/banner.jpg") lightgray 50% / cover no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
}

    .hero-section.ballon {
        position: relative;
        background-image: url("images/ballon.jpg");
        background-size: cover;
        background-position: center;
        padding: 200px 0;
    }

    .hero-section .hero-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }

        .hero-section .hero-container .hero-content {
            flex: 1;
            max-width: 800px;
        }

            .hero-section .hero-container .hero-content .hero-title {
                font-size: 60px;
                font-weight: 600;
                line-height: 1.2;
                color: var(--color-white);
                text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
            }
			
			/* The Blinking Cursor */
			.hero-section .hero-container .hero-content .hero-title.cursor {
				display: none;
			}
			
			.hero-section .hero-container .hero-content .hero-title.cursor::after {
				content: "|";
				display: inline;
				animation: blink-caret .75s step-end infinite;
				font-weight: 100; /* Makes the cursor thin */
				color: #fff;
			}

			/* Cursor Blinking Animation */
			@keyframes blink-caret {
				from, to { opacity: 1; }
				50% { opacity: 0; }
			}

        .hero-section .hero-container .hero-form-wrapper {
            flex-shrink: 0;
            max-width: 476px;
            padding: 38px;
            background-color: rgba(250, 148, 12, 0.8);
            border-radius: 10px;
            backdrop-filter: blur(1px);
        }

            .hero-section .hero-container .hero-form-wrapper a {
                color: var(--color-white);
            }

/* CSS for section section:categories */
.categories-section {
    background-color: var(--color-light-gray);
    padding: 100px 0;
}

    .categories-section .categories-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 31px;
    }

        .categories-section .categories-grid .category-card {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 5px 5px 20px 0px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

            .categories-section .categories-grid .category-card .card-img {
                width: 100%;
                height: 300px;
                object-fit: cover;
            }

            .categories-section .categories-grid .category-card .card-content {
                padding: 34px;
                height: 140px;
                background-color: var(--color-white);
            }

                .categories-section .categories-grid .category-card .card-content h3 {
                    font-size: 20px;
                    font-weight: 600;
                    line-height: 1.7;
                }

                .categories-section .categories-grid .category-card .card-content p {
                    margin: 0;
                    font-size: 16px;
                    letter-spacing: 1.6px;
                    text-transform: uppercase;
                    opacity: 0.8;
                }

            .categories-section .categories-grid .category-card .card-btn {
                position: absolute;
                bottom: 0;
                right: 0;
                border-radius: 5px 0 10px 0;
            }

            .categories-section .categories-grid .category-card:hover {
                transform: scale(1.05); /* zoom in slightly */
                box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* add shadow */
            }

                .categories-section .categories-grid .category-card:hover .card-content {
                    background-color: var(--color-primary);
                    color: var(--color-white);
                }

                .categories-section .categories-grid .category-card:hover h3 {
                    color: var(--color-white);
                }

/* CSS for section section:welcome */
.welcome-section {
    padding: 100px 0;
    text-align: center;
}

    .welcome-section .welcome-container {
        max-width: 1140px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

        .welcome-section .welcome-container .welcome-title {
            font-size: 35px;
            line-height: 1.28;
        }

        .welcome-section .welcome-container .welcome-text {
            font-size: 16px;
            line-height: 1.875;
            margin: 0;
        }

/* CSS for section section:featured-properties */
.featured-properties-section {
    background-color: var(--color-primary);
    padding: 100px 0;
}

    .featured-properties-section .section-title {
        font-size: 35px;
        line-height: 1.28;
        color: var(--color-white);
        text-align: center;
        margin-bottom: 75px;
    }

/* CSS for section section:reviews */
.reviews-section {
    padding: 100px 0;
    background-color: var(--color-white);
}

    .reviews-section .reviews-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

        .reviews-section .reviews-container .reviews-title {
            font-size: 35px;
            line-height: 1.28;
            text-align: center;
        }

        .reviews-section .reviews-container .testimonial {
            display: flex;
            align-items: flex-start;
            justify-content: center;
            gap: 118px;
            width: 100%;
            max-width: 1360px;
        }

            .reviews-section .reviews-container .testimonial .quote-mark {
                flex-shrink: 0;
            }

            .reviews-section .reviews-container .testimonial .testimonial-text {
                max-width: 990px;
                font-size: 16px;
                line-height: 1.875;
                text-align: center;
                margin: 0;
                padding: 0;
                border: 0;
            }

                .reviews-section .reviews-container .testimonial .testimonial-text cite {
                    display: block;
                    margin-top: 30px;
                    font-style: normal;
                    font-weight: 700;
                }

/* CSS for section section:sell-with-us */
.sell-with-us-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    background-image: url("images/bg.jpg");
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    text-align: center;
}

    .sell-with-us-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .sell-with-us-section .sell-with-us-container {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

        .sell-with-us-section .sell-with-us-container .sell-title {
            font-size: 35px;
            line-height: 1.28;
            color: var(--color-white);
        }

        .sell-with-us-section .sell-with-us-container .sell-text {
            font-size: 20px;
            font-weight: 600;
            line-height: 1.75;
            text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
            margin: 0;
        }

/* CSS for section section:welcome */
.page-section {
    padding: 30px 0;
    text-align: left;
}

    .page-section .page-container {
    }

        .page-section .page-container .page-title {
            font-size: 35px;
            line-height: 1.28;
            border-bottom: 1px solid #ccc;
            padding-bottom: 15px;
            margin-bottom: 30px;
        }

        .page-section .page-container .page-text {
            font-size: 16px;
            line-height: 1.875;
            margin: 0;
        }

.page-text h2,
.page-text h3,
.page-text h4,
.page-text h5 {
    margin-bottom: 15px;
}

.page-text h2 {
    font-size: 28px;
}

.page-text h3 {
    font-size: 25px;
}

.page-text h4 {
    font-size: 22px;
}

.page-text h5 {
    font-size: 20px;
}

.wp-block-button__link {
    border-radius: 10px;
    padding: 5px 20px;
    text-transform: uppercase;
}

/***************************PROPERTY CARD***************************************************/
.property-card {
}

    .property-map-popup .popup-title,
    .property-card h5 {
        font-size: 17px;
        font-weight: 500;
        line-height: 1.47;
        margin-bottom: 10px;
    }

    .property-card .card-img-top {
        display: block;
        width: 100%;
        max-height: 200px;
    }

    .property-card .img-fluid {
        display: block;
        width: 100%;
        max-height: 300px;
    }

    .property-card .card-body {
        padding: 24px;
    }

    .property-card .property-features {
        margin-bottom: 10px;
    }

        .property-card .property-features div {
            padding: 7px 0px;
        }

            .property-card .property-features div + div {
                border-top: 1px solid var(--color-border);
            }

            .property-map-popup .popup-features i,
            .property-map-popup .popup-location i,
            .property-card .property-features div i {
                margin-right: 5px;
                color: var(--color-warning);
            }

    .property-map-popup .popup-price,
    .property-card h4 {
        font-size: 25px;
        font-weight: 600;
        color: var(--color-dark-blue);
        margin: 15px 0 0 0;
    }


/***************************RESPONSIVE**********************************************************/

@media (min-width: 1200px) and (max-width: 1320px) {
    .logo img {
        width: 115px;
    }

    .logo .logo-text-main {
        font-size: 26px;
    }

    .logo .logo-text-sub {
        font-size: 16px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1540px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 1199.98px) {
    .dropdown-menu {
        position: static !important;
    }

    .hero-section .hero-container .hero-form-wrapper {
        max-width: 375px;
    }

    .hero-section .hero-container .hero-content .hero-title {
        font-size: 48px;
    }

    .categories-section .categories-grid .category-card .card-img {
        height: 200px;
    }
}

@media (max-width: 991.98px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 40px;
    }

    .footer-bottom p {
        text-align: center;
        line-height: 1.5;
    }

    .hero-section .hero-container .hero-form-wrapper {
        max-width: 480px;
    }

    .hero-section .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

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

        .categories-section .categories-grid .category-card .card-img {
            height: auto;
        }

    .welcome-section {
        padding: 60px 0;
    }

        .welcome-section .welcome-container {
            gap: 30px;
        }

            .welcome-section .welcome-container .welcome-title {
                font-size: 28px;
            }

    .reviews-section .reviews-container .testimonial {
        gap: 30px;
    }

    .reviews-section {
        padding: 60px 0;
    }

    .sell-with-us-section {
        min-height: 400px;
    }
}

@media (max-width: 767.98px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 50px 0px;
    }

        .hero-section .hero-container .hero-content .hero-title {
            font-size: 40px;
        }

    .testimonial {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .quote-start {
        align-self: flex-start;
    }

    .quote-end {
        align-self: flex-end;
    }

    .sell-with-us-section .sell-with-us-container .sell-title {
        font-size: 28px;
    }

    .sell-with-us-section .sell-with-us-container .sell-text {
        font-size: 18px;
    }
	
	#header {
		border-bottom: 1px solid #ccc;
	}
	
	.page-section .page-container .page-title {
		border-bottom: none;
		margin-bottom: 15px;
	}
	
	.hero-section.ballon {
		display: none;
	}
}

@media (max-width: 575.98px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-section .hero-container .hero-content .hero-title {
        font-size: 26px;
    }
	
	.hero-section .hero-container .hero-form-wrapper {
		padding: 20px;
	}
	
	.featured-properties-section {
		padding: 50px 0px;
	}
	
	.featured-properties-section .section-title {
		font-size: 32px;
		margin-bottom: 30px;
	}
	
	#property-contact-form .h4{
		font-size: 20px;
	}
	
	#header .offcanvas-body {
		padding: 0px;
	}
}

@media (max-width: 510.98px) {
    .logo img {
		width: 75px;
	}
	
	.logo .logo-text-main {
		font-size: 26px;
	}
	
	.logo .logo-text-sub {
		font-size: 16px;
	}
}

@media (max-width: 359.98px) {
    .logo img {
		display: none;
	}
}
