/*
 * 21estate - Main Stylesheet
 */

 :root {
    --primary-color: #2c3e50;    /* Main brand color */
    --secondary-color: #3498db;  /* Secondary brand color */
    --accent-color: #e74c3c;     /* Accent/highlight color */
    --light-color: #ecf0f1;      /* Light background color */
    --dark-color: #2c3e50;       /* Dark background color */
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Main font */
}

/* Language Specific Content */
html[lang="en"] .al {
    display: none !important;
}

html[lang="al"] .en {
    display: none !important;
}

html[lang="en"] .en,
html[lang="al"] .al {
    display: block !important;
}

a.en, a.al, 
span.en, span.al,
button.en, button.al {
    display: inline-block !important;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 5rem 0;
}

/* Apply alternating backgrounds to sections */
section.section:nth-of-type(odd) {
    background-color: white;
}

section.section:nth-of-type(even) {
    background-color: var(--light-color);
}

/* Override specific section backgrounds */
.private-lending {
    background-color: var(--primary-color) !important;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    margin-left: 10px;
}

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

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
}

.logo span {
    color: var(--accent-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: color 0.3s;
}

.mobile-menu-btn:hover {
    color: var(--accent-color);
}

/* Language Selector */
.language-selector {
    margin-left: 1.5rem;
    position: relative;
    cursor: pointer;
}

.language-btn {
    color: white;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 1rem;
    transition: color 0.3s;
}

.language-btn:hover {
    color: var(--accent-color);
}

.language-btn i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.language-btn:focus i,
.language-dropdown.show + .language-btn i {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 5px;
    width: 150px;
    display: none;
    z-index: 1001;
    margin-top: 5px;
}

/* Fix for dropdown display:
   - Make sure both 'active' and 'show' classes work
   - 'active' is in the HTML class, 'show' is likely what JS toggles */
.language-dropdown.active,
.language-dropdown.show {
    display: block !important;
}

.language-option {
    padding: 12px 15px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
    cursor: pointer;
}

.language-option:hover {
    background-color: #f8f9fa;
}

.language-option img {
    margin-right: 8px;
    width: 20px;
    height: 15px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 0;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #666;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Services/Portfolio Section */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-icon {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    color: white;
    font-size: 3rem;
}

.service-content {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* About Section */
.about-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.about-paragraph-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

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

.about-card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.about-card-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-paragraph-card p {
    margin: 0;
    line-height: 1.8;
    font-size: 1.05rem;
    color: #444;
    text-align: left;
}

.about-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Private Lending Section */
.private-lending .section-title,
.private-lending .section-subtitle {
    color: white;
    text-align: center;
}

.lending-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.lending-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, background-color 0.3s;
    height: 100%;
}

.lending-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.lending-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.lending-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.lending-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Bullet points styling for lending cards */
.benefits-list {
    margin-top: 1rem;
    padding-left: 1.5rem;
    list-style-type: none;
    text-align: left;
}

.benefits-list li {
    position: relative;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    padding-left: 0.5rem;
}

.benefits-list li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

.lending-card .benefits-list li {
    color: rgba(255, 255, 255, 0.9);
}

.lending-cta {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
}

.lending-cta h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
}

.lending-process {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.process-step {
    flex: 1;
    padding: 0 15px;
    position: relative;
}

.process-step:not(:last-child):after {
    content: "";
    position: absolute;
    top: 25px;
    right: 0;
    width: 70%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 0;
}

/* Strengthen the selector for process step content */
.lending-process .process-step .step-content h4 {
    color: white !important;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.lending-process .process-step .step-content p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1rem;
    line-height: 1.5;
}

.step-number {
    background-color: var(--accent-color);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.step-content {
    text-align: center;
}

.step-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
}

.step-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.5;
}

/* Ensure all text in lending-cta is visible */
.lending-cta p, 
.lending-cta h4, 
.lending-cta .step-content h4,
.lending-cta .step-content p {
    color: white;
}

.lending-cta .btn {
    margin-top: 1rem;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* Partnership Section */
.partnership-content {
    margin-top: 3rem;
}

.partnership-details {
    max-width: 1000px;
    margin: 0 auto;
}

.partnership-details h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.partnership-steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2rem;
    margin-bottom: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.step-icon {
    background-color: var(--accent-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.step-content p {
    color: #555;
    line-height: 1.6;
}

.partnership-details .btn {
    margin-top: 2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
    text-align: center;
}

/* Contact Section */
.contact-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.contact-top-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.contact-info {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 1rem;
    min-width: 30px;
}

.contact-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.contact-map-container {
    width: 100%;
    height: 350px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Contact Direct Email Section */
.contact-direct {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-card {
    padding: 0.5rem;
}

.contact-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-card h4 {
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
    color: var(--primary-color);
}

.contact-card p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-card ul {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    list-style-type: disc;
}

.contact-card ul li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.email-highlight {
    background-color: #f5f5f5;
    border-left: 4px solid var(--accent-color);
    padding: 0.8rem 1.2rem;
    margin: 1.5rem 0;
    text-align: center;
}

.email-highlight a {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.email-highlight a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Disclaimer Section */
.disclaimer-box {
    background-color: white;
    border-left: 4px solid var(--accent-color);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.disclaimer-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.disclaimer-box h4 {
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.disclaimer-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.footer-col p, .footer-col a {
    color: #bbb;
    margin-bottom: 0.8rem;
    display: block;
}

.footer-col a:hover {
    color: white;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

.social-links {
    display: flex;
    margin-top: 1rem;
}

.social-links a {
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 1rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--accent-color);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
}

.copyright p {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.copyright-text {
    display: inline;
    margin-left: 5px;
}

.copyright-text .en,
.copyright-text .al {
    display: inline !important;
}