/* MDEC - Music Dance Entertainment Culture Website Styles */

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

:root {
/* Colors */
--primary: #2563eb;
--primary-dark: #1d4ed8;
--secondary: #fbbf24;
--secondary-dark: #f59e0b;
--teal: #06b6d4;
--teal-dark: #0891b2;
--orange: #fb923c;
--orange-dark: #ea580c;
--purple: #a855f7;
--purple-dark: #9333ea;
--coral: #fb7185;
--coral-dark: #e11d48;

/* Neutrals */
--white: #ffffff;
--black: #000000;
--gray-50: #f9fafb;
--gray-100: #f3f4f6;
--gray-200: #e5e7eb;
--gray-300: #d1d5db;
--gray-400: #9ca3af;
--gray-500: #6b7280;
--gray-600: #4b5563;
--gray-700: #374151;
--gray-800: #1f2937;
--gray-900: #111827;

/* Spacing */
--radius: 12px;
--radius-lg: 16px;
--radius-xl: 24px;

/* Shadows */
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
--shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
line-height: 1.6;
color: var(--gray-800);
background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
font-weight: 700;
line-height: 1.2;
margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
margin-bottom: 1rem;
}

/* Layout */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
}

.section {
padding: 5rem 0;
}

.grid {
display: grid;
gap: 2rem;
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
.grid-cols-2, .grid-cols-3, .grid-cols-4 {
grid-template-columns: 1fr;
}
}

/* Flexbox */
.flex {
display: flex;
}

.flex-col {
flex-direction: column;
}

.items-center {
align-items: center;
}

.justify-center {
justify-content: center;
}

.justify-between {
justify-content: space-between;
}

.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* Header */
.header {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
transition: all 0.3s ease;
height: 80px;
}

.header.scrolled {
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(10px);
box-shadow: var(--shadow-lg);
}

.nav {
display: flex;
align-items: center;
justify-content: space-between;
height: 80px;
padding: 0 1rem;
}

.logo {
display: flex;
align-items: center;
gap: 0.75rem;
text-decoration: none;
color: inherit;
}

.logo-icon {
width: 48px;
height: 48px;
background: linear-gradient(135deg, var(--primary), var(--teal));
border-radius: var(--radius-lg);
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 1.5rem;
transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
transform: scale(1.1);
}

.logo-text h1 {
font-size: 2rem;
font-weight: 700;
background: linear-gradient(135deg, var(--primary), var(--teal));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin: 0;
}

.logo-text p {
font-size: 0.75rem;
color: var(--gray-500);
margin: 0;
}

.nav-menu {
display: flex;
list-style: none;
gap: 0.25rem;
}

.nav-item {
position: relative;
}

