/* Custom CSS for Etika Kids */

:root {
    --primary-color: #6b73ff;
    --secondary-color: #9c88ff;
    --pink-color: #ff9a9e;
    --blue-color: #a8d5ff;
    --green-color: #90e0a8;
    --orange-color: #ffb347;
    --red-color: #ff7675;
    --purple-color: #a29bfe;
    --light-bg: #f8f9ff;
    --card-shadow: 0 10px 30px rgba(107, 115, 255, 0.1);
    --border-radius: 20px;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: var(--light-bg);
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(107, 115, 255, 0.05) 0%, transparent 70%);
    transform: rotate(-15deg);
}

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

.hero-logo {
    max-width: 120px;
    height: auto;
}

.hero-buttons .btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 115, 255, 0.3);
}

.hero-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 154, 158, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Section Cards */
.section-card, .service-card, .contact-card, .location-card {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(107, 115, 255, 0.1);
}

.section-card:hover, .contact-card:hover, .location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(107, 115, 255, 0.15);
}

/* About Section */
.about-item {
    text-align: center;
    padding: 1.5rem;
}

.about-item i {
    font-size: 3rem;
    display: block;
}

.about-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Service Cards */
.service-card {
    text-align: center;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(107, 115, 255, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

.service-icon i.text-pink {
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    color: white;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.service-icon i.text-blue {
    background: linear-gradient(135deg, #a8d5ff, #74b9ff);
    color: white;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.service-icon i.text-green {
    background: linear-gradient(135deg, #90e0a8, #55a3ff);
    color: white;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.service-icon i.text-orange {
    background: linear-gradient(135deg, #ffb347, #ff9a9e);
    color: white;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.service-icon i.text-red {
    background: linear-gradient(135deg, #ff7675, #fd79a8);
    color: white;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.service-icon i.text-purple {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    color: white;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.service-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Gallery Section */
.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(107, 115, 255, 0.15);
}

.gallery-placeholder {
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-bg), #f0f2ff);
    border: 2px dashed #ddd;
}

.gallery-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Location Section */
.location-info {
    padding: 1rem 0;
}

.location-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 15px;
}

.location-item i {
    margin-top: 0.2rem;
    font-size: 1.2rem;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

/* Contact Section */
.contact-info {
    padding: 1rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 15px;
}

.contact-item i {
    margin-top: 0.2rem;
    font-size: 1.2rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 12px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(107, 115, 255, 0.25);
}

.contact-form .btn {
    border-radius: 15px;
    padding: 12px 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Footer */
footer {
    margin-top: 0;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Color Utilities */
.text-pink { color: var(--pink-color) !important; }
.text-blue { color: var(--blue-color) !important; }
.text-green { color: var(--green-color) !important; }
.text-orange { color: var(--orange-color) !important; }
.text-red { color: var(--red-color) !important; }
.text-purple { color: var(--purple-color) !important; }

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    box-shadow: 0 4px 15px rgba(107, 115, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 6px 20px rgba(107, 115, 255, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .section-card, .service-card, .contact-card, .location-card {
        padding: 2rem 1.5rem;
    }
    
    .hero-card {
        margin-top: 2rem;
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .gallery-placeholder {
        height: 200px;
    }
    
    .gallery-placeholder i {
        font-size: 2rem;
    }
}

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

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

.section-card, .service-card {
    animation: fadeInUp 0.6s ease-out;
}
