/* Custom CSS for Hangtálas Szolgáltatás */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #fff3cd 0%, #f8f9fa 100%);
    min-height: 100vh;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffc107" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffc107" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffc107" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffc107" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffc107" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(248, 249, 250, 0.95) !important;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffc107 !important;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffc107;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Cards */
.hover-card {
    transition: all 0.3s ease;
    border: none;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

/* Buttons */
.btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Images */
img {
    transition: all 0.3s ease;
}

img:hover {
    transform: scale(1.02);
}

/* Accordion */
.accordion-button {
    font-weight: 600;
    border-radius: 10px !important;
}

.accordion-button:not(.collapsed) {
    background-color: #fff3cd;
    color: #664d03;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Form styling */
.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

/* Pricing cards */
.card {
    border-radius: 15px;
    transition: all 0.3s ease;
}

/* Testimonials */
.blockquote-footer {
    font-weight: 600;
    color: #6c757d;
}

/* Section spacing */
section {
    padding: 80px 0;
}

/* Background patterns */
.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .hero-section {
        padding-top: 100px;
    }
    
    section {
        padding: 60px 0;
    }
}

/* Contact form enhancements */
#contactForm .form-control:valid {
    border-color: #198754;
}

#contactForm .form-control:invalid {
    border-color: #dc3545;
}

/* Gallery hover effects */
.card img {
    transition: all 0.3s ease;
}

.card:hover img {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #212529 0%, #343a40 100%) !important;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #ffc107;
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    background: #e0a800;
    transform: translateY(-3px);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success message */
.alert-success {
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #d1e7dd 0%, #a3d9a4 100%);
}

/* Error message */
.alert-danger {
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #f8d7da 0%, #f1aeb5 100%);
}

/* Badge styling */
.badge {
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 20px;
}

/* Icon enhancements */
.bi {
    transition: all 0.3s ease;
}

.card:hover .bi {
    transform: scale(1.1);
}

/* Pricing highlight */
.border-primary {
    border-width: 3px !important;
}

/* Custom shadows */
.shadow-sm {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

.shadow {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Text selection */
::selection {
    background: #ffc107;
    color: #212529;
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid #ffc107;
    outline-offset: 2px;
}

/* Smooth transitions for all interactive elements */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