.nav-link {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
border-radius: var(--radius);
text-decoration: none;
color: var(--gray-600);
font-weight: 500;
transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {background: linear-gradient(rgb(14 46 110), rgb(4 96 122));color: white;box-shadow: var(--shadow-lg);}

.mobile-menu-btn {
display: none;
background: none;
border: none;
font-size: 1.5rem;
cursor: pointer;
padding: 0.5rem;
border-radius: var(--radius);
color: var(--gray-600);
}

.mobile-menu {
display: none;
position: absolute;
top: 100%;
left: 0;
right: 0;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
border-top: 1px solid var(--gray-200);
padding: 1rem;
}

.mobile-menu.active {
display: block;
}

.mobile-nav-menu {
list-style: none;
display: flex;
flex-direction: column;
gap: 0.5rem;
}

.mobile-nav-link {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem 1rem;
border-radius: var(--radius);
text-decoration: none;
color: var(--gray-600);
font-weight: 500;
transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {background: linear-gradient(rgb(14 46 110), rgb(4 96 122));color: white;}

@media (max-width: 1024px) {
.nav-menu {
display: none;
}

.mobile-menu-btn {
display: block;
}
}

/* Buttons */
.btn {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 2rem;
border-radius: 9999px;
font-weight: 600;
text-decoration: none;
transition: all 0.3s ease;
cursor: pointer;
border: none;
font-size: 1rem;
}

.btn-primary {background: linear-gradient(rgb(14 46 110), rgb(4 96 122));color: white;}

.btn-primary:hover {background: linear-gradient(rgb(14 46 110), rgb(4 96 122));transform: scale(1.05);}

.btn-secondary {
background: transparent;
color: white;
border: 2px solid white;
}

.btn-secondary:hover {background: white;color: #0c3870;}

.btn-white {background: white;color: #0c3870;}

.btn-white:hover {
background: var(--gray-100);
}

/* Hero Sections */
.hero {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
background: linear-gradient(135deg, var(--primary), var(--teal), var(--purple));
color: white;
text-align: center;
}

.hero-bg {
position: absolute;
inset: 0;
opacity: 0.9;
}

.hero-elements {
position: absolute;
inset: 0;
}

.hero-element {
position: absolute;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
}

.hero-element:nth-child(1) {
top: 2.5rem;
left: 2.5rem;
width: 5rem;
height: 5rem;
animation: pulse 3s infinite;
}

.hero-element:nth-child(2) {
top: 10rem;
right: 5rem;
width: 8rem;
height: 8rem;
animation: bounce 2s infinite;
}

.hero-element:nth-child(3) {
bottom: 10rem;
left: 5rem;
width: 4rem;
height: 4rem;
animation: ping 2s infinite;
}

.hero-element:nth-child(4) {
bottom: 5rem;
right: 10rem;
width: 6rem;
height: 6rem;
animation: pulse 4s infinite;
}

.hero-content {
position: relative;
z-index: 10;
max-width: 4xl;
margin: 0 auto;
padding: 0 1rem;
}

.hero h1 {
font-size: 4rem;
font-weight: 700;
line-height: 1.1;
margin-bottom: 2rem;
}

.hero p {
font-size: 1.5rem;
margin-bottom: 3rem;
color: rgba(255, 255, 255, 0.9);
max-width: 2xl;
margin-left: auto;
margin-right: auto;
}

.hero-cta {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
margin-bottom: 4rem;
}

.hero-stats {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 2rem;
margin-top: 4rem;
}

.hero-stat {
text-align: center;
}

.hero-stat-number {
font-size: 2.5rem;
font-weight: 700;
color: white;
}

.hero-stat-label {
font-size: 0.875rem;
color: rgba(255, 255, 255, 0.8);
text-transform: uppercase;
letter-spacing: 0.05em;
}

@media (max-width: 768px) {
.hero h1 {
font-size: 2.5rem;
}

.hero p {
font-size: 1.25rem;
}

.hero-cta {
flex-direction: column;
}

.hero-stats {
grid-template-columns: repeat(2, 1fr);
}
}

/* Cards */
.card {
background: white;
border: 1px solid var(--gray-200);
border-radius: var(--radius-xl);
padding: 2rem;
transition: all 0.3s ease;
box-shadow: var(--shadow);
}

.card:hover {
transform: translateY(-8px);
box-shadow: var(--shadow-xl);
}

.card-icon {
width: 4rem;
height: 4rem;
border-radius: var(--radius-lg);
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 2rem;
margin-bottom: 1.5rem;
transition: transform 0.3s ease;
}

.card:hover .card-icon {
transform: scale(1.1);
}

.card h3 {
font-size: 1.5rem;
font-weight: 700;
color: var(--gray-800);
margin-bottom: 1rem;
}

.card p {
color: var(--gray-600);
line-height: 1.6;
}

/* Feature Cards */
.feature-card {
position: relative;
background: white;
border: 1px solid var(--gray-200);
border-radius: var(--radius-xl);
overflow: hidden;
transition: all 0.3s ease;
box-shadow: var(--shadow);
}

.feature-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-xl);
}

.feature-card-image {
width: 100%;
aspect-ratio: 16/9;
background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(6, 182, 212, 0.2));
display: flex;
align-items: center;
justify-content: center;
font-size: 4rem;
opacity: 0.2;
}

.feature-card-content {
padding: 1.5rem;
}

.feature-card-badge {position: absolute;top: 1rem;left: 1rem;background: rgba(37, 99, 235, 0.1);color: var(--gray-800);padding: 0.25rem 0.75rem;border-radius: 9999px;font-size: 0.875rem;font-weight: 500;}

/* Forms */
.form-group {
margin-bottom: 1.5rem;
}

.form-label {
display: block;
font-weight: 500;
color: var(--gray-800);
margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
width: 100%;
padding: 0.75rem 1rem;
border: 1px solid var(--gray-300);
border-radius: var(--radius);
font-size: 1rem;
transition: border-color 0.2s ease;
background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
resize: vertical;
min-height: 120px;
}

/* Gradients */
.gradient-primary {
background: linear-gradient(rgb(14 46 110), rgb(4 96 122));
}

.gradient-secondary {
background: linear-gradient(135deg, var(--secondary), var(--orange));
}

.gradient-purple {
background: linear-gradient(135deg, var(--purple), var(--coral));
}

.gradient-teal {
background: linear-gradient(135deg, var(--teal), var(--primary));
}

/* Text Gradients */
.text-gradient-primary {
background: linear-gradient(135deg, var(--primary), var(--teal));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

/* Backgrounds */
.bg-accent {
background: var(--gray-50);
}

.bg-primary {
background: linear-gradient(135deg, var(--primary), var(--teal));
}

.bg-gradient-hero {
background: linear-gradient(135deg, var(--primary), var(--teal), var(--purple));
}

/* Footer */
.footer {
background: linear-gradient(rgb(14 46 110 / 83%), rgb(4 96 122)), url(public/gallery2.jpeg);
background-size: cover;
background-position: center center;
color: white;
padding: 3rem 0 2rem;
}

.footer-content {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 2rem;
margin-bottom: 2rem;
}

.footer-section h4 {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 1rem;
}

.footer-section ul {
list-style: none;
}

.footer-section ul li {
margin-bottom: 0.5rem;
}

.footer-section a {
color: rgba(255, 255, 255, 0.9);
text-decoration: none;
transition: color 0.2s ease;
}

.footer-section a:hover {
color: white;
}

.footer-bottom {
border-top: 1px solid rgba(255, 255, 255, 0.2);
padding-top: 2rem;
text-align: center;
color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
.footer-content {
grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 480px) {
.footer-content {
grid-template-columns: 1fr;
}
}

/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

@keyframes slideUp {
from {
opacity: 0;
transform: translateY(40px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

@keyframes bounce {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-25%);
}
}

@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}

@keyframes ping {
75%, 100% {
transform: scale(2);
opacity: 0;
}
}

@keyframes float {
0%, 100% {
transform: translateY(0px);
}
50% {
transform: translateY(-20px);
}
}

.animate-fade-in {
animation: fadeIn 1.5s ease-out;
}

.animate-slide-up {
animation: slideUp 0.8s ease-out;
}

.animate-bounce {
animation: bounce 2s infinite;
}

.animate-pulse {
animation: pulse 3s infinite;
}

.animate-ping {
animation: ping 2s infinite;
}

.animate-float {
animation: float 6s ease-in-out infinite;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

.overflow-hidden { overflow: hidden; }

.cursor-pointer { cursor: pointer; }

.transition-all { transition: all 0.3s ease; }

/* Image Placeholders */
.image-placeholder {
background: linear-gradient(135deg, var(--primary), var(--secondary));
border-radius: var(--radius);
position: relative;
overflow: hidden;
cursor: pointer;
transition: all 0.3s ease;
}

.image-placeholder:hover {
transform: scale(1.02);
box-shadow: var(--shadow-xl);
}

.image-placeholder::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.1);
opacity: 0;
transition: opacity 0.3s ease;
}

.image-placeholder:hover::before {
opacity: 1;
}

/* Hero Background Image */
.hero-background-image {
transition: opacity 0.3s ease;
}

.hero-background-image:empty {
display: none;
}

/* Image Grid Responsive */
@media (max-width: 768px) {
.grid.grid-cols-4 {
grid-template-columns: 1fr 1fr !important;
}

.grid.grid-cols-5 {
grid-template-columns: repeat(2, 1fr) !important;
}

.col-span-2 {
grid-column: span 2;
}

.row-span-2 {
grid-row: span 1;
}
}

@media (max-width: 480px) {
.grid.grid-cols-4 {
grid-template-columns: 1fr !important;
}

.grid.grid-cols-5 {
grid-template-columns: 1fr !important;
}
}

/* Responsive Design */
@media (max-width: 480px) {
.container {
padding: 0 0.5rem;
}

.section {
padding: 3rem 0;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
}