/* Reset and Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: #f9f9f7;
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  line-height: 0.9;
  margin-bottom: 1rem;
  font-weight: 400;
}

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

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

/* Typography */
.text-huge {
  font-size: clamp(4rem, 10vw, 12rem);
  letter-spacing: 0.02em;
}

.text-lg {
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.text-md {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

/* Layout */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 120px 0;
}

/* Navigation */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(249, 249, 247, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 2px solid #1a1a1a;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.brand-logo img {
  height: 60px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #e63946;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #1a1a1a;
  color: #f9f9f7;
  list-style: none;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  padding: 1rem 0;
  border-top: 4px solid #e63946;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1.5rem;
  font-size: 1.2rem;
}

.dropdown-menu li a::after {
  display: none;
}

.dropdown-menu li a:hover {
  color: #e63946;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #1a1a1a;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
  position: relative;
  background-color: #1a1a1a;
  color: #f9f9f7;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  z-index: 0;
  transform: scale(1.05);
  animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-title {
  margin-bottom: 0;
  color: #f9f9f7;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  max-width: 600px;
  margin-top: 1rem;
  font-weight: 300;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: #4a4a4a;
}

.about-image {
  position: relative;
}

.about-image img {
  border: 2px solid #1a1a1a;
  box-shadow: 20px 20px 0px #e63946;
}

/* Work Section */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.work-card {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 4/3;
  border: 2px solid #1a1a1a;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-card:hover img {
  transform: scale(1.05);
}

.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.work-card h3 {
  color: #f9f9f7;
  margin: 0;
  font-size: 3rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

.work-card:hover h3 {
  transform: translateY(0);
  opacity: 1;
}

/* Contact Section */
.contact-section {
  background-color: #1a1a1a;
  color: #f9f9f7;
  border-top: 2px solid #e63946;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  color: #e63946;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.contact-info p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.contact-info a {
  color: #f9f9f7;
}

.contact-info a:hover {
  color: #e63946;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: 2px solid #4a4a4a;
  color: #f9f9f7;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e63946;
}

.btn {
  display: inline-block;
  padding: 1rem 3rem;
  background-color: #e63946;
  color: #f9f9f7;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background-color: #c1121f;
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  background-color: #0a0a0a;
  color: #888;
  padding: 4rem 2rem 2rem;
  border-top: 1px solid #2a2a2a;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand h3 {
  color: #f9f9f7;
  font-size: 2.5rem;
}

.footer-contact h4 {
  color: #f9f9f7;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #2a2a2a;
  font-size: 0.9rem;
}

/* Gallery Pages */
.page-header {
  padding: 180px 0 80px;
  background-color: #1a1a1a;
  color: #f9f9f7;
  text-align: center;
  border-bottom: 4px solid #e63946;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  padding: 4rem 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 2px solid #1a1a1a;
  cursor: pointer;
}

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

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .about-grid, .contact-grid, .footer-content {
    grid-template-columns: 1fr;
  }
  
  .work-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: #f9f9f7;
    flex-direction: column;
    justify-content: center;
    transition: left 0.3s ease;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    text-align: center;
    display: none;
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
  }
}