:root {
  --red: #E2001A;
  --black: #000000;
  --white: #FFFFFF;
  --gray: #222222;
  --light-gray: #f4f4f4;
  --font: 'Google Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.mb-40 {
  margin-bottom: 40px;
}

.mt-40 {
  margin-top: 40px;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 48px;
  z-index: 100;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.9);
  padding: 16px 48px;
  backdrop-filter: blur(10px);
}

.logo {
  position: relative;
  z-index: 101;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  display: flex;
  align-items: center;
}

.site-logo {
  height: 30px;
  width: auto;
  display: block;
  transition: all 0.3s ease;
}

.header.scrolled .site-logo {
  /* Uncomment to invert white logo to black when scrolling */
  /* filter: invert(1); */
}

.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
  z-index: 101;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white);
}

.current-lang {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  transition: background 0.3s;
}

.current-lang:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 12px;
  background: var(--white);
  color: var(--black);
  border-radius: 8px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.lang-switcher.active .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown a {
  display: block;
  padding: 10px 20px;
  transition: background 0.2s;
}

.lang-dropdown a:hover {
  background: var(--light-gray);
}

/* Menu Button */
.menu-btn {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.menu-btn span:nth-child(1) {
  width: 100%;
}

.menu-btn span:nth-child(2) {
  width: 80%;
}

.menu-btn span:nth-child(3) {
  width: 60%;
}

.menu-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  width: 100%;
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  width: 100%;
}

/* Fullscreen Menu */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--black);
  color: var(--white);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

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

.nav-links {
  list-style: none;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -2px;
}

.nav-links li {
  margin-bottom: 20px;
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.4s;
}

.fullscreen-menu.active .nav-links li {
  transform: translateY(0);
  opacity: 1;
}

.fullscreen-menu.active .nav-links li:nth-child(1) {
  transition-delay: 0.2s;
}

.fullscreen-menu.active .nav-links li:nth-child(2) {
  transition-delay: 0.3s;
}

.fullscreen-menu.active .nav-links li:nth-child(3) {
  transition-delay: 0.4s;
}

.fullscreen-menu.active .nav-links li:nth-child(4) {
  transition-delay: 0.5s;
}

.nav-item {
  position: relative;
  display: inline-block;
  transition: color 0.3s;
}

.nav-item:hover {
  color: var(--red);
}

.menu-contact {
  margin-top: 60px;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.4s;
  transition-delay: 0.6s;
}

.fullscreen-menu.active .menu-contact {
  opacity: 1;
}

/* Hero Split Screen */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  color: var(--white);
  overflow: hidden;
}

.split {
  width: 50%;
  height: 100%;
}

.split-left {
  background: var(--red);
}

.split-right {
  background: var(--black);
}

.hero-content {
  position: absolute;
  bottom: 120px;
  left: 0;
  width: 100%;
  display: flex;
  padding: 0 48px;
  z-index: 10;
}

.hero-left-text,
.hero-right-text {
  width: 50%;
  max-width: 400px;
}

.hero-left-text {
  padding-right: 40px;
}

.hero-right-text {
  padding-left: 40px;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-link i {
  transition: transform 0.3s;
}

.hero-link:hover i {
  transform: translateX(6px);
}

.huge-title {
  position: absolute;
  top: 45%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 48px;
  font-size: clamp(3rem, 7vw, 7.5rem);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  pointer-events: none;
  z-index: 10;
}

.left-title {
  width: 50%;
  padding-right: 20px;
}

.right-title {
  width: 50%;
  padding-left: 20px;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  z-index: 10;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-10px) translateX(-50%);
  }

  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

/* Sections */
.section {
  padding: 120px 0;
}

.about {
  background: var(--light-gray);
  text-align: center;
}

.section-title {
  font-size: 1rem;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 24px;
}

.lead-text {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.4;
  max-width: 900px;
  margin: 0 auto;
}

/* Buttons */
.action-btn-wrapper {
  margin-top: 40px;
  text-align: center;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red);
}

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

