/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* Body */
body {
    line-height: 1.6;
    color: #2B2B2B;
    background-color: #f9f9f9;
}

.hero-content h2,
.hero-content p,
.hero-content a {
    font-family: 'Merriweather', serif;
}

.section h2 {
    font-family: 'Merriweather', serif;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navbar */
header {
    background: #2B2B2B;
    color: #FFFFFF;
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Merriweather', serif;
    text-decoration: none;
    color: #FFFFFF;
}

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

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero */
.hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* Background video styling */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(60%); /* Darken for text readability */
}

/* Hero content stays on top */
.hero-content {
    position: relative;
    color: #FFFFFF;
    z-index: 1;
    animation: fadeIn 2s ease-in-out forwards;
    opacity: 0;
}

.hero-logo {
    max-width: 200px;
    margin-bottom: 1.5rem;
}

/* Fade-in animation */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: #F5F5F5;
}

.btn-primary {
    background: #2B2B2B;
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #A3A3A3;
    color: #2B2B2B;
}

/* Sections */
.section {
    padding: 4rem 0;
    text-align: center;
    background: #F5F5F5;
    color: #2B2B2B;
}

.bg-light {
    background: #FFFFFF;
}

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

.service-box {
    background: #FFFFFF;
    color: #2B2B2B;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-box h3 {
    margin-bottom: 1rem;
}

.btn-contact {
    display: inline-block;
    background-color: #2B2B2B; /* Charcoal */
    color: #FFFFFF;
    padding: 0.8rem 2rem;
    margin-top: 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background-color: #A3A3A3; /* Fog accent */
    color: #2B2B2B;
}

.social-icon {
  font-size: 1.2rem;
  color: #fff;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #E1306C; /* Instagram pinkish tone */
}

/* Footer */
footer {
    background: #2B2B2B;
    color: #FFFFFF;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

.contact-form {
  max-width: 600px;
  margin: 2rem auto; /* Centers it horizontally */
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #5e9cff;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #3d6f3f;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form .btn-primary:hover {
  background-color: #2f5631;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        align-items: flex-start;
        position: relative;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
        z-index: 9999;
        align-items: center; /* centers items horizontally */
        text-align: center;
        border-radius: 0 0 12px 12px;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .hero {
        height: auto;
        padding: 3rem 1rem;
        z-index: 1;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-logo {
        max-width: 150px;
    }

    .btn-primary,
    .btn-contact {
        width: 100%;
        padding: 0.75rem;
        font-size: 1rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 2rem 1rem;
    }
}

/* Hamburger styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background-color: #fff;
  border-radius: 5px;
}

/* Show hamburger on mobile */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    margin-left: auto;
  }
    
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #333;
    position: absolute;
    top: 100%;
    transition: all 0.3s ease-in-out;
    right: 0;
    width: 100%;
    border-radius: 0 0 12px 12px;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}
