/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent !important;
}

/* REMOVE ALL FOCUS RINGS */
*:focus,
*:focus-visible,
*:active {
    outline: none !important;
    box-shadow: none !important;
    border-color: inherit !important;
}

/* BODY — BRIGHT ANIMATED BACKGROUND */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb, #5f27cd);
    background-size: 400% 400%;
    animation: neonFlow 12s ease infinite;
    color: #222;
}

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

/* NAV + HERO */
.hero {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    color: #fff;
    padding-bottom: 80px;
}

.small-hero {
    padding-bottom: 40px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

/* LOGO */
.logo {
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #38bdf8, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

/* NAV LINKS */
.nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

/* FIX: Hidden links keep spacing */
.nav a[style*="visibility:hidden"] {
    visibility: hidden;
}

.nav a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: #fff;
}

/* HERO CONTENT */
.hero-content {
    max-width: 800px;
    margin: 60px auto 0;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    background: linear-gradient(90deg, #ffffff, #c7d2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.1rem;
    color: #cbd5f5;
    margin-bottom: 25px;
}

/* BUTTONS */
.button {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.button.primary {
    background: #3b82f6;
    color: #fff;
}

.button.primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* SECTIONS */
.section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section.alt {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    border-radius: 24px;
    margin-top: 40px;
}

.section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 700;
}

/* GRID + CARDS */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.15);
}

/* PRICING */
.pricing {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.price-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    padding: 24px;
    width: 280px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.15);
}

.price-box.featured {
    border: none !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10) !important;
}

.price-box h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 700;
}

.price-box p {
    margin: 6px 0;
    color: #4b5563;
    font-size: 0.95rem;
}

/* ABOUT */
.about p {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* CONTACT */
.contact-intro {
    text-align: center;
    margin-bottom: 20px;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #3b82f6;
}

.form-status {
    margin-top: 10px;
    font-size: 0.9rem;
}

/* CONTACT LINKS */
.contact-extra a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

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

.contact-extra {
    margin-top: 25px;
    text-align: center;
    font-size: 0.95rem;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
    color: #6b7280;
}

/* PREMIUM PORTFOLIO */
.premium-project {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.premium-text {
    flex: 1;
    min-width: 280px;
}

.premium-text h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.premium-text p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.premium-image {
    flex: 1;
    min-width: 280px;
}

/* ⭐ FINAL FIX — RESPONSIVE, NO-CROP, TALL IMAGES */
.premium-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 380px;
    max-height: 520px;
    overflow: hidden;
    border-radius: 16px;
}

.premium-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
    display: block;
    transition: transform 0.2s ease;
}

.premium-image img:hover {
    transform: translateY(-4px);
}

.premium-card .premium-image {
    margin-bottom: 20px;
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.premium-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.premium-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.premium-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.premium-card p {
    margin-bottom: 20px;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 700px) {
    .nav {
        flex-direction: column;
        gap: 10px;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .premium-project {
        flex-direction: column;
        text-align: center;
    }
}
