/* Premium Homepage Styles */

/* Hero Section */
.hero {
    position: relative;
    height: calc(100vh - 80px);
    min-height: 600px;
    background: url('../images/hero-bh.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    margin-top: var(--navbar-height);
    overflow: hidden;
    border-radius: 0 0 80px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-dark);
    z-index: 1;
}

.hero::after {
    display: none;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--text-light-bright);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-2xl);
    font-weight: var(--font-weight-light);
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-button {
    background: var(--accent-gold);
    color: var(--primary-bg);
    border: none;
    padding: 18px 48px;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wide);
    cursor: pointer;
    border-radius: var(--radius-full);
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-gold);
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(201, 169, 97, 0.4);
    background: var(--accent-gold-light);
}

/* Restores Section */
.restores-section {
    background: var(--accent-beige);
    padding: var(--spacing-5xl) 0;
    position: relative;
}

.restores-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.about-button {
    background: var(--accent-gold);
    color: var(--primary-bg);
    border: none;
    padding: 14px 36px;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wide);
    cursor: pointer;
    border-radius: var(--radius-full);
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-md);
    margin-top: var(--spacing-lg);
}

.about-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
    background: var(--accent-gold-light);
}

.restores-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-gold) 50%, transparent 100%);
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    text-align: center;
    margin-bottom: var(--spacing-md);
    letter-spacing: var(--letter-spacing-tight);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: var(--radius-full);
}

.section-description {
    font-size: var(--font-size-md);
    color: var(--text-muted);
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-3xl);
    line-height: var(--line-height-relaxed);
    font-weight: var(--font-weight-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-3xl);
}

.feature-card {
    background: var(--text-light);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-medium);
    border: 1px solid rgba(201, 169, 97, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transition: transform var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-gold-light);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1) 0%, rgba(201, 169, 97, 0.05) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    color: var(--accent-gold);
    transition: all var(--transition-medium);
}

.feature-card:hover .feature-icon {
    background: var(--accent-gold);
    color: var(--text-light);
    transform: rotate(5deg) scale(1.1);
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    letter-spacing: var(--letter-spacing-tight);
}

.feature-description {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: var(--line-height-relaxed);
    font-weight: var(--font-weight-light);
}

/* Services Section */
.services-section {
    background: var(--accent-cream);
    padding: var(--spacing-5xl) 0;
    position: relative;
}

.services-intro {
    font-size: var(--font-size-base);
    color: var(--text-muted);
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-3xl);
    line-height: var(--line-height-loose);
    font-weight: var(--font-weight-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.service-card {
    background: var(--text-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-medium);
    border: 1px solid rgba(201, 169, 97, 0.15);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-gold);
    opacity: 0;
    transition: opacity var(--transition-medium);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--accent-gold);
}

.service-card:hover::after {
    opacity: 1;
}

.service-image {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: var(--secondary-bg);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin: var(--spacing-xl) var(--spacing-xl) var(--spacing-sm);
    letter-spacing: var(--letter-spacing-tight);
}

.service-description {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: var(--line-height-relaxed);
    padding: 0 var(--spacing-xl);
    margin-bottom: auto;
    font-weight: var(--font-weight-light);
}

.service-button {
    background: transparent;
    color: var(--accent-gold-dark);
    border: 2px solid var(--accent-gold);
    padding: 12px 32px;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wide);
    cursor: pointer;
    border-radius: var(--radius-full);
    transition: all var(--transition-medium);
    margin: var(--spacing-lg) var(--spacing-xl) var(--spacing-xl);
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}

.service-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gold);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-medium);
}

.service-button:hover {
    color: var(--primary-bg);
    border-color: var(--accent-gold-light);
    transform: translateX(4px);
}

.service-button:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Responsive Design */
@media (max-width: 1024px) {

    .features-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }
}

@media (max-width: 768px) {
    .hero {
        height: 80vh;
        min-height: 500px;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .hero-description {
        font-size: var(--font-size-base);
    }

    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .restores-section,
    .services-section {
        padding: var(--spacing-3xl) 0;
    }
}