/* 
========================================
    E.S Luxury Light Assets Ltd - Custom CSS
========================================
*/

:root {
    --primary: #d82b2a; /* Red from logo */
    --secondary: #e4a228; /* Gold/orange from logo */
    --tertiary: #3c63b0; /* Blue from logo */
    --dark: #1e2b3c;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden; /* Prevent horizontal scroll during animations */
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-tertiary {
    color: var(--tertiary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-tertiary {
    background-color: var(--tertiary) !important;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #b92324; /* Darker red on hover */
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(216, 43, 42, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #c68c22; /* Darker gold on hover */
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(228, 162, 40, 0.3);
}

.btn-tertiary {
    background-color: var(--tertiary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-tertiary:hover {
    background-color: #325394; /* Darker blue on hover */
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(60, 99, 176, 0.3);
}

.btn-outline-light {
    color: var(--white);
    border: 2px solid var(--white);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Logo Styles */
.logo-img {
    height: 40px;
    width: auto;
}

.logo-img-sm {
    height: 30px;
    width: auto;
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

/* Mobile Navbar */
.navbar-collapse {
    transition: all 0.3s ease;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Hero Section */
#hero {
    height: 100vh;
    min-height: 600px;
    margin-bottom: 0;
}

.hero-image {
    height: 100%;
    position: relative;
}

.hero-image img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    width: 90%;
    max-width: 800px;
    z-index: 2;
}

.cta-buttons {
    margin-top: 2rem;
}

.search-box {
    max-width: 600px;
    background: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.search-box .form-control {
    border: none;
    font-size: 1.1rem;
}

.search-box .form-control:focus {
    box-shadow: none;
}

.scroll-down {
    bottom: 2rem;
    z-index: 3;
}

.scroll-down a div {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

.scroll-down a div:hover {
    transform: translateY(5px);
}

/* Services Section */
.service-card {
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(216, 43, 42, 0.1); /* Light red background */
    font-size: 2rem;
}

/* Small icon box for contact page */
.icon-box-sm {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* How It Works Section */
.step-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
}

/* Testimonials Section */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.testimonial-rating i {
    color: #ffc107;
}

.testimonial-text {
    font-style: italic;
    position: relative;
    padding: 0 10px;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: bold;
}

.testimonial-author-img img {
    object-fit: cover;
}

/* Areas We Serve Section */
.area-card {
    height: 300px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.area-card img {
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
}

.area-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: all 0.3s ease;
}

.area-card:hover .area-overlay {
    opacity: 1;
}

.area-card:hover img {
    transform: scale(1.1);
}

.area-content {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.area-card:hover .area-content {
    transform: translateY(0);
    opacity: 1;
}

/* Touch-friendly area card for mobile */
@media (hover: none) {
    .area-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.5);
    }
    
    .area-content {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #b92324;
    transform: translateY(-5px);
}

/* Property Cards */
.property-card {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.property-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.property-img {
    height: 220px;
    overflow: hidden;
}

.property-img img {
    height: 100%;
    object-fit: cover;
}

.property-tag {
    top: 15px;
    left: 15px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Contact Page Styles */
.contact-methods {
    border-radius: 0.5rem;
}

/* Contact Form Styles */
.contact-form .form-control {
    padding: 0.8rem;
    border-radius: 0.25rem;
    border: 1px solid #e1e1e1;
    margin-bottom: 1rem;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.contact-info-box {
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

/* Contact info items spacing */
.contact-info-item {
    margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

/* Map container */
.map-container {
    overflow: hidden;
    border-radius: 0.5rem;
}

/* About Page Styles */
.team-member {
    text-align: center;
    margin-bottom: 30px;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 5px solid rgba(216, 43, 42, 0.1);
}

.about-stats {
    padding: 30px 20px;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    background-color: var(--white);
    margin-bottom: 20px;
}

.about-stats h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.animate__animated {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
    .display-3 {
        font-size: 3.5rem;
    }
    
    .display-4 {
        font-size: 3rem;
    }
    
    .display-5 {
        font-size: 2.5rem;
    }
    
    .area-card {
        height: 250px;
    }
}

@media (max-width: 991.98px) {
    #hero {
        height: 100vh;
        min-height: 500px;
    }
    
    .scroll-down {
        display: none;
    }
    
    .display-3 {
        font-size: 3rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    .about-stats h3 {
        font-size: 2rem;
    }
    
    .section-header {
        margin-bottom: 2rem !important;
    }
    
    #how-it-works .col-lg-6.bg-dark {
        padding: 3rem 2rem !important;
    }
    
    #how-it-works .row.g-5 {
        row-gap: 2rem !important;
    }
}

@media (max-width: 767.98px) {
    .hero-image {
        height: 100vh;
        min-height: 450px;
    }
    
    .hero-content {
        width: 90%;
        padding: 0 1rem;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
    
    .hero-content h1, 
    .hero-content p {
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
    }
    
    .hero-content h1 {
        background-color: rgba(0, 0, 0, 0.4);
        padding: 10px;
        border-radius: 5px;
        margin-bottom: 20px;
    }
    
    .hero-content p {
        background-color: rgba(0, 0, 0, 0.4);
        padding: 10px;
        border-radius: 5px;
        margin-bottom: 20px;
        font-size: 1.1rem;
    }
    
    .overlay {
        background: rgba(0, 0, 0, 0.5);
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-top: 0;
        width: 100%;
    }
    
    .cta-buttons .btn {
        margin: 0 5px 0.5rem;
        padding: 0.8rem 1rem;
        width: auto;
        max-width: none;
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    .btn-primary {
        margin-right: 8px !important;
    }
    
    /* Make the primary button larger and stand out more */
    .cta-buttons .btn-primary {
        border: 2px solid white;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    /* Make the outline light button more visible */
    .cta-buttons .btn-outline-light {
        border-width: 2px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .display-3 {
        font-size: 2.2rem;
    }
    
    .display-4 {
        font-size: 1.8rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1.25rem;
        font-size: 1rem;
    }
    
    h1, h2 {
        word-wrap: break-word;
    }
    
    .property-img {
        height: 180px;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .icon-box {
        width: 70px;
        height: 70px;
        font-size: 1.7rem;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
    
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .mt-5 {
        margin-top: 3rem !important;
    }
    
    .mb-5 {
        margin-bottom: 3rem !important;
    }
    
    .area-card {
        height: 220px;
        margin-bottom: 1rem;
    }
    
    #page-title {
        padding: 3rem 0 !important;
    }
    
    .contact-methods {
        padding: 2rem !important;
    }
    
    #cta .btn-lg {
        width: 100%;
        max-width: 300px;
    }
    
    .testimonial-card {
        margin-bottom: 1rem;
    }
    
    .col-lg-5, .col-lg-7 {
        padding: 0 1rem;
    }
    
    .step-circle {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    #services {
        padding-top: 0;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .hero-image {
        height: 80vh;
        min-height: 350px;
    }
    
    #hero {
        margin-bottom: -1rem;
    }
    
    .display-3 {
        font-size: 1.8rem;
    }
    
    .display-4 {
        font-size: 1.6rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    
    .area-card {
        height: 200px;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    .about-stats h3 {
        font-size: 1.8rem;
    }
    
    .contact-info-box {
        padding: 1.5rem;
    }
    
    .map-container iframe {
        height: 350px;
    }
    
    #how-it-works .col-lg-6.bg-dark {
        padding: 2rem 1rem !important;
    }
    
    footer {
        text-align: center;
    }
    
    footer .social-links {
        justify-content: center;
        display: flex;
    }
    
    footer .logo-img-sm {
        margin: 0 auto;
        display: block;
    }
    
    footer .d-flex {
        justify-content: center;
    }
    
    .contact-info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-info-item .icon-box-sm {
        margin-bottom: 1rem;
        margin-right: 0 !important;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-buttons .btn {
        padding: 0.7rem 0.9rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .display-3 {
        font-size: 1.5rem;
    }
    
    .display-4 {
        font-size: 1.4rem;
    }
    
    .display-5 {
        font-size: 1.3rem;
    }
    
    .navbar-brand span {
        font-size: 1rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .cta-buttons .btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Fix for better touch experience on mobile */
@media (hover: none) {
    .service-card:hover,
    .testimonial-card:hover,
    .property-card:hover,
    .btn:hover {
        transform: none;
    }
}

/* Extra small screen adjustments */
@media (max-width: 360px) {
    .display-3 {
        font-size: 1.5rem;
    }
    
    .display-4 {
        font-size: 1.4rem;
    }
    
    .display-5 {
        font-size: 1.3rem;
    }
    
    .navbar-brand span {
        font-size: 1rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
}

/* Object Fit Utilities */
.object-fit-cover {
    object-fit: cover;
}

#services {
    padding-top: 2rem;
} 