/* Hero Section */
.hero-section {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    color: white;
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.hero-search {
    margin-top: 30px;
}

/* Hero Carousel Section */
.carousel-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.carousel-overlay h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.banner-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 15px;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.banner-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Benefits Section */
.benefits-section {
    padding: 60px 0;
    background: #f8f7f4;
}

.benefits-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-item i {
    font-size: 2.5rem;
    color: #d4a574;
    margin-bottom: 15px;
}

.benefit-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.benefit-item p {
    color: #666;
    font-size: 0.9rem;
}

/* Section Title */
.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.section-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-subheading {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
    margin-bottom: 40px;
}

/* Project and Property Cards */
.project-card, .property-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover, .property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
}

@media (min-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

.partner-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.partner-logo {
    max-width: 100%;
    max-height: 80px;
}

.partner-name {
    font-weight: 600;
    color: #2c2c2c;
}

/* Partner Card */
.partner-card {
    width: 100%;
    height: 180px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border-radius: 8px;
    padding: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid var(--color-primary);
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(196, 147, 63, 0) 0%, rgba(196, 147, 63, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.partner-card:hover {
    box-shadow: 0 12px 35px rgba(196, 147, 63, 0.25);
    transform: translateY(-8px);
    border-left: 4px solid var(--color-primary-dark);
}

.partner-card:hover::before {
    opacity: 1;
}

.partner-card img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.partner-card-text {
    font-weight: 700;
    font-size: 1.25rem;
    text-align: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 15px 10px;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.8px;
    position: relative;
    z-index: 1;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Partners Marquee */
.partners-marquee::-webkit-scrollbar { display: none; }
.partners-marquee { -ms-overflow-style: none; scrollbar-width: none; }
.partner-logo { overflow:hidden; transition: transform 0.2s ease-in-out; }
.partner-logo img { object-fit: contain; max-width:92%; max-height:92%; width:auto; height:auto; }
.partner-logo:hover img { transform: scale(1.03); }

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #f8f7f4 0%, #faf9f7 100%);
    padding: 80px 0;
}

.testimonial-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-left: 4px solid var(--color-primary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(196, 147, 63, 0.15);
}

.testimonial-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, #d4a574 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 24px;
    margin: 0 auto 15px;
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-rating {
    font-size: 1rem;
    margin-top: 15px;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.testimonial-rating .star {
    margin-right: 2px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-info h5 {
    margin: 0;
    font-weight: 700;
    color: #2c2c2c;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
}

.testimonial-type {
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 2px 0 0 0;
}

.testimonial-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.testimonial-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.section-header-testimonials {
    text-align: center;
    margin-bottom: 50px;
}

.section-header-testimonials h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c2c2c;
    font-family: 'Playfair Display', serif;
}

.section-header-testimonials .subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.section-header-testimonials .text-gold {
    color: var(--color-primary);
}
