/* --- Global Styles & Variables --- */
:root {
    --primary-color: #D4AF37; /* Gold */
    --dark-bg: #121212;
    --light-bg: #1e1e1e;
    --text-color: #f0f0f0;
    --text-muted: #a0a0a0;
    --font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 6rem 0;
}

h1, h2, h3, h4 {
    color: #ffffff;
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; }
h3 { font-size: 1.5rem; }
p { color: var(--text-muted); }

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: #fff;
}

/* --- Buttons --- */
.btn {
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-bg);
}
.btn-primary:hover {
    background-color: #fff;
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--text-muted);
    color: var(--text-color);
}
.btn-secondary:hover {
    background-color: var(--text-muted);
    color: #fff;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}
.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
}

/* --- Header & Navigation --- */
header {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #2a2a2a;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}
.logo:hover {
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

/* --- Hero Section --- */
#hero {
    text-align: center;
    padding: 8rem 0;
}

#hero .subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1.5rem auto 2.5rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--light-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.service-card ul {
    list-style-type: '✓  ';
    padding-left: 1.2rem;
    color: var(--text-muted);
}
.service-card ul li {
    margin-bottom: 0.5rem;
}

/* --- Portfolio Section --- */
.section-subtitle {
    text-align: center;
    max-width: 500px;
    margin: -2.5rem auto 3rem;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.portfolio-item:hover img {
    transform: scale(1.05);
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: center;
}
.about-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
}
.about-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* --- Contact Section --- */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.form-group {
    display: flex;
    gap: 1rem;
}
.form-group input, .form-group select, textarea {
    width: 100%;
}
input, select, textarea {
    padding: 12px;
    background-color: var(--light-bg);
    border: 1px solid #333;
    border-radius: 5px;
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 1rem;
}
input::placeholder, textarea::placeholder {
    color: var(--text-muted);
}
form .btn {
    align-self: flex-start;
    cursor: pointer;
    border: none;
}

/* --- Footer --- */
footer {
    background-color: var(--light-bg);
    padding: 2rem 0;
    border-top: 1px solid #2a2a2a;
}
footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.social-links {
    display: flex;
    gap: 1.5rem;
}
.social-links a {
    font-size: 1.2rem;
    font-weight: bold;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 2rem; }
    
    nav ul {
        /* Basic responsive nav: Hide for now. JS needed for a hamburger menu */
        display: none;
    }
    
    #hero { padding: 4rem 0; }
    section { padding: 4rem 0; }

    .form-group {
        flex-direction: column;
    }
    
    footer .container {
        flex-direction: column;
        text-align: center;
    }
}