/* ============================================
   ECHO EXPO - Complete CSS Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== NAVIGATION MENU ========== */
nav {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

nav .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

nav a[href*="home"] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a[href*="home"]:hover {
    color: #374151;
}

nav .hidden.md\:flex {
    display: none;
}

@media (min-width: 768px) {
    nav .hidden.md\:flex {
        display: flex;
    }
}

nav .hidden.md\:flex a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

nav .hidden.md\:flex a:hover {
    color: #111827;
}

nav .hidden.md\:flex a.border-b-2 {
    color: #111827;
    border-bottom: 2px solid #111827;
}

/* Dropdown Menu */
nav .relative.group {
    position: relative;
}

nav .absolute {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

nav .group:hover .absolute {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

nav .absolute a {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border-radius: 0.25rem;
    margin: 0.25rem;
}

nav .absolute a:hover {
    background-color: #f9fafb;
    color: #111827;
}

/* Mobile Menu Button */
nav button#mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #374151;
}

@media (min-width: 768px) {
    nav button#mobile-menu-btn {
        display: none;
    }
}

/* Mobile Menu */
nav #mobile-menu {
    display: none;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 1rem;
}

nav #mobile-menu.flex {
    display: flex;
}

nav #mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

nav #mobile-menu a:hover {
    color: #111827;
}

/* ========== HERO SECTION ========== */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-section .absolute.inset-0 {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.hero-section .bg-gradient-to-br {
    background: linear-gradient(135deg, #111827 0%, #1f2937 50%, #000000 100%);
}

.hero-section .bg-black.bg-opacity-50 {
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 300;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 300;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background-color: #ffffff;
    color: #111827;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background-color: #f9fafb;
}

/* ========== SECTIONS ========== */
section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    section {
        padding: 5rem 0;
    }
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
    margin-bottom: 1rem;
    text-align: center;
}

.welcome-section {
    background-color: #ffffff;
}

.welcome-heading {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
    margin-bottom: 1.5rem;
}

.welcome-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1rem;
}

.welcome-text strong {
    font-weight: 600;
    color: #111827;
}

.services-section {
    background-color: #f9fafb;
}

.services-intro {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.7;
    color: #374151;
    max-width: 56rem;
    margin: 0 auto 2rem;
}

.services-intro strong {
    font-weight: 700;
    color: #111827;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
    margin-bottom: 1rem;
}

.service-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #4b5563;
    padding: 0.25rem 0;
    display: flex;
    align-items: flex-start;
}

.service-features li span:first-child {
    margin-right: 0.5rem;
    color: #111827;
    font-weight: 600;
}

/* ========== PORTFOLIO SECTION ========== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.portfolio-item {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-block;
    background-color: #111827;
    color: #ffffff;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #1f2937;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ========== FOOTER ========== */
footer {
    background-color: #111827;
    color: #ffffff;
    padding: 3rem 0;
    margin-top: 3rem;
}

footer h3,
footer h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

footer h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

footer h4 {
    font-size: 1rem;
    font-weight: 600;
}

footer p,
footer a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #ffffff;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer .border-t {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
}

