:root {
    --bg-color: #0b1414;
    --surface-color: #162928;
    --surface-hover: #1e3a39;
    --primary-color: #4DF2D6;
    --primary-glow: rgba(77, 242, 214, 0.5);
    --text-primary: #e0f2f1;
    --text-secondary: #88b3b1;
    --metallic-grey: #5a6e6c;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --glass-bg: rgba(22, 41, 40, 0.6);
    --glass-border: rgba(77, 242, 214, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body {
    background: linear-gradient(-45deg, #0b1414, #122120, #0a1716, #0d1f1d);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-primary);
    font-weight: 700;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-shadow: 0 0 10px var(--primary-glow);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
header {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    margin-top: 20px;
    margin-bottom: 30px;
    z-index: 2000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    background: rgba(18, 33, 32, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(77, 242, 214, 0.2);
    border-radius: 50px;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(77, 242, 214, 0.05);
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-color);
}

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

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 100px 20px;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--text-primary), var(--metallic-grey));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Cards (Services / Portfolio) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.card {
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--primary-glow);
    border-color: var(--primary-color);
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-secondary);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-main);
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-glow);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Admin Dashboard */
.admin-table-container {
    overflow-x: auto;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface-color);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

th {
    background: var(--bg-color);
    color: var(--primary-color);
    font-weight: 600;
}

tr:hover {
    background: var(--surface-hover);
}

.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-pending { background: rgba(255, 193, 7, 0.2); color: #ffc107; }
.status-contacted { background: rgba(77, 242, 214, 0.2); color: var(--primary-color); }

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--glass-border);
    margin-top: 60px;
    color: var(--text-secondary);
}

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 20px; }
.mt-4 { margin-top: 40px; }
.mb-2 { margin-bottom: 20px; }
.mb-4 { margin-bottom: 40px; }
.section-title { font-size: 2.5rem; margin-bottom: 20px; position: relative; display: inline-block; }
.section-title::after { content: ''; position: absolute; bottom: -10px; left: 0; width: 50%; height: 3px; background: var(--primary-color); }

/* Alerts */
.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
}

.alert-success { background: rgba(77, 242, 214, 0.2); border: 1px solid var(--primary-color); color: var(--primary-color); }
.alert-error { background: rgba(244, 67, 54, 0.2); border: 1px solid #f44336; color: #f44336; }

/* Dropdown Navigation */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background-color: var(--glass-bg);
    backdrop-filter: blur(15px);
    min-width: 250px;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.5);
    z-index: 1000;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    top: 150%; 
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 0;
}

.dropdown-content a {
    color: var(--text-secondary);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background-color: rgba(77, 242, 214, 0.05);
    color: var(--primary-color);
    padding-left: 28px;
    text-shadow: 0 0 5px var(--primary-glow);
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    top: 100%;
}

/* Pill Heading */
.pill-heading {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 50px;
    background: rgba(77, 242, 214, 0.05);
    border: 1px solid rgba(77, 242, 214, 0.2);
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 25px;
    box-shadow: inset 0 0 10px rgba(77, 242, 214, 0.05);
    backdrop-filter: blur(5px);
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.8); 
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--surface-color);
    margin: 10% auto; 
    padding: 30px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(77, 242, 214, 0.05);
}

.close-modal {
    color: var(--text-secondary);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-color);
}

.setup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.setup-card {
    background: var(--bg-color);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.setup-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.setup-card img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 15px;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.setup-card h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.setup-card .price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

