:root {
    --primary-color: #000010;  /* Dark blue-black */
    --secondary-color: #FFD700;  /* Gold */
    --dark-color: #0d0d1a;  /* Very dark background */
    --light-color: #1a1a2e;  /* Dark grayish section background */
    --accent-color: #FFD700;  /* Accent Gold */
    --text-color: #ffffff;  /* Main text */
    --text-light: #cccccc;  /* Lighter text */
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--accent-color);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--text-color);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--text-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

header {
    background-color: var(--dark-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

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

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--text-color);
}

nav ul li a:hover {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--accent-color);
    cursor: pointer;
}

/* HOME PAGE HERO (with video) */
.hero {
    position: relative;
    overflow: hidden;
    padding: 180px 0 100px;
    text-align: center;
    background-color: var(--primary-color);
}

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

/* dark overlay over video */
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 16, 0.6);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--text-light);
}

/* =======================================
   SERVICE PAGES HERO STYLES (with images)
   ======================================= */

.hero-bg {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-bg .hero-content {
  position: relative;
  z-index: 2;
}

.hero-bg h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero-bg p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* INDIVIDUAL PAGE BACKGROUNDS */

.hero-bg.professional-hero {
  background: url('/images/professional-headshot-hero.jpg') center center / cover no-repeat;
}

.hero-bg.food-hero {
  background: url('/images/food-photography-hero.jpg') center center / cover no-repeat;
}

.hero-bg.wedding-hero {
  background: url('/images/wedding-photography-hero.jpg') center center / cover no-repeat;
}

.hero-bg.corporate-hero {
  background: url('/images/corporate-event-hero.jpg') center center / cover no-repeat;
}

.hero-bg.model-hero {
  background: url('/images/model-portfolio-hero.jpg') center center / cover no-repeat;
}

.hero-bg.interior-hero {
  background: url('/images/interior-photography-hero.jpg') center center / cover no-repeat;
}

.services {
    padding: 100px 0;
    background-color: var(--dark-color);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

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

.service-card {
    background-color: #111122;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-img {
    height: 250px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

.featured {
    padding: 100px 0;
    background-color: var(--dark-color);
}

.featured-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.featured-text {
    flex: 1;
}

.featured-img {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

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

.testimonials {
    padding: 100px 0;
    background-color: var(--primary-color);
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: #111122;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.05);
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-light);
}

.testimonial-card h4 {
    color: var(--accent-color);
}

.cta {
    padding: 100px 0;
    background: linear-gradient(rgba(13, 13, 26, 0.9), rgba(13, 13, 26, 0.9)), url('https://images.unsplash.com/photo-1521791136064-7986c2920216');
    background-size: cover;
    background-position: center;
    color: var(--text-color);
    text-align: center;
}

.cta h2 {
    color: var(--accent-color);
    margin-bottom: 30px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

footer {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--accent-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-col p {
    margin-bottom: 20px;
    color: #cccccc;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #cccccc;
    transition: color 0.3s;
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-color);
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cccccc;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .featured-content {
        flex-direction: column;
    }

    .featured-text, .featured-img {
        flex: none;
        width: 100%;
    }

    .featured-img {
        order: -1;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero {
        padding: 150px 0 80px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: left 0.3s;
    }

    nav ul.active {
        left: 0;
    }

    nav ul li {
        margin: 15px 0;
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }

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

    .btn {
        padding: 10px 20px;
    }

    .services, .featured, .testimonials, .cta {
        padding: 70px 0;
    }
}

.theme-switch-wrapper {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.theme-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  background-color: #444;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: background-color 0.4s;
}

.slider .icon {
  font-size: 16px;
  transition: opacity 0.3s ease;
}

.theme-switch input:checked + .slider {
  background-color: #FFD700; /* Gold when light mode is active */
}

.theme-switch input:checked + .slider .sun {
  opacity: 1;
}

.theme-switch input:checked + .slider .moon {
  opacity: 0.2;
}

.theme-switch input:not(:checked) + .slider .sun {
  opacity: 0.2;
}

.theme-switch input:not(:checked) + .slider .moon {
  opacity: 1;
}
@media (max-width: 768px) {
  .theme-switch-wrapper {
    top: auto;
    bottom: 20px;
    right: auto;
    left: 20px;
  }
}

/* Hide mobile menu by default */
@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    gap: 20px;
    transition: left 0.3s ease;
    z-index: 999;
    display: flex;
  }

  nav ul.active {
    left: 0;
  }

  .mobile-menu-btn {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
  }

  nav {
    display: contents;
  }
}

/* Simple dropdown style */
#mainMenu li ul.dropdown {
  display: none;
  position: absolute;
  background-color: #222;
  padding: 0;
  margin: 0;
  list-style: none;
}

#mainMenu li:hover ul.dropdown {
  display: block;
}

#mainMenu li ul.dropdown li {
  width: 200px;
}

#mainMenu li ul.dropdown li a {
  display: block;
  color: #fff;
  padding: 10px;
  text-decoration: none;
}

#mainMenu li ul.dropdown li a:hover {
  background-color: #444;
}