/* ========== UTILITY CLASSES ========== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.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; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mr-4 { margin-right: 1rem; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: #ffffff; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }
.text-blue-600 { color: #2563eb; }
.text-blue-800 { color: #1e40af; }
.text-red-600 { color: #dc2626; }
.text-red-800 { color: #991b1b; }
.text-green-600 { color: #16a34a; }
.text-green-800 { color: #166534; }
.text-yellow-400 { color: #facc15; }

.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.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; }
.text-6xl { font-size: 3.75rem; }
.text-7xl { font-size: 4.5rem; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.bg-white { background-color: #ffffff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-800 { background-color: #1f2937; }
.bg-gray-900 { background-color: #111827; }
.bg-blue-500 { background-color: #3b82f6; }
.bg-blue-600 { background-color: #2563eb; }
.bg-red-500 { background-color: #ef4444; }
.bg-green-500 { background-color: #22c55e; }
.bg-green-100 { background-color: #dcfce7; }
.bg-red-100 { background-color: #fee2e2; }
.bg-yellow-50 { background-color: #fefce8; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-full { border-radius: 9999px; }

.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }

.border { border-width: 1px; }
.border-gray-300 { border-color: #d1d5db; }
.border-gray-800 { border-color: #1f2937; }
.border-gray-900 { border-color: #111827; }
.border-green-400 { border-color: #4ade80; }
.border-red-400 { border-color: #f87171; }
.border-b-2 { border-bottom-width: 2px; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }

.w-full { width: 100%; }
.h-16 { height: 4rem; }
.h-32 { height: 8rem; }
.h-40 { height: 10rem; }
.h-48 { height: 12rem; }
.h-64 { height: 16rem; }
.h-96 { height: 24rem; }
.h-screen { height: 100vh; }
.max-w-4xl { max-width: 56rem; }
.max-h-16 { max-height: 4rem; }

.flex { display: flex; }
.hidden { display: none; }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-grow { flex-grow: 1; }
.h-full { height: 100%; }

.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.bottom-10 { bottom: 2.5rem; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.z-1000 { z-index: 1000; }

.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

.transition { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; }
.transition-colors { transition-property: color, background-color, border-color; }
.transition-transform { transition-property: transform; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }

.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.scale-110 { transform: scale(1.1); }

.opacity-90 { opacity: 0.9; }
.opacity-0 { opacity: 0; }
.invisible { visibility: hidden; }

.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:visible { visibility: visible; }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:bg-opacity-30 { background-color: rgba(0, 0, 0, 0.3); }

.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }

.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

.divide-y > * + * { border-top-width: 1px; }
.divide-gray-200 > * + * { border-color: #e5e7eb; }

.whitespace-nowrap { white-space: nowrap; }

.prose { max-width: 65ch; }
.prose p { margin-bottom: 1rem; }
.prose h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
.prose h2 { font-size: 1.875rem; font-weight: 600; margin-bottom: 0.75rem; }
.prose h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; }
.prose ul { list-style-type: disc; margin-left: 1.5rem; margin-bottom: 1rem; }
.prose ol { list-style-type: decimal; margin-left: 1.5rem; margin-bottom: 1rem; }

/* ========== RESPONSIVE ========== */
@media (min-width: 640px) {
    .container { max-width: 640px; }
    .sm\:text-5xl { font-size: 3rem; }
}

@media (min-width: 768px) {
    .container { max-width: 768px; }
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:text-6xl { font-size: 3.75rem; }
    .md\:px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
    .md\:py-4 { padding-top: 1rem; padding-bottom: 1rem; }
}

@media (min-width: 1024px) {
    .container { max-width: 1024px; }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
    .container { max-width: 1280px; }
}

/* ========== ADMIN PANEL STYLES ========== */
.admin-layout {
    min-height: 100vh;
    display: flex;
    background-color: #f3f4f6;
}

.admin-sidebar {
    width: 16rem;
    background-color: #1f2937;
    color: #ffffff;
    min-height: 100vh;
    padding: 1.5rem 0;
}

.admin-sidebar h2 {
    padding: 0 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.admin-sidebar p {
    padding: 0 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 2rem;
}

.admin-sidebar nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: #d1d5db;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.admin-sidebar nav a:hover {
    background-color: #374151;
    color: #ffffff;
}

.admin-sidebar nav a.bg-gray-700 {
    background-color: #374151;
    color: #ffffff;
}

.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.admin-header {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-content {
    flex: 1;
    padding: 1.5rem;
}

.admin-table {
    width: 100%;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.admin-table thead {
    background-color: #f9fafb;
}

.admin-table th {
    padding: 0.75rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #6b7280;
}

.admin-table td {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    color: #374151;
}

.admin-table tbody tr:hover {
    background-color: #f9fafb;
}

.admin-form {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.admin-form label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.admin-form input[type="text"],
.admin-form input[type="email"],
.admin-form input[type="number"],
.admin-form input[type="date"],
.admin-form input[type="file"],
.admin-form textarea,
.admin-form select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.admin-alert {
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.admin-alert-success {
    background-color: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
}

.admin-alert-error {
    background-color: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

/* ========== LOGIN PAGE ========== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 28rem;
}

.login-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #111827;
}

.login-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.login-form input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.login-form button {
    width: 100%;
    padding: 0.75rem;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.login-form button:hover {
    background-color: #2563eb;
}
