/* Tadan Contractors - Main Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-red: #C41E3A;
  --primary-black: #1a1a1a;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-medium: #666666;
  --gray-dark: #333333;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--white);
  color: var(--primary-black);
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navbar Logo */
.navbar__logo {
  display: flex;
  align-items: center;
}

.navbar__logo img {
  height: 50px;
  width: auto;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

/* Desktop Navigation Links */
.nav-links {
  display: none;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

@media (min-width: 769px) {
  .nav-links {
    display: flex;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: var(--primary-black);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 0.25rem;
  }
  
  .nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
  }
  
  .nav-links li a:hover::after,
  .nav-links li a.active::after {
    width: 100%;
  }
  
  .nav-links li a:hover,
  .nav-links li a.active {
    color: var(--primary-red);
  }
  
  .hamburger {
    display: none;
  }
}

/* Hamburger Menu */
.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1002;
  position: relative;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--primary-black);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Navbar Toggle (alternative pattern for projects page) */
.navbar__toggle {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
  background: none;
  border: none;
  padding: 0.5rem;
}

.navbar__toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--primary-black);
  transition: all 0.3s ease;
}

.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

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

.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hide desktop menu on mobile */
.navbar__menu {
  display: none;
}

@media (min-width: 769px) {
  .navbar__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
  }
  
  .navbar__link {
    text-decoration: none;
    color: var(--primary-black);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 0.25rem;
  }
  
  .navbar__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
  }
  
  .navbar__link:hover::after,
  .navbar__link.active::after {
    width: 100%;
  }
  
  .navbar__link:hover,
  .navbar__link.active {
    color: var(--primary-red);
  }
  
  .navbar__toggle,
  .hamburger {
    display: none;
  }
}

/* Mobile Menu */
.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background-color: var(--white);
  padding: 100px 2rem 2rem;
  transition: right 0.3s ease;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-menu.active {
  right: 0;
}

.nav-menu ul {
  list-style: none;
}

.nav-menu ul li {
  margin-bottom: 1.5rem;
}

.nav-menu ul li a {
  text-decoration: none;
  color: var(--primary-black);
  font-size: 1.2rem;
  font-weight: 500;
  transition: color 0.3s ease;
  display: block;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
  color: var(--primary-red);
  border-bottom-color: var(--primary-red);
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 2rem 2rem;
  text-align: center;
  background-color: var(--white);
}

.hero-logo {
  max-width: 300px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--primary-black);
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  color: var(--gray-medium);
  margin-bottom: 3rem;
  max-width: 600px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--primary-black);
  margin-bottom: 2rem;
  font-weight: 500;
}

/* Country Selection */
.country-selection {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.country-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  background-color: var(--white);
  border: 2px solid var(--gray-light);
}

.country-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-red);
}

.country-card .flag {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.country-card span {
  font-size: 1.1rem;
  color: var(--primary-black);
  font-weight: 600;
}

/* Page Header */
.page-header {
  padding: 140px 2rem 60px;
  text-align: center;
  background-color: var(--gray-light);
}

.page-header h1 {
  font-size: 2.5rem;
  color: var(--primary-black);
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--gray-medium);
  max-width: 600px;
  margin: 0 auto;
}

/* Section Styles */
.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  color: var(--primary-black);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-red);
}

.section-title.center {
  text-align: center;
}

.section-title.center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Section Header (projects page pattern) */
.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__subtitle {
  color: var(--primary-red);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}

.section__title {
  font-size: 2rem;
  color: var(--primary-black);
  margin-bottom: 1rem;
}

.section__description {
  color: var(--gray-medium);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Section Gray Background */
.section--gray {
  background-color: var(--gray-light);
}

/* Page Header (projects page pattern) */
.page-header__title {
  font-size: 2.5rem;
  color: var(--primary-black);
  margin-bottom: 1rem;
}

.page-header__breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  color: var(--gray-medium);
}

.page-header__breadcrumb a {
  color: var(--primary-red);
  text-decoration: none;
}

.page-header__breadcrumb a:hover {
  text-decoration: underline;
}

/* Service Card (projects page) */
.service-card__icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-card__icon svg {
  width: 30px;
  height: 30px;
  color: white;
}

.service-card__title {
  font-size: 1.2rem;
  color: var(--primary-black);
  margin-bottom: 0.75rem;
}

