/* Custom styles that extend Bootstrap */

/* General styles */
body {
    overflow-x: hidden;
}

/* Header styles */
header {
    transition: all 0.3s ease-in-out;
}

header.scrolled {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    background-color: var(--bs-dark) !important;
}

/* Hero section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.rtf-subtitle {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    padding: 0.5rem 1.5rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    margin: 1rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Feature boxes */
.feature-box {
    padding: 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

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

/* Services */
.service-card {
    transition: all 0.3s ease;
    border: none;
    height: 100%;
}

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

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* About page sections */
.about-section {
    padding: 5rem 0;
}

/* Prompt Generator */
.generator-form {
    border-radius: 1rem;
    padding: 2rem;
}

.result-container {
    border-radius: 1rem;
    padding: 2rem;
}

.generated-prompt {
    border-radius: 0.5rem;
    padding: 1.5rem;
    font-family: monospace;
    white-space: pre-wrap;
}

/* Contact page */
.contact-info-box {
    border-radius: 0.5rem;
    padding: 2rem;
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Custom shape dividers */
.shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

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

/* Language switcher */
.language-switch {
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.language-switch:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-switch.active {
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Testimonials */
.testimonial-card {
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

/* Footer */
footer {
    padding: 3rem 0 1rem;
}

.footer-links a {
    display: block;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    padding-left: 5px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px);
}

/* Responsiveness adjustments */
@media (max-width: 992px) {
    .hero-section {
        min-height: 60vh;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
    }
    
    .shape-divider svg {
        height: 60px;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .hero-section {
        min-height: 40vh;
    }
    
    .shape-divider svg {
        height: 40px;
    }
}