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

body {
    font-family: "Poppins", sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    z-index: 1000;
}

nav .navbar-brand {
    font-family: "Playfair Display", serif;
    font-size: 1.6rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

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

nav ul li {
    position: relative; /* Needed for dropdown positioning */
}

nav ul li a {
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    color: #fff;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: gray;
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; /* right below parent */
    left: 0;
    background: #000;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    min-width: 180px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 6px;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    color: gray;
    transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-menu li a:hover {
    background: #000;
    color: white;
}

/* Show dropdown on hover (desktop) */
nav ul li.dropdown:hover .dropdown-menu {
    display: block;
}

/* Hamburger Button (hidden by default) */
.navbar-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .navbar-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000;
        padding: 1rem 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        text-align: center;
        margin: 0.5rem 0;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: transparent;
        padding: 0;
    }

    .dropdown-menu li a {
        padding: 0.6rem 1rem;
    }

    nav ul li.dropdown .dropdown-menu {
        display: none;
    }

    nav ul li.dropdown.active .dropdown-menu {
        display: block;
    }
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  padding: 0 5%;
  gap: 2rem;
}

.hero-text h1 {
  font-family: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05px;
  color: #b58a4b;
  -webkit-text-stroke: 0;
}

.hero-text h1 em {
  font-style: normal;
  color: #ffffff;
  -webkit-text-stroke: 0;
}

.hero-text {
  position: relative; /* container for background */
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;  /* horizontally center text and background */
  justify-content: center; /* vertically center text and background */
  text-align: center;
  z-index: 1; /* text above background */
}

/* Background lens image directly behind text */
.hero-text-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;       /* fixed width for the lens image */
  height: 900px;      /* fixed height to ensure visibility */
  background: url("images/lenss.png") no-repeat center;
  background-size: contain; /* keeps lens fully visible */
  opacity: 0.25;      /* very faded behind text */
  transform: translate(-50%, -50%); /* center within .hero-text */
  z-index: -1;        /* behind text */
  pointer-events: none; /* prevents accidental clicks */
}

.hero-text p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 1;
  color: #fff;
}

/* Right images grid */
.hero-images {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 150px;
  grid-gap: 1rem;
  position: relative;
}

.btn {
  background-color: #fff; 
  color: black;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.5px;
}

.btn:hover {
  background-color: #444; /* darker blue */
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn:active {
  background-color: #444; /* even darker for click */
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.hero-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideIn 0.8s forwards;
}

/* Big + Medium custom spans */
.hero-images img:nth-child(1) { grid-row: span 2; }
.hero-images img:nth-child(2) { grid-row: span 1; }
.hero-images img:nth-child(3) { grid-row: span 2; }
.hero-images img:nth-child(4) { grid-row: span 2; align-self: start; }
.hero-images img:nth-child(5) { grid-row: span 1.5; align-self: start; }

/* Stagger animation delay */
.hero-images img:nth-child(1) { animation-delay: 0.3s; transform: translateY(-20px); }
.hero-images img:nth-child(2) { animation-delay: 0.5s; transform: translateY(20px); }
.hero-images img:nth-child(3) { animation-delay: 0.7s; transform: translateY(10px); }
.hero-images img:nth-child(4) { animation-delay: 0.9s; transform: translateY(-15px); }
.hero-images img:nth-child(5) { animation-delay: 0.9s; transform: translateY(-15px); }

.hero-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.7);
}

/* Keyframes */
@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@media(max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-images img{
    grid-row: auto;
    grid-column: auto;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
}

/* Services Section */
.services-section {
  text-align: center;
  padding: 4rem 2rem;
  background: #000;
  color: #fff;
}

.services-section h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #fff;
}

.services-section p {
  margin-bottom: 2rem;
  color: #aaa;
  font-size: 1.2rem;
}

.services-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.service-card {
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  width: 220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card i {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin: 0;
  color: #fff;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

/* Our Work Section */
.our-work {
  text-align: center;
  padding: 5px;
  background: #000;
}

section.our-work h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #fff !important;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px;
  gap: 1rem;
  margin: 0 auto 2rem;
  max-width: 1100px;
}

.work-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideIn 0.8s forwards;
}

.work-grid img:nth-child(1) { grid-row: span 2; }
.work-grid img:nth-child(2) { grid-column: span 2; }
.work-grid img:nth-child(3) { grid-row: span 2; }
.work-grid img:nth-child(4) { grid-column: span 1; grid-row: span 1; }
.work-grid img:nth-child(5) { grid-row: span 2; }
.work-grid img:nth-child(6) { grid-column: span 2; }
.work-grid img:nth-child(7) { grid-row: span 1; }

.work-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.7);
}

/* Global Button Styling */
.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  background: #fff;
  color: black;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background: #444;
  transform: translateY(-3px);
}

/* Responsive */
@media(max-width: 900px) {
  .work-grid {
    grid-template-columns: 1fr 1fr;
  }
  .work-title {
    font-size: 2rem;
  }
}

