:root {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --accent-color: #d4af37;
    /* Gold */
    --secondary-bg: #1e1e1e;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Header */
header {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(18, 18, 18, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-color);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
#hero {
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background: radial-gradient(circle at center, #2a2a2a 0%, #0a0a0a 100%);
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

/* Sections General */
section {
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
}

/* About Section */
#about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #ccc;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.portfolio-item {
    background-color: var(--secondary-bg);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.video-placeholder {
    height: 200px;
    background-color: #2a2a2a;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    color: #888;
    position: relative;
    overflow: hidden;
}

.video-placeholder::before {
    content: '▶';
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.7);
    z-index: 10;
    transition: transform 0.3s ease, color 0.3s ease;
}

.portfolio-item:hover .video-placeholder::before {
    transform: scale(1.2);
    color: var(--accent-color);
}

.portfolio-item h3 {
    font-size: 1.5rem;
    color: #e0e0e0;
    margin-top: 10px;
}

.template-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--secondary-bg);
    margin: auto;
    padding: 20px;
    border: 1px solid var(--accent-color);
    width: 80%;
    max-width: 800px;
    text-align: center;
    position: relative;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    z-index: 1000;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
}

#modal-video-container {
    width: 100%;
    height: 400px;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

/* Contact Section */
.contact-form-container {
    max-width: 600px;
    margin: 30px auto 0;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--secondary-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

button[type="submit"] {
    width: 100%;
    background-color: transparent;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
}

button[type="submit"]:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

/* Footer */
footer {
    padding: 40px;
    text-align: center;
    background-color: #0a0a0a;
    font-size: 0.9rem;
    color: #666;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeIn 1.5s ease-out;
}

.portfolio-item {
    animation: fadeIn 0.8s ease-out backwards;
}

.portfolio-item:nth-child(1) {
    animation-delay: 0.2s;
}

.portfolio-item:nth-child(2) {
    animation-delay: 0.4s;
}

.portfolio-item:nth-child(3) {
    animation-delay: 0.6s;
}

.portfolio-item:nth-child(4) {
    animation-delay: 0.8s;
}

.portfolio-item:nth-child(5) {
    animation-delay: 1.0s;
}

.portfolio-item:nth-child(6) {
    animation-delay: 1.2s;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Simple mobile hide for now */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Custom File Upload */
.hidden-file-input {
    display: none;
}

.custom-file-upload {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--secondary-bg);
    padding: 12px;
    transition: all 0.3s ease;
    margin-bottom: 0 !important;
    /* Override default label margin */
}

.custom-file-upload:hover {
    border-color: var(--accent-color);
    background-color: rgba(212, 175, 55, 0.05);
}

.upload-icon {
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.custom-file-upload:hover .upload-icon {
    transform: translateY(-2px);
}

.file-list {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #ccc;
}

.file-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Payments Section */
#payments {
    background-color: var(--secondary-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.payment-options {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.payment-card {
    background-color: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.payment-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.payment-logo {
    height: 80px;
    width: 100%;
    max-width: 160px;
    margin-bottom: 20px;
    object-fit: contain;
}

.payment-card h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.payment-details {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
    width: 100%;
}

.highlight {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.payment-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: auto;
    transition: all 0.3s ease;
}

.venmo-btn {
    background-color: #008CFF;
    color: white;
    border: 1px solid #008CFF;
}

.venmo-btn:hover {
    background-color: #0077D9;
    border-color: #0077D9;
}

.payment-note {
    font-size: 0.8rem;
    color: #888;
    margin-top: 10px;
}