/* Variable Definitions */
:root {
    /* Sophisticated Palette */
    --bg-color: #050505;
    --card-bg: #111111;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --primary-color: #D4AF37;
    /* Metallic Gold */
    --primary-light: #F2D06B;
    --primary-dark: #AA8C2C;
    --accent-color: #ffffff;
    --gradient-main: linear-gradient(135deg, #D4AF37 0%, #FAE596 50%, #D4AF37 100%);
    /* Gold Shine */
    --gradient-hover: linear-gradient(135deg, #F2D06B 0%, #FFF0C2 50%, #F2D06B 100%);
    --border-color: #333333;
    --border-gold: rgba(212, 175, 55, 0.3);

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5);
    --shadow-lg: 0 10px 30px -3px rgba(212, 175, 55, 0.1);

    --transition: all 0.4s ease;

    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    letter-spacing: 0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography & Utilities */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

h1 {
    color: var(--text-primary);
    /* Keep Hero H1 white mainly */
}

.gradient-text {
    background: var(--gradient-main);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 5s infinite linear;
}

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

    100% {
        background-position: 100% 50%;
    }
}

.subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.center {
    text-align: center;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-submit {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    border-radius: 2px;
    /* Sharper corners for formal look */
    font-weight: 400;
    cursor: pointer;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid transparent;
    transition: var(--transition);
    text-align: center;
    /* Ensure text is centered */
}

.btn-primary {
    background: var(--gradient-main);
    color: #000000;
    font-weight: 700;
    border: none;
}

/* ... */

/* Form Styling Update */
.form-row {
    display: flex;
    gap: 1.5rem;
    /* Increased gap */
    margin-bottom: 1.5rem;
}

.form-group.half {
    flex: 1;
    /* Better than width 50% */
    width: auto;
}

.form-group {
    margin-bottom: 1.5rem;
    /* Consistent spacing */
}

/* Ensure inputs in the row fill the flex item */
.form-group.half input {
    width: 100%;
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    width: 100%;
    text-align: center;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #000;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding: 1.25rem 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
}

.logo .highlight {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links li a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.nav-links li a:not(.btn-primary):hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(5, 5, 5, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* More text space */
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 550px;
    font-weight: 300;
}

.hero-image img {
    border-radius: 4px;
    /* Less rounded */
    box-shadow: 10px 10px 0px rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: #080808;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.service-card.featured {
    border-color: var(--primary-color);
    background: #0f0f0f;
}

/* ... */

.icon-box {
    width: 60px;
    height: 60px;
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    /* Centered horizontally */
    color: var(--primary-color);
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    flex-grow: 1;
    font-weight: 300;
}

.pricing-container {
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.original-price {
    display: block;
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    opacity: 0.7;
}

.price {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(180deg, #050505 0%, #000 100%);
    border-top: 1px solid var(--border-color);
}

.contact-info h2 {
    font-size: 3rem;
    color: var(--text-primary);
}

.company-details {
    background: transparent;
    padding: 2rem 0;
    border: none;
    border-left: 2px solid var(--primary-color);
    padding-left: 2rem;
}

.company-details h3 {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1.1rem;
}

.contact-form {
    background: var(--card-bg);
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 1rem;
    font-family: var(--font-body);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
    outline: none;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    border-radius: 2px;
}

/* Footer */
footer {
    padding: 3rem 0;
    background: #000;
    border-top: 1px solid #111;
    color: #444;
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up,
.fade-in-left,
.fade-in-right,
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.active-animate {
    opacity: 1;
    transform: translate(0);
}

/* Spacing Override for Services */
.services-grid {
    margin-top: 4rem;
    /* Additional spacing as requested */
}

/* Form Elements Refined */
.form-group select {
    width: 100%;
    padding: 1rem;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    appearance: none;
}

.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    background: rgba(255, 255, 255, 0.05);
}

.form-group select option {
    background: #111;
    color: var(--text-primary);
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000;
        border-bottom: 1px solid var(--border-gold);
        padding: 2rem;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
    }

    .menu-toggle {
        display: block;
    }
}