/* Logo Casserole Section */
.logo-casserole {
  overflow: hidden;
  background: #000; 
  position: relative;
  width: 100%;
}

.logo-track {
  display: flex;
  gap: 2rem;
  width: calc(200%);
  transform: translate(100%);
  animation: scroll 30s linear infinite;
}

.logo-casserole img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.logo-casserole img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

@keyframes scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-50%); }
}

/* About Section */
.about-section {
  background: #000;
  padding: 60px 40px;
  max-width: 1000px;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.5);
  transition: box-shadow 0.3s ease;
}

.about-section:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18), 0 6px 12px rgba(0, 0, 0, 0.12);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.left {
  flex: 1;
  min-width: 280px;
}

.right {
  flex: 2;
  min-width: 280px;
  color: #888;
}

h3 {
  text-transform: uppercase;
  font-size: 16px;
  color: #fff;
  margin-bottom: 5px;
}

h2 {
  margin: 0;
  font-size: 28px;
  color: #666;
}

p {
  font-size: 15px;
  color: #fff;
  line-height: 1.7;
}

.about-content .left .btn {
  display: inline-block;
  padding: 12px 28px;
  background: #fff;
  color: black;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.about-content .left .btn:hover {
  background: #444;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }

  .left, .right {
    flex: 100%;
  }

  h2 {
    font-size: 22px;
  }

  p {
    font-size: 14px;
  }

  .btn {
    width: fit-content;
  }
}

/* Footer */
.footer {
    background-color: #000;
    padding: 20px 0;
    border-top: 1px solid #111;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content .logo {
  font-family: "Playfair Display", serif;
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;     /* centers it horizontally */
  margin-top: 10px;       /* optional spacing */
}

.footer-content .logo a {
  color: inherit;         /* use same color as parent */
  text-decoration: none;  /* remove underline */
  display: inline-block;  /* helps with centering */
}

.footer-nav, .social-icons, .footer-bottom-nav {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav a, .footer-bottom-nav a {
    text-decoration: none;
    color: #fff;
}

.footer-nav a:hover, .footer-bottom-nav a:hover {
    color: #444;
}

.social-icons {
  list-style: none;
  display: flex;
  gap: 15px;
  padding: 0;
  margin-top: 20px;
}

.social-icons li a {
  color: #fff;
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-icons li a:hover {
  color: #444;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 20px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    font-size: 0.9em;
    color: #fff;
}

.footer-bottom-nav {
    gap: 15px;
}

@media (max-width: 768px) {
      .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav, .social-icons, .footer-bottom-nav {
        flex-direction: column;
        gap: 8px;
    }

    .footer-bottom-nav {
        margin-top: 15px;
    }
}

/* Contact Section */
.contact-section {
  background-color: #000;
  text-align: center;
  padding: 60px 20px;
  font-family: 'Georgia', serif;
  color: #fff;
}

.contact-section p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #aaa;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 45px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

.contact-link span {
  flex: 3;
  height: 1px;
  background-color: #777;
  display: inline-block;
  min-width: 100px;
}

.contact-link:hover {
  color: #666;
}

.contact-link:hover span {
  background-color: #666;
}

@media (max-width: 768px) {
    /* Navbar adjustments for horizontal space */
    nav {
        padding: 0.5rem 2%; /* reduce side padding */
    }

    nav ul {
        width: 100%; /* ensure menu fits screen width */
        left: 0;
    }

    nav ul li a {
        font-size: 0.9rem; /* smaller text */
        padding: 0.4rem 1rem; /* reduce horizontal padding */
    }

    .navbar-brand {
        font-size: 1.2rem; /* smaller brand text */
    }

    .navbar-toggle {
        font-size: 1.8rem; /* smaller hamburger */
    }

    /* Contact Us section adjustments for horizontal space */
    .contact-section {
        padding: 2rem 1rem; /* reduce side padding */
        text-align: center; /* center content */
    }

    .contact-link {
        font-size: 1.8rem; /* smaller text for button */
        gap: 8px; /* reduce space between text and spans */
    }

    .contact-link span {
        min-width: 60px; /* reduce horizontal line width */
    }
}

/* Fade-in for the body */
body {
  animation: fadeInBody 1s ease-in forwards;
  opacity: 0;
}
@keyframes fadeInBody {
  to { opacity: 1; }
}

/* Navbar slide-down animation */
nav {
  animation: slideDown 1s ease forwards;
  transform: translateY(-100%);
  opacity: 0;
}
@keyframes slideDown {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Smooth section reveals on scroll */
section, .services-section, .our-work, .about-section, .contact-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible, 
.services-section.visible, 
.our-work.visible, 
.about-section.visible, 
.contact-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating subtle animation for hero text */
.hero-text h1 {
  animation: floatText 4s ease-in-out infinite;
}
@keyframes floatText {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Button pulse animation */
.btn {
  position: relative;
  overflow: hidden;
}
.btn:hover {
  animation: pulse 0.8s ease-in-out;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Floating logo animation (optional for footer or hero) */
.footer-content .logo {
  animation: floatLogo 6s ease-in-out infinite;
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}