/* ================================= Hero Section ==================================*/

/* ===== HERO SECTION ===== */
.country-hero {
    min-height: 600px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Animated Background Elements */
.country-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.country-hero::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.08) 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(30px) scale(1.05);
    }
}

/* Animated Background Shapes */
.shape-1 {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 10%;
    left: 5%;
    animation: morph 8s ease-in-out infinite;
}

.shape-2 {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    bottom: 15%;
    right: 10%;
    animation: morph 10s ease-in-out infinite reverse;
}

@keyframes morph {
    0%,
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 40px 20px;
    animation: fadeInDown 0.8s ease-out;
}

.flag-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    animation: slideInDown 0.8s ease-out,
        pulse-circle 2s ease-in-out infinite 0.5s;
    position: relative;
}

.flag-circle::before {
    content: "✉️";
    animation: bounce 2s ease-in-out infinite;
}

@keyframes pulse-circle {
    0%,
    100% {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 20px 70px rgba(255, 255, 255, 0.3);
        transform: scale(1.05);
    }
}

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

.country-hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.2;
    animation: slideInDown 0.8s ease-out 0.1s backwards;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.tagline {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.6;
    animation: slideInDown 0.8s ease-out 0.2s backwards;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease-out 0.3s backwards;
}

.btn-primary {
    padding: 16px 40px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover::before {
    transform: translateX(0);
}

.btn-secondary {
    padding: 16px 40px;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .country-hero {
        min-height: 500px;
        padding: 40px 20px;
    }

    .country-hero h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .flag-circle {
        width: 100px;
        height: 100px;
        font-size: 50px;
        margin-bottom: 20px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

/* ================================ Kontakt Formular ============================================= */

.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.contact-section * {
    box-sizing: border-box;
}

.contact-section .floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.contact-section .floating-icon {
    position: absolute;
    color: rgba(102, 126, 234, 0.15);
    font-size: 40px;
    animation: floatIcon 15s infinite ease-in-out;
}

.contact-section .floating-icon:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}
.contact-section .floating-icon:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}
.contact-section .floating-icon:nth-child(3) {
    bottom: 15%;
    left: 20%;
    animation-delay: 4s;
}
.contact-section .floating-icon:nth-child(4) {
    bottom: 25%;
    right: 10%;
    animation-delay: 6s;
}

@keyframes floatIcon {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

.contact-section .section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease;
}

.contact-section .section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.contact-section .section-header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    border-radius: 2px;
}

.contact-section .section-header p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #666;
    margin-top: 20px;
}

.contact-section .contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff;
    border-radius: 20px;
    padding: clamp(30px, 5vw, 50px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease;
    position: relative;
    overflow: hidden;
}

.contact-section .contact-container::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(102, 126, 234, 0.05) 0%,
        transparent 70%
    );
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.contact-section .contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.contact-section .info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-section .info-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.contact-section .info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    animation: iconBounce 2s infinite;
}

@keyframes iconBounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.contact-section .info-content h3 {
    color: #333;
    font-size: 18px;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.contact-section .info-content p,
.contact-section .info-content a {
    color: #666;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0;
}

.contact-section .info-content a:hover {
    color: #667eea;
}

.contact-section .contact-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.contact-section .contact-image::before {
    content: "✉️";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    animation: bounce 3s infinite;
}

@keyframes bounce {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -60%) scale(1.1);
    }
}

.contact-section .contact-form {
    position: relative;
    z-index: 1;
}

.contact-section .success-message {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    display: none;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    animation: slideIn 0.5s ease;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.contact-section .success-message.show {
    display: flex;
}

.contact-section .success-message i {
    font-size: 24px;
}

.contact-section .form-group {
    margin-bottom: 25px;
    animation: fadeIn 0.8s ease;
    position: relative;
}

.contact-section .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-section .form-group label i {
    color: #667eea;
}

.contact-section .input-wrapper {
    position: relative;
}

.contact-section .input-wrapper i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    transition: color 0.3s ease;
}

.contact-section .form-group input,
.contact-section .form-group textarea {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.contact-section .form-group textarea {
    padding-left: 20px;
}

.contact-section .form-group input:focus,
.contact-section .form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.contact-section .input-wrapper:focus-within i {
    color: #667eea;
}

.contact-section .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-section .submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.contact-section .submit-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.contact-section .submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.contact-section .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.contact-section .submit-btn:active {
    transform: translateY(-1px);
}

.contact-section .submit-btn span {
    position: relative;
    z-index: 1;
}

.contact-section .contact-footer {
    margin-top: 40px;
    text-align: center;
    animation: fadeIn 1s ease;
}

.contact-section .address {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-section .address:hover {
    transform: translateY(-5px);
}

.contact-section .address p {
    color: #333;
    font-size: clamp(14px, 2vw, 16px);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
}

.contact-section .address i {
    color: #667eea;
    font-size: 20px;
}

.contact-section .address a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-section .address a:hover {
    color: #764ba2;
    text-decoration: underline;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 968px) {
    .contact-section .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-section .contact-info {
        order: 2;
    }

    .contact-section .contact-form {
        order: 1;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 40px 15px;
    }

    .contact-section .section-header {
        margin-bottom: 40px;
    }

    .contact-section .contact-container {
        padding: 25px 20px;
    }

    .contact-section .info-item {
        padding: 20px;
    }

    .contact-section .info-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .contact-section .form-group input,
    .contact-section .form-group textarea {
        padding: 12px 15px 12px 45px;
        font-size: 15px;
    }

    .contact-section .submit-btn {
        padding: 15px;
        font-size: 16px;
    }

    .contact-section .address p {
        flex-direction: column;
        gap: 5px;
    }

    .contact-section .floating-icon {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 30px 10px;
    }

    .contact-section .contact-container {
        padding: 20px 15px;
        border-radius: 15px;
    }

    .contact-section .form-group {
        margin-bottom: 20px;
    }

    .contact-section .info-item {
        padding: 15px;
        gap: 15px;
    }

    .contact-section .contact-image {
        height: 200px;
    }

    .contact-section .contact-image::before {
        font-size: 60px;
    }
}

/* ==================== Google Map =============================== */

.map-section {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-header {
    padding: 50px 40px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.map-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.map-header p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.map-content {
    padding: 40px;
}

.address-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 4px solid #667eea;
}

.address-card h3 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.address-card h3::before {
    content: "📍";
    font-size: 1.5rem;
}

.address-details {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .map-header {
        padding: 30px 20px;
    }

    .map-header h2 {
        font-size: 1.8rem;
    }

    .map-header p {
        font-size: 1rem;
    }

    .map-content {
        padding: 20px;
    }

    .address-card {
        padding: 20px;
    }

    .map-container iframe {
        height: 350px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

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

.error-text {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #dc2626;
}

.is-invalid {
    border-color: #dc2626 !important;
    background-color: #fff5f5;
}

.has-error label {
    color: #dc2626;
}

textarea.is-invalid,
input.is-invalid {
    outline: none;
}

.global-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px 14px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
}
