/* Homepage Styles */
.site-main {
    padding-top: 80px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-media img,
.hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-media::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeIn 1s ease forwards;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-button {
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.cta-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.cta-image {
    flex: 1;
}

.cta-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.cta-content {
    flex: 1;
}

.cta-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.cta-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    position: relative;
    background-size: cover;
    background-position: center;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
}

.services-container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--primary-color);
}

.service-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* Products Section */
.products-section {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* Posts Section */
.posts-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.post-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 20px;
}

.post-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.post-excerpt {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.post-meta {
    font-size: 12px;
    color: #888;
}

/* Promo Section */
.promo-section {
    padding: 80px 0;
}

.promo-slider {
    position: relative;
    margin-top: 40px;
}

.promo-slide {
    padding: 10px;
}

.promo-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Slider Navigation */
.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slick-prev {
    left: -20px;
}

.slick-next {
    right: -20px;
}

.slick-prev:hover,
.slick-next:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.slick-dots {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.slick-dots li {
    margin: 0 5px;
}

.slick-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: #ddd;
    text-indent: -9999px;
    cursor: pointer;
}

.slick-dots .slick-active button {
    background-color: var(--primary-color);
}