.service-card__text {
  color: var(--gray-medium);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Services Grid (projects page) */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* CTA Section */
.cta {
  background-color: var(--primary-red);
  padding: 5rem 2rem;
  text-align: center;
}

.cta__title {
  font-size: 2rem;
  color: white;
  margin-bottom: 1rem;
}

.cta__text {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: white;
  color: var(--primary-red);
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.btn-white svg {
  width: 18px;
  height: 18px;
}

/* Footer Grid (projects page) */
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: left;
}

.footer__grid--compact {
  max-width: 1000px;
  margin: 0 auto;
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  height: 50px;
  margin-bottom: 1rem;
}

.footer__description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.footer__social-link:hover {
  background-color: var(--primary-red);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
  color: white;
}

.footer__title {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--primary-red);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Fade In Animation */
.fade-in {
  opacity: 1;
}

/* Stagger Animation */
.stagger > * {
  opacity: 1;
}

/* About Content */
.about-content {
  display: grid;
  gap: 3rem;
}

.about-text {
  font-size: 1.1rem;
  color: var(--gray-dark);
  line-height: 1.8;
}

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

.value-card {
  padding: 2rem;
  background-color: var(--gray-light);
  border-radius: 12px;
  border-left: 4px solid var(--primary-red);
}

.value-card h3 {
  color: var(--primary-black);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.value-card p {
  color: var(--gray-medium);
  font-size: 0.95rem;
}

/* Vision & Mission */
.vision-mission {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.vm-card {
  padding: 2.5rem;
  background-color: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: 12px;
}

.vm-card h3 {
  font-size: 1.5rem;
  color: var(--primary-red);
  margin-bottom: 1rem;
}

.vm-card p {
  color: var(--gray-dark);
  line-height: 1.8;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-card {
  background-color: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.team-card:hover {
  border-color: var(--primary-red);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: var(--gray-light);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-red);
  font-weight: 700;
}

.team-card h3 {
  font-size: 1.3rem;
  color: var(--primary-black);
  margin-bottom: 0.5rem;
}

.team-card .role {
  color: var(--primary-red);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-card p {
  color: var(--gray-medium);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  color: var(--primary-black);
  margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
  color: var(--gray-medium);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--primary-red);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group label {
  font-weight: 500;
  color: var(--primary-black);
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

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

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--primary-red);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

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

/* Footer */
.footer {
  background-color: var(--primary-black);
  color: var(--white);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  height: 40px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  padding: 2rem;
  background-color: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--primary-red);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  color: var(--primary-black);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.service-card p {
  color: var(--gray-medium);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Project Slideshow */
.project-slideshow {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  cursor: pointer;
}

/* Click hint overlay */
.project-slideshow::after {
  content: 'Click to view all photos';
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
  z-index: 5;
}

.project-slideshow:hover::after {
  opacity: 1;
}

.slideshow__container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slideshow__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slideshow__image.active {
  opacity: 1;
}

.slideshow__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  opacity: 0;
}

.project-slideshow:hover .slideshow__btn {
  opacity: 1;
}

.slideshow__btn:hover {
  background-color: var(--primary-red);
  color: white;
}

.slideshow__btn--prev {
  left: 10px;
}

.slideshow__btn--next {
  right: 10px;
}

.slideshow__btn svg {
  width: 20px;
  height: 20px;
}

.slideshow__dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slideshow__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slideshow__dot.active,
.slideshow__dot:hover {
  background-color: var(--primary-red);
}

/* Project Card */
.project-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.project-card__overlay {
  padding: 1.5rem;
}

.project-card__category {
  display: inline-block;
  background-color: var(--primary-red);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.project-card__title {
  font-size: 1.25rem;
  color: var(--primary-black);
  margin-bottom: 0.75rem;
}

.project-card__description {
  color: var(--gray-medium);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-red);
  text-decoration: none;
  font-weight: 500;
  transition: gap 0.3s ease;
}

.project-card__link:hover {
  gap: 0.75rem;
}

.project-card__link svg {
  width: 18px;
  height: 18px;
}

/* Projects Grid */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Fullscreen Gallery Modal */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.gallery-modal.active {
  opacity: 1;
  visibility: visible;
}

.gallery-modal__header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
  z-index: 10001;
}

.gallery-modal__counter {
  color: white;
  font-size: 1rem;
  font-weight: 500;
}

.gallery-modal__close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.gallery-modal__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.gallery-modal__close svg {
  width: 24px;
  height: 24px;
  color: white;
}

.gallery-modal__content {
  flex: 1;
  overflow-y: auto;
  padding: 80px 1rem 2rem;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery-modal__image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 100px);
  padding: 1rem 0;
  scroll-snap-align: start;
}

.gallery-modal__image-wrapper img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .country-selection {
    gap: 1.5rem;
  }
  
  .country-card .flag {
    width: 100px;
    height: 67px;
  }
  
  .page-header {
    padding: 120px 1.5rem 40px;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .section {
    padding: 3rem 1.5rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  /* Mobile slideshow styles */
  .project-slideshow {
    height: 250px;
  }
  
  .slideshow__btn {
    opacity: 1;
    width: 36px;
    height: 36px;
  }
  
  .slideshow__btn svg {
    width: 16px;
    height: 16px;
  }
  
  .projects__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Mobile gallery styles */
  .gallery-modal__content {
    padding: 70px 0.5rem 1rem;
  }
  
  .gallery-modal__image-wrapper {
    min-height: calc(100vh - 90px);
    padding: 0.5rem 0;
  }
  
  .gallery-modal__image-wrapper img {
    max-height: calc(100vh - 100px);
    border-radius: 4px;
  }
  
  .gallery-modal__header {
    padding: 0.75rem 1rem;
  }
  
  .gallery-modal__close {
    width: 40px;
    height: 40px;
  }
  
  /* Hide hover hint on touch devices */
  .project-slideshow::after {
    content: 'Tap to view all photos';
    opacity: 0.8;
    bottom: 45px;
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
  
  /* Footer mobile */
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer__brand {
    max-width: 100%;
  }
  
  .footer__social {
    justify-content: center;
  }
}
