/* --- Global Styles & Variables --- */
:root {
    --gold-color: #D4AF37;
    --dark-color: #111111;
    --text-color: #e0e0e0;
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Roboto', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; /* Offset for fixed header */ }
body { font-family: var(--font-secondary); background-color: var(--dark-color); color: var(--text-color); line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { font-family: var(--font-primary); color: var(--gold-color); line-height: 1.2; margin-bottom: 1rem; }
h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; text-align: center; }
h3 { font-size: 1.8rem; }
p { margin-bottom: 1rem; }
a { color: var(--gold-color); text-decoration: none; }
img { max-width: 100%; height: auto; border-radius: 5px; }

/* --- Header & Navigation --- */
.header { 
    background: rgba(17, 17, 17, 0.8); 
    backdrop-filter: blur(10px); 
    padding: 1rem 0; 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 100; 
    border-bottom: 1px solid #222; 
}

.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-primary); font-size: 1.5rem; font-weight: 700; }
.nav-links { list-style: none; display: flex; align-items: center; }
.nav-links li { margin-left: 1.5rem; position: relative; }
.nav-links a { color: var(--text-color); transition: color 0.3s ease; padding: 0.5rem; }
.nav-links a:hover { color: var(--gold-color); }

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-text {
    text-align: center;
}

/* --- Buttons --- */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background-color: var(--gold-color);
    color: var(--dark-color);
    border: 1px solid var(--gold-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--gold-color);
}

/* Services Section */
.services {
    background: #1a1a1a;
    padding: 6rem 0;
}

.service-header {
   font-size: 1.17rem; 
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--dark-color);
    padding: 2rem;
    border: 1px solid #222;
    border-radius: 5px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-color);
}

.service-img {
    display: block;
    margin: auto;
    width: 50%;
}

.img-logo {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.img-partners {
    margin: auto;
    display: block;
}

/* Dropdown Menu */
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--dark-color); list-style: none; padding: 0.5rem 0; border-radius: 5px; border: 1px solid #222; min-width: 250px; }
.has-dropdown:hover .dropdown { display: block; }
.dropdown li { margin-left: 0; }
.dropdown a { display: block; padding: 0.5rem 1rem; white-space: nowrap; }

/* Hamburger Menu */
.hamburger { display: none; cursor: pointer; background: none; border: none; }
.hamburger span { display: block; width: 25px; height: 3px; margin: 5px 0; background: var(--text-color); transition: all 0.3s ease-in-out; }

/* --- Hero Section with Video --- */
.hero { 
    height: 100vh; 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center;
    background: linear-gradient(rgba(17, 17, 17, 0.7), rgba(17, 17, 17, 0.9)), url('https://images.unsplash.com/photo-1532012197267-da84d127e765?q=80&w=1887') center/cover no-repeat; 
}

.video-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: -1; }
/*#hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); }*/
.hero-content { z-index: 1; }
.hero p { font-size: 1.2rem; max-width: 600px; margin: 1rem auto 2rem; }

/* --- Content Sections --- */
.title-section { padding: 4rem 0; text-align: center; background: #1a1a1a; }
.title-section p { max-width: 700px; margin-left: auto; margin-right: auto; }
.content-section { padding: 5rem 0; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.content-section.layout-alternate .content-grid { grid-template-columns: 1fr 1fr; }
.layout-alternate .content-text { order: 2; } /* Reorder for alternating layout */

/* Video Container */
.video-container { position: relative; padding-bottom: 56.25%; /* 16:9 aspect ratio */ height: 0; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* --- Footer --- */
.footer { background-color: #000; text-align: center; padding: 2rem 0; border-top: 1px solid #222; }
.footer p { margin-bottom: 0.5rem; }

/* --- Modal (Pop-up) Styles --- */
.modal-overlay {
    display: none;      /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--dark-color);
    margin: auto;
    padding: 2rem 2.5rem;
    border: 1px solid var(--gold-color);
    border-radius: 5px;
    width: 90%;
    max-width: 700px;
    position: relative;
    max-height: 80vh; /* Make it scrollable on long content */
    overflow-y: auto;
}

.close-modal {
    color: var(--text-color);
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--gold-color);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .content-grid, .content-section.layout-alternate .content-grid { grid-template-columns: 1fr; }
    .layout-alternate .content-text { order: 0; }
    .content-text { text-align: center; }
    .content-media { margin-top: 2rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .nav { position: fixed; top: 70px; right: -100%; width: 100%; height: calc(100vh - 70px); background: #151515; transition: 0.5s; overflow-y: auto; }
    .nav.active { right: 0; }
    .nav-links { flex-direction: column; align-items: flex-start; padding: 1rem; }
    .nav-links li { margin: 1rem 0; width: 100%; }
    .has-dropdown:hover .dropdown { display: none; } /* Disable hover on mobile */
    .dropdown { display: none; position: static; background: none; border: none; padding-left: 1rem; min-width: auto; }
    .dropdown.active { display: block; }
    .has-dropdown a { display: flex; justify-content: space-between; align-items: center; width: 100%; }
    .has-dropdown a::after { content: '+'; font-size: 1.5rem; } /* Submenu indicator */
    .has-dropdown.active > a::after { content: '−'; }

    .hamburger { display: block; }
}