.btn-secondary:hover {
  background: var(--black);
  color: var(--white);
}

/* Work Portfolio */
.portfolio-group {
  margin-bottom: 100px;
}

.portfolio-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 48px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 40px;
}

.portfolio-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--light-gray);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: block;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-info {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.4s;
  text-align: center;
  padding: 32px;
}

.portfolio-item:hover .portfolio-info {
  opacity: 1;
}

.portfolio-info h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.portfolio-info span {
  font-size: 1rem;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Inner Pages (About, Contact, Work) */
.inner-page {
  padding-top: 72px;
}

.inner-page .header {
  background: rgba(0, 0, 0, 0.9);
  padding: 16px 48px;
}

.bg-black {
  background: var(--black);
}

.text-white {
  color: var(--white);
}

.page-header {
  padding: 50px 0 50px;
  text-align: center;
}

.page-title {
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: -2px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}

.about-card {
  background: var(--light-gray);
  padding: 48px;
  border-radius: 12px;
}

.about-card h3 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--red);
}

.about-card p {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Footer / Contact */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 120px 0 60px;
}

.huge-footer-title {
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.footer-sub {
  font-size: 1.5rem;
  color: #aaaaaa;
  margin-bottom: 80px;
  max-width: 600px;
}

.footer-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 100px;
}

.info-block h4 {
  font-size: 0.9rem;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.info-block p,
.info-block a {
  font-size: 1.5rem;
  font-weight: 500;
  transition: color 0.2s;
}

.info-block a:hover {
  color: var(--red);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
  color: #888888;
}

.socials {
  display: flex;
  gap: 20px;
}

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

.socials a:hover,
.social-icon:hover {
  background: var(--red);
  transform: translateY(-3px);
}

.social-icon {
  background: var(--black);
}

/* Contact Page Social Icons */
.csocials {
  display: flex;
  gap: 20px;
}

.csocials a,
.csocial-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  transition: all 0.3s;
}

.csocials a:hover,
.csocial-icon:hover {
  background: var(--red);
  transform: translateY(-3px);
	color: white;
}

.csocial-icon {
  background: var(--black);
}

/* Contact Page Grid & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form {
  background: var(--light-gray);
  padding: 40px;
  border-radius: 12px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font);
  font-size: 1rem;
  background: var(--white);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--black);
}

.form-status {
  margin-top: 15px;
  font-weight: 600;
  text-align: center;
}

.form-status.success {
  color: green;
}

.form-status.error {
  color: var(--red);
}

/* Legal Content */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h3 {
  font-size: 1.5rem;
  color: var(--red);
  margin: 40px 0 15px;
}

.legal-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 20px;
}

.legal-links a {
  transition: color 0.3s;
}

.legal-links a:hover {
  color: var(--white) !important;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    bottom: 150px;
  }

  .huge-title {
    font-size: 4rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

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

@media (max-width: 768px) {
  .header {
    padding: 20px 24px;
  }

  .header.scrolled,
  .inner-page .header {
    padding: 16px 24px;
  }

  .split {
    width: 100%;
    height: 50%;
  }

  .hero {
    flex-direction: column;
  }

  .huge-title {
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    padding: 0 24px;
    gap: 20px;
    text-align: center;
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

  .left-title,
  .right-title {
    width: 100%;
    padding: 0;
  }

  .hero-content {
    bottom: 50px;
    flex-direction: column;
    padding: 0 24px;
    gap: 20px;
    display: flex;
  }

  .hero-left-text,
  .hero-right-text {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .hero-left-text p,
  .hero-right-text p {
    font-size: 0.95rem;
    display: none; /* Hide long text on mobile to preserve minimal premium look and prevent overlapping */
  }
  
  .hero-link {
    margin-bottom: 5px;
    font-size: 1rem;
  }

  .container {
    padding: 0 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-info {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .nav-links {
    font-size: 3rem;
  }
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}