/* Global Reset & Box Sizing */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans/open-sans-400.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans/open-sans-700.ttf') format('truetype');
    font-display: swap;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

:root {
    --bg-color: #1a1a1a;
    --card-bg: #262626;
    --text-color: #ffffff;
    --text-muted: #b0b0b0;
    --primary-gold: #c5a059;
    --primary-gold-hover: #d4af6a;
    --font-main: 'Open Sans', Helvetica, Arial, sans-serif;
    --nav-height: 70px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4 {
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-gold);
    margin: 10px auto 0;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.btn:hover {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #000;
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.6);
    transform: translateY(-3px);
}

.btn-primary {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #000;
}

.btn-primary:hover {
    background-color: #fff;
    border-color: #fff;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.btn-fit {
    width: 100%;
    text-align: center;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--text-color);
}

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

nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

nav a.btn {
    padding: 8px 20px;
}

nav a:hover, nav a.active {
    color: var(--primary-gold);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Nav */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        margin-left: auto; /* Push toggle to the right */
        z-index: 1001; /* Ensure it's above other elements */
    }
    nav ul {
        position: fixed;
        top: var(--nav-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: flex-start; /* Start from top instead of center */
        align-items: center;
        padding-top: 15vh; /* Position items in the upper third */
        transition: right 0.3s ease;
    }
    nav ul.active {
        right: 0;
    }
}

/* Wrapper for Page Content */
.page-wrapper {
    margin-top: var(--nav-height);
    min-height: calc(100vh - var(--nav-height) - 100px); /* rough footer height */
}

/* Banner / Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: -70px; /* Counteract page wrapper margin for full screen */
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: -1;
}

@media (max-width: 768px) {
    .hero-bg-img {
        object-position: 20% top; /* Adjust horizontal position if necessary for mobile */
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26,26,26,0.3), var(--bg-color));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: #ddd;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Sections */
.section {
    padding: 80px 5%;
}

.section-alt {
    background-color: var(--card-bg);
}

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

.center-text {
    text-align: center;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.grid-image {
    width: 100%;
    aspect-ratio: 1.75 / 1;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.grid-image:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

/* Spotlight / Cards */
.card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
}

.card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.card:hover .card-image img {
    filter: grayscale(0%);
}

.card-content {
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content p {
    flex-grow: 1;
}

/* Features List */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 0;
}

.features-list li {
    background: var(--bg-color);
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.features-list li:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.features-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: var(--primary-gold);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.features-list li:hover::before {
    opacity: 1;
}

.features-list h4 {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.features-list h4 i {
    font-size: 1.4rem;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.features-list li:hover h4 i {
    color: var(--primary-gold);
}

.features-list p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.feature-img {
    margin-top: auto;
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.features-list li:hover .feature-img {
    filter: grayscale(0%);
}

/* Stats Table */
.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.stats-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: var(--text-color);
}

.stats-table tr:last-child td {
    border-bottom: none;
}

.stats-table td:first-child {
    font-weight: bold;
    color: var(--primary-gold);
    width: 40%;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.stat-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.stat-card p {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 0;
}

.stat-card.full-width {
    grid-column: 1 / -1;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--bg-color); /* Slightly different from section-alt */
    padding: 30px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-gold);
    position: relative;
    font-style: italic;
}

.testimonial-card p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: bold;
    color: var(--text-color);
    font-style: normal;
    text-align: right;
    font-size: 0.9rem;
}

.testimonial-card i {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    color: rgba(197, 160, 89, 0.1); /* Faint gold quote icon */
    z-index: 0;
}

/* Footer */
footer {
    background-color: #000;
    padding: 50px 5%;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.social-icons {
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-block;
    margin: 0 10px;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #000;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    margin: 0 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    h3 {
        font-size: 1.3rem;
    }
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    .card-image {
        height: 250px;
    }
    .card-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    h1, h2, h3, h4 {
        letter-spacing: 1px; /* Reduce spacing on very small screens */
    }
    .hero-content h1 {
        font-size: 2rem;
    }
}

/* Scroll Down Arrow */
.scroll-down-arrow {
    display: block;
    margin-top: 40px;
    color: var(--text-color);
    font-size: 2rem;
    animation: bounce 2s infinite;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-down-arrow:hover {
    color: var(--primary-gold);
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Contact Modal */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 5px;
    border: 1px solid var(--primary-gold);
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.contact-modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-gold);
}

/* Contact Options (Icons) */
.contact-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 10px;
}

.contact-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #333;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-icon i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-gold);
    transition: color 0.3s ease;
}

.contact-icon span {
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    display: block;
}

.modal-content .modal-branding {
    text-align: center;
    margin-bottom: 30px;
}

.modal-content .modal-branding h2 {
    margin-bottom: 5px;
    font-size: 2.2rem;
}

.modal-content .modal-branding p {
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 0;
}

.contact-info-text {
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info-item {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
}

.contact-info-item:hover {
    color: var(--primary-gold);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.contact-info-item i {
    color: var(--primary-gold);
    width: 25px;
    text-align: center;
    margin-right: 10px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.contact-info-item:hover i {
    transform: scale(1.2);
}

.contact-icon:hover {
    background-color: var(--primary-gold);
    color: #000;
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

.contact-icon:hover i {
    color: #000;
}

/* Responsive Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    background-color: #000;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Video Link Facade */
.video-link {
    display: block;
    cursor: pointer;
    text-decoration: none;
}

.video-link img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.8);
}

.video-link:hover img {
    transform: scale(1.05);
    filter: brightness(1);
}

.play-button {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto; /* Most robust centering for iOS */
    width: 60px;
    height: 60px;
    background-color: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-gold);
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.play-button i {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin-left: 4px; /* Visual adjustment */
}

.video-link:hover .play-button {
    background-color: var(--primary-gold);
    border-color: #fff;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.4);
}

.video-link:hover .play-button i {
    color: #000;
}