/* CSS Variables for Premium Theme */
:root {
    --primary-color: #D4AF37;
    /* Metallic Gold */
    --secondary-color: #0B0F19;
    /* Deep Navy/Black */
    --accent-color: #1E293B;
    /* Slate Blue */
    --text-light: #F8FAFC;
    --text-dark: #334155;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-premium: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(212, 175, 55, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--secondary-color);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 15px;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

/* Header & Nav */
header {
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.btn-cta {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-cta:hover {
    background: #ddb945;
    transform: translateY(-2px);
    box-shadow: var(--shadow-premium);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Main Hero BG - Will be replaced by page specific style in HTML or inline if needed, but here is default */
    background: linear-gradient(rgba(11, 15, 25, 0.7), rgba(11, 15, 25, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-color), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #cbd5e1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Grid */
.services {
    padding: 100px 0;
    background: var(--secondary-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(30, 41, 59, 0.3);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    background: rgba(30, 41, 59, 0.5);
}

.service-thumb {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

/* Why Choose Us & Process */
.why-us {
    padding: 80px 0;
    background: #0f131f;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: center;
}

.why-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 20px;
    opacity: 0;
    transition: 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(rgba(11, 15, 25, 0.9), rgba(11, 15, 25, 0.9)), url('../images/design-bg.jpg');
    background-size: cover;
    background-attachment: fixed;
}

.app-reviews {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stars {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: #05070a;
    padding: 50px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .btn-outline {
        margin-left: 0;
    }
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    z-index: 9999;
    mix-blend-mode: difference;
}

.custom-cursor.hovering {
    width: 50px;
    height: 50px;
    background-color: rgba(212, 175, 55, 0.2);
    border-color: transparent;
}

.custom-cursor.active {
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
}