/*
 * Enhanced Styles for Dekor54 Website
 * Additional styles to make the homepage nicer
 */

/* 
 * Hero Section Enhancements
 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(43, 58, 66, 0.8), rgba(139, 90, 43, 0.7));
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: zoomInOut 20s infinite alternate;
}

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}

.hero-btn {
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* 
 * About Section Enhancements
 */
.about-section {
    position: relative;
    background-color: var(--white);
}

.about-img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    overflow: hidden;
}

.about-img:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.about-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-heading h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.section-heading h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* 
 * Products Section Enhancements
 */
.product-card {
    margin-bottom: 2rem;
    background-color: var(--white);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

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

.product-image {
    overflow: hidden;
    position: relative;
}

.product-image img {
    transition: transform 0.8s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-title a {
    font-size: 1.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-category {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* 
 * Projects Section Enhancements
 */
.project-card {
    margin-bottom: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

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

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card:hover .project-image:after {
    opacity: 1;
}

.project-image img {
    transition: transform 0.8s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 1.5rem;
}

.project-title a {
    font-size: 1.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-title a:hover {
    color: var(--primary-color);
}

.project-client {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* 
 * Testimonials Section Enhancements
 */
.testimonials-section {
    background-color: var(--background-light);
    position: relative;
}

.testimonials-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/quote-bg.20e28d22f124.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 400px;
    opacity: 0.05;
}

.testimonial-item {
    background-color: var(--white);
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 2rem 0;
    position: relative;
}

.quote-icon {
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.author-info h5 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* 
 * CTA Section Enhancements
 */
.cta-section {
    background-color: var(--primary-color);
    position: relative;
    color: var(--white);
    padding: 5rem 0;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.cta-container {
    position: relative;
    z-index: 1;
    padding: 3rem;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.icon-small {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}