@import url('fonts.css');

:root {
    --primary-color: #D946EF; /* Magenta Neon */
    --secondary-color: #0EA5E9; /* Cyan Neon */
    --bg-dark: #0F172A;
    --bg-darker: #020617;
    --text-light: #F1F5F9;
    --text-muted: #94A3B8;
    --glass-bg: rgba(15, 23, 42, 0.7);
    --border-glow: 0 0 10px rgba(217, 70, 239, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Glitch Effect for Logo --- */
.glitch {
    position: relative;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 var(--primary-color);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 var(--secondary-color);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(13px, 9999px, 83px, 0); }
    20% { clip: rect(66px, 9999px, 4px, 0); }
    40% { clip: rect(2px, 9999px, 80px, 0); }
    60% { clip: rect(44px, 9999px, 13px, 0); }
    80% { clip: rect(89px, 9999px, 55px, 0); }
    100% { clip: rect(20px, 9999px, 60px, 0); }
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.btn {
    padding: 10px 30px;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.btn:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 20px var(--primary-color);
}

/* --- Hero --- */
.hero {
    height: 100vh;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.3), var(--bg-dark)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--bg-dark), transparent);
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(217, 70, 239, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-muted);
}

/* --- Page Header (Contact, Pricing etc) --- */
.page-header {
    height: 40vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px; /* Offset for fixed navbar */
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
}

.header-content {
    position: relative;
    z-index: 1;
}

.header-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(217, 70, 239, 0.5);
}

/* --- Sections --- */
.section-padding {
    padding: 6rem 0;
}

.section-title {
    margin-bottom: 4rem;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.section-title p {
    color: var(--text-muted);
}

/* --- Cards --- */
.card {
    background: var(--bg-darker);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 2rem;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    filter: grayscale(100%);
    transition: 0.5s;
}

.card:hover img {
    filter: grayscale(0%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img {
    position: relative;
}

.about-img img {
    width: 100%;
    border: 1px solid var(--primary-color);
    box-shadow: 10px 10px 0 var(--secondary-color);
}

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.gallery-item {
    height: 300px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: contrast(1.2);
}

/* --- Contact Section --- */
.contact-section {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2, .contact-form-container h2 {
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-darker);
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

.info-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(217, 70, 239, 0.2);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.info-item p {
    color: var(--text-muted);
}

/* --- Contact Form --- */
.contact-form-container {
    background: var(--bg-darker);
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
}

/* --- Map Section --- */
.map-section {
    padding-bottom: 5rem;
}

.map-section iframe {
    filter: grayscale(100%) invert(92%) contrast(83%);
    border: 1px solid var(--secondary-color) !important;
}

/* --- Footer --- */
footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 4rem 0 2rem;
    background: var(--bg-darker);
}

.footer-content,
.footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
    list-style: none;
}

.footer-col a {
    color: var(--text-muted);
}

.footer-col a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 15px var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu implementation needed if expanding */
    }
    .hero-content h1 { font-size: 3rem; }
    .about-grid, .gallery-grid { grid-template-columns: 1fr; }
}

/* --- Page Header (Contact, Pricing etc) --- */
.page-header {
    height: 50vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 80px; /* Offset for fixed navbar */
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
}

.header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--primary-color);
}

.header-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    letter-spacing: 1px;
}

/* --- Contact Section --- */
.contact-section {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* Info Items */
.contact-info h2, .contact-form-container h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--bg-darker);
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: 0.3s;
}

.info-item:hover {
    transform: translateX(10px);
    border-color: rgba(217, 70, 239, 0.3);
    box-shadow: 0 0 20px rgba(217, 70, 239, 0.1);
}

.info-item:hover::before {
    opacity: 1;
}

.info-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    margin-top: 5px;
    text-shadow: 0 0 10px var(--primary-color);
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.info-item p {
    color: var(--text-muted);
}

/* Contact Form */
.contact-form-container {
    background: var(--bg-darker);
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-light);
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.3);
}

/* Map Section */
.map-section {
    line-height: 0;
    border-top: 1px solid var(--secondary-color);
    border-bottom: 1px solid var(--secondary-color);
    position: relative;
}

.map-section iframe {
    filter: grayscale(100%) invert(90%) contrast(85%);
}

/* Responsive Update */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
}
