/* Additional Styles for domain.com */

/* Animation Keyframes */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes slideInLeft {
    0% { opacity: 0; transform: translateX(-50px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    0% { opacity: 0; transform: translateX(50px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes rotateIn {
    0% { opacity: 0; transform: rotate(-10deg) scale(0.8); }
    100% { opacity: 1; transform: rotate(0) scale(1); }
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background: url('./img/uIoEFo.jpg') no-repeat center center;
    background-size: cover;
}

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

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(76, 201, 240, 0.2);
    filter: blur(70px);
    animation: pulse 6s infinite ease-in-out 1s;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-out;
    text-align: center;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero h1 span {
    background: linear-gradient(to right, var(--color-accent-pink), var(--color-accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-outline {
    display: inline-block;
    padding: 12px 24px;
    color: var(--color-text-white);
    border: 2px solid var(--color-accent-yellow);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    background-color: var(--color-accent-yellow);
    color: var(--color-primary);
    transform: translateY(-3px);
}

/* About Section */
.about {
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.about-content p {
    margin-bottom: 20px;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(5deg);
    transition: transform 0.5s;
    animation: rotateIn 1s ease;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0);
}

/* Services Section */
.services {
    position: relative;
    background-color: rgba(26, 8, 87, 0.5);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: linear-gradient(145deg, rgba(58, 12, 163, 0.2), rgba(58, 12, 163, 0.6));
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--color-accent-pink), var(--color-accent-yellow));
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--color-accent-pink), var(--color-accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* Why Choose Us Section */
.why-us {
    position: relative;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-us-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    transition: transform 0.3s;
}

.why-us-item:hover {
    transform: translateY(-10px);
}

.why-us-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 20px;
    background: linear-gradient(145deg, rgba(58, 12, 163, 0.4), rgba(58, 12, 163, 0.8));
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Process Section */
.process {
    position: relative;
    background-color: rgba(26, 8, 87, 0.5);
}

.process-steps {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, var(--color-accent-pink), var(--color-accent-yellow));
    left: 20px;
    top: 0;
}

.step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    padding-left: 15px;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, var(--color-gradient-start), var(--color-gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-white);
    z-index: 2;
}

.step-content {
    z-index: 2;
}

.step:nth-child(odd) {
    animation: slideInLeft 0.6s ease-out;
}

.step:nth-child(even) {
    animation: slideInRight 0.6s ease-out;
}

/* Testimonials Section */
.testimonials {
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: linear-gradient(145deg, rgba(58, 12, 163, 0.2), rgba(58, 12, 163, 0.6));
    border-radius: 20px;
    padding: 30px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    line-height: 1;
    opacity: 0.2;
    font-family: 'Georgia', serif;
}

.quote {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.client {
    display: flex;
    align-items: center;
}

.client-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.client-info h4 {
    margin-bottom: 5px;
}

.client-info p {
    font-size: 14px;
    opacity: 0.8;
}

/* Contact Form */
.contact {
    position: relative;
    background-color: rgba(26, 8, 87, 0.5);
}

.contact-form {
    background: linear-gradient(145deg, rgba(58, 12, 163, 0.2), rgba(58, 12, 163, 0.6));
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text-white);
    font-size: 16px;
    transition: all 0.3s;
}

select.form-control {
    background-color: rgba(76, 201, 240, 0.6);
    color: white;
    cursor: pointer;
    padding-right: 30px;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    font-weight: bold;
}

select.form-control option {
    background-color: var(--color-primary);
    color: white;
    padding: 10px;
    font-weight: normal;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent-yellow);
    background-color: rgba(255, 255, 255, 0.15);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
}

.form-check input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.form-check label {
    font-size: 14px;
    position: relative;
    display: inline-block;
    padding-top: 2px;
}

.form-check label:before {
    content: '';
    position: absolute;
    left: -35px;
    top: 0;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-check input:checked + label:before {
    background-color: var(--color-accent-yellow);
    border-color: var(--color-accent-yellow);
}

.form-check input:checked + label:after {
    content: '✓';
    position: absolute;
    top: 0;
    left: -30px;
    color: var(--color-primary);
    font-size: 16px;
    font-weight: bold;
}

.form-check a {
    color: var(--color-accent-yellow);
    text-decoration: underline;
}

/* FAQ Section */
.faq {
    position: relative;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(145deg, rgba(58, 12, 163, 0.2), rgba(58, 12, 163, 0.6));
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    position: relative;
}

/* Add a subtle "Click to expand" text */
.faq-item::after {
    content: "Klicken zum Erweitern";
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 10px;
    opacity: 0.5;
    color: var(--color-accent-yellow);
    transition: opacity 0.3s ease;
}

.faq-item.active::after {
    content: "Klicken zum Schließen";
}

.faq-item:hover::after {
    opacity: 1;
}

.faq-item:hover {
    border-color: var(--color-accent-yellow);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(145deg, rgba(58, 12, 163, 0.3), rgba(58, 12, 163, 0.7));
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question-text {
    flex: 1;
}

.faq-question:hover {
    color: var(--color-accent-yellow);
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--color-accent-yellow);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover .faq-question::before,
.faq-item.active .faq-question::before {
    opacity: 1;
}

.faq-arrow {
    position: relative;
    width: 24px;
    height: 24px;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-arrow::before {
    content: '+';
    font-size: 24px;
    transition: transform 0.3s;
    color: var(--color-accent-yellow);
    font-weight: bold;
}

.faq-item.active .faq-arrow::before {
    content: '−';
    transform: rotate(0);
}

/* Add a highlight/glow effect on hover */
.faq-item:hover .faq-arrow {
    animation: pulse 1s infinite;
}

.faq-answer {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--color-accent-yellow);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-question {
    color: var(--color-accent-yellow);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        min-height: 70vh;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn,
    .hero-buttons .btn-outline {
        width: 100%;
        text-align: center;
    }
    
    .step {
        grid-template-columns: 40px 1fr;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .process-steps::before {
        left: 15px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fix for Safari mobile */
input, textarea, select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
} 