:root {
    --bg-main: #0B0014;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary-gradient: linear-gradient(135deg, #FF007F, #7000FF);
    --text-main: #FDFDFD;
    --text-muted: #A098B0;
    --accent-pink: #FF007F;
    --accent-purple: #7000FF;
}

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

html, body {
    max-width: 100vw;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    position: relative;
    overflow-x: clip;
}

/* Background Blobs (Soft Glows) */
.blob-bg {
    position: absolute;
    filter: blur(120px);
    border-radius: 50%;
    z-index: -2;
    opacity: 0.5;
}
.blob-purple {
    top: -10%; left: -10%;
    width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(112,0,255,0.4) 0%, rgba(11,0,20,0) 70%);
}
.blob-pink {
    top: 40%; right: -10%;
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(255,0,127,0.3) 0%, rgba(11,0,20,0) 70%);
}
.blob-cyan {
    bottom: -10%; left: 20%;
    width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(0,255,255,0.15) 0%, rgba(11,0,20,0) 70%);
}

/* 3D Glass Assets rendering over black via screen blend mode */
.gfx-3d {
    position: absolute;
    z-index: -1;
    mix-blend-mode: screen; /* Strips black background, leaves glowing 3D objects */
    opacity: 0.8;
    pointer-events: none;
}
.gfx-1 { top: 10%; right: 5%; width: 350px; }
.gfx-2 { top: 45%; left: -5%; width: 400px; }
.gfx-3 { top: 80%; right: 10%; width: 300px; transform: rotate(15deg); }

a {
    text-decoration: none;
    color: inherit;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
}
.section-desc {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-inline: auto;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--primary-gradient);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: #fff;
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 10px 20px rgba(255, 0, 127, 0.3);
    cursor: pointer;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem; 
}
.btn-primary:hover {
    opacity: 0.9;
    transform: scale(1.05);
}
.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}
.btn-outline {
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s;
}
.btn-outline:hover {
    background: white;
    color: var(--bg-main);
}
.cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}
.w-full { width: 100%; display: block; text-align: center; }

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.logo-img {
    height: 120px;
    mix-blend-mode: screen; /* Keeps black logo background transparent */
    cursor: auto;
    transition: height 0.3s ease;
}
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-links a:not(.btn-outline) {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:not(.btn-outline):hover {
    color: var(--text-main);
}

/* Hero */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 5%;
    min-height: 80vh;
}
.hero-content {
    flex: 1;
    max-width: 600px;
}
.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
}
.hero-visuals {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
.main-visual {
    width: 100%;
    max-width: 500px;
    padding: 1rem;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
}
.main-visual img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
@keyframes float-alt {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(15px) rotate(5deg); }
}
.float-anim {
    animation: float 6s ease-in-out infinite;
}
.float-anim-alt {
    animation: float-alt 8s ease-in-out infinite;
}

/* Services */
.services, .portfolio, .about {
    padding: 5rem 5%;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.pricing-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pricing-card.featured {
    border-color: var(--accent-pink);
    background: linear-gradient(180deg, rgba(255,0,127,0.05) 0%, rgba(255,255,255,0.03) 100%);
}
.featured-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: white;
    padding: 0.25rem 1rem;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    font-size: 0.8rem;
    font-weight: bold;
}
.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.price-val {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.old-price {
    font-size: 1.5rem;
    text-decoration: line-through;
    color: var(--text-muted);
}
.new-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
}
.price-desc {
    color: var(--text-muted);
}

/* Gallery & About */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.gallery-item {
    padding: 1rem;
    aspect-ratio: 4/5;
    overflow: hidden;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.cert-item { padding: 0.5rem; }
.cert-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}
.cert-fix1 { transform: rotate(-2deg); }
.cert-fix2 { transform: rotate(3deg); }

/* Footer */
footer {
    padding: 5rem 5% 2rem;
}
.cta-footer {
    text-align: center;
    background: linear-gradient(135deg, rgba(255,0,127,0.1) 0%, rgba(112,0,255,0.1) 100%);
    border: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 3rem;
    padding: 4rem 2rem;
}
.cta-footer h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.cta-footer p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.9rem;
}

/* Modal Form Styles */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-glass {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.modal-overlay.active .modal-glass {
    transform: translateY(0);
}
.close-modal {
    position: absolute;
    top: 1rem; right: 1.5rem;
    background: transparent; border: none;
    color: var(--text-muted);
    font-size: 2rem; cursor: pointer;
    transition: color 0.3s;
}
.close-modal:hover { color: white; }

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.input-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.booking-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.booking-form input:focus {
    outline: none;
    border-color: var(--accent-pink);
    box-shadow: 0 0 0 3px rgba(255, 0, 127, 0.2);
}
.row-group {
    display: flex;
    gap: 1rem;
}
.half {
    flex: 1;
}

@media (max-width: 900px) {
    .hero { flex-direction: column; text-align: center; padding-top: 2rem; }
    .hero-visuals { margin-top: 3rem; }
    .hero-title { font-size: 3rem; }
    .cta-group { justify-content: center; }
    .about-container { grid-template-columns: 1fr; }
    .gfx-3d { display: none; } /* Hide large blobs on small screens for clarity */
}
@media (max-width: 600px) {
    .nav-links { display: none; }
    .logo-img { height: 80px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .certificates-grid { grid-template-columns: 1fr; }
    .modal-glass { padding: 2rem; }
    .row-group { flex-direction: column; }
}
