html {
  scroll-behavior: smooth;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: #fff;
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* --- Header & Navigation --- */
.top-bar {
    background-color: #000;
    padding: 10px 20px;
    border-bottom: 1px solid #013220;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.brand-name {
    font-family: 'DM Serif Display', serif;
    color: #d4af37;
    font-size: 1.5rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.brand-name:hover {
    color: #fff;
    text-shadow: 0 0 10px #e6c246, 0 0 20px #e6c246, 0 0 30px #e6c246;
}

.nav-links-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    color: #fff;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #d4af37;
}

.hamburger-menu {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #d4af37;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 100px 20px 60px;
    background: url("assets/background.webp") no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.6);
    z-index: -1;
}

.hero .logo {
    max-width: 160px;
    margin: 0 auto 20px;
}

.hero h1 {
    font-size: 2.4rem;
    font-weight: 300;
    color: #d4af37;
    letter-spacing: 2px;
    max-width: 90%;
    margin: 0 auto;
    line-height: 1.4;
}

.hero p {
  font-size: 1.2rem;
  font-weight: 300;
  color: #d4af37;
  letter-spacing: 1px;
  max-width: 90%;
  margin: 10px auto 0;
  line-height: 1.4;
}

/* --- Services Section --- */
.services {
    padding: 60px 20px;
    background-color: #0a0a0a;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-family: 'DM Serif Display', serif;
    font-weight: normal;
    letter-spacing: 1px;
    color: #d4af37;
}

.service-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-item {
    background-color: #0a0a0a;
    border: 1px solid #013220;
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.service-item:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.service-item h3 {
    margin-top: 15px;
    font-size: 1.2rem;
    color: #d4af37;
    transition: color 0.3s;
}

.service-item p {
    margin-top: 10px;
    font-size: 1rem;
    color: #ccc;
    transition: color 0.3s;
}

.service-item:hover h3 {
    color: #fff;
}

.service-item:hover p {
    color: #d4af37;
}

/* --- About Section --- */
.about {
    padding: 80px 20px;
    background: #0a0a0a url('assets/aboutus.webp') no-repeat center center;
    background-size: cover;
    text-align: center;
    color: #fff;
    position: relative;
    border-top: 3px solid #013220;
    border-bottom: 3px solid #013220;
    background-attachment: fixed;
}

.about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.5);
    z-index: -1;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-family: 'DM Serif Display', serif;
    font-weight: normal;
    letter-spacing: 1px;
    color: #d4af37;
    background-color: rgba(0, 0, 0, 0.6);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 5px;
}

.about h3 {
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 10px;
    font-family: 'DM Serif Display', serif;
    font-weight: normal;
    letter-spacing: 1px;
    color: #d4af37; /* The normal color is yellow */
    background-color: rgba(0, 0, 0, 0.4); /* Slightly transparent black */
    display: inline-block;
    padding: 5px 15px;
    border-radius: 5px;
    transition: color 0.3s ease;
}

/* Updated CSS for the paragraph to match the h3 background */
.about p {
    max-width: 900px;
    margin: 30px auto 0;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.7;
    color: #e0e0e0;
    transition: color 0.3s ease;
    background-color: rgba(0, 0, 0, 0.4); /* Slightly transparent black */
    padding: 15px;
    border-radius: 5px;
}

/* Hover Effect for the entire content block */
.about-content:hover h3 {
    color: #fff; /* H3 becomes white on hover */
}
.about-content:hover p {
    color: #d4af37; /* P becomes yellow on hover */
}

.video-container {
    position: relative;
    padding-bottom: 45%;
    height: 0;
    overflow: hidden;
    margin: 0 auto;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

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

/* --- Contact Section --- */
.contact-section {
    padding: 60px 20px;
    background-color: #0a0a0a;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'DM Serif Display', serif;
    font-weight: normal;
    letter-spacing: 1px;
    color: #d4af37;
}

.contact-section p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #ccc;
}

.contact-section p:hover {
    color: #d4af37;
}

.contact-section form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
textarea,
button {
    padding: 12px;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
}

input,
textarea {
    background-color: #0a0a0a;
    color: #fff;
    border: 1px solid #013220;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #d4af37;
}

button {
    background-color: #d4af37;
    color: #000;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    padding: 15px 30px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
}

button:hover {
    background-color: #014d2e;
    color: #fff;
}

.phone-group {
    display: flex;
    gap: 10px;
}

#form-status {
    display: block;
    margin-top: 15px;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    text-align: center;
    transition: all 0.3s ease;
}

#form-status.success {
    color: #32cd32;
}

#form-status.error {
    color: #ff4d4d;
}

/* --- Footer --- */
footer {
    padding: 20px;
    background-color: #1c1c1c;
    text-align: center;
    color: #fff;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #013220;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: #d4af37;
    transition: fill 0.3s ease;
}

.social-icon:hover {
    background-color: #034b2f;
    transform: scale(1.1);
}

.social-icon:hover svg {
    fill: #fff;
}

/* --- Keyframe Animations --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- Animation on Scroll & Initial State --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Specific animations for headings */
h1.animate-on-scroll.is-visible {
    animation: fadeIn 1.5s forwards;
}

h2.animate-on-scroll.is-visible {
    animation: slideInLeft 1.2s forwards;
}

h3.animate-on-scroll.is-visible {
    animation: slideInLeft 1s forwards;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .hamburger-menu {
        display: block;
    }
    .nav-links-container {
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        width: 250px;
        background-color: #000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        padding: 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
    .nav-links-container.is-open {
        transform: translateX(0);
    }
    .nav-links {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 20px;
    }
    .nav-links li a {
        font-size: 1.2rem;
    }

    /* Hero */
    .hero {
        padding: 80px 15px 50px;
        background-attachment: scroll;
        background-color: #0a0a0a;
    }
    .hero::before {
        background-color: transparent;
    }
    .hero h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    .hero .logo {
        max-width: 120px;
    }

    /* Services */
    .services h2 {
        font-size: 2rem;
    }
    .service-item h3 {
        font-size: 1rem;
    }

    /* About */
    .about {
        background-attachment: scroll;
    }
    .about h2 {
        font-size: 2rem;
    }
    .about p {
        font-size: 1rem;
    }
    .video-container {
        padding-bottom: 56.25%;
        max-width: 100%;
    }

    /* Contact */
    .contact-section h2 {
        font-size: 2rem;
    }
    .contact-section p {
        font-size: 1rem;
    }
    .phone-group {
        flex-direction: column;
        gap: 15px;
    }
    input,
    textarea,
    button {
        font-size: 1rem;
        padding: 14px;
    }
    #form-status {
        font-size: 0.95rem;
    }
}