/* RESET BASICUI */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY & TYPOGRAPHY */
body {
  font-family: 'Oswald', sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
}

/* LAYOUT CONTAINERS */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}


.container h1 {  
  font-size: 72px;
  font-weight: 600;
  letter-spacing: 4px;    
  text-transform: uppercase;
}

.container h2 {  
  font-size: 22px;
  font-weight: 200;  
  text-align: center;    
}

.container h3 {  
  font-size: 22px;
  font-weight: 200;  
  text-transform: uppercase;
}

.container h4 { 
  color: #808080;    
  font-size: 22px;
  font-weight: 200;
  text-align: justify; 
}

.container-btn {
  display: inline-block;
  padding: 14px 36px;
  background-color: #fff; 
  color: #2f79b9;
  font-size: 15px;
  font-weight: 200;
  border: 1px solid #2f79b9;   
  border-radius: 8px;
  text-decoration: none;    
}

/* subtilus hover */
.container-btn:hover {
  background-color: #25639a;
  transform: translateY(-2px);
  color: #fff;
}

/* HEADER */
header {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

header .logo {
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  color: #000;
}

/* NAV */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

nav ul li a:hover {
  color: #000;
}

/* HERO SECTION */
.hero {
  min-height: 400px;
  background-size: cover;
  background-position: center;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero {
  position: relative;
  height: 85vh;
  background-size: cover;
  background-position: center;
}

/* TIKRAS PRITEMDYMAS */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* TURINYS */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}


.hero h1 {
  color: #fff;    
  font-size: 72px;
  font-weight: 600;
  letter-spacing: 4px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);    
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h2 {
  color: #fff;    
  font-size: 22px;
  font-weight: 200; 
  letter-spacing: 4px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);    
  margin-bottom: 10px;
}

/* SECTIONS */
section {
  padding: 60px 0;
}

.section-title {
  font-size: 30px;
  margin-bottom: 20px;
  text-align: center;
}

/* PROJECT GRID */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.project-card {
  overflow: hidden;
}

.project-card img {
  width: 100%;
  display: block;
}

.project-card .info {
  padding: 15px;
}

.project-card .info h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* foto */ 

.project-image {
  width: 100%;
  height: 260px;            /* VISOS vienodo aukščio */
  overflow: hidden;
  position: relative;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* <-- SVARBIAUSIA */
  display: block;
}

.project-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #2f79b9;
}

/* foto2 */ 

.project-image2 {
  width: 100%;
  height: 360px;            /* VISOS vienodo aukščio */
  overflow: hidden;
  position: relative;
}

.project-image2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* <-- SVARBIAUSIA */
  display: block;
}

.project-image2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #2f79b9;
}

/* FOOTER */
footer {
  background: #f8f8f8;
  padding: 30px 0;
  text-align: center;
  font-size: 14px;
  color: #777;
}

.hero-btn {
  display: inline-block;
  padding: 14px 36px;
  background-color: #2f79b9; /* mėlyna kaip screenshot */
  color: #fff;
  font-size: 18px;
  font-weight: 200;
  border-radius: 8px;
  border: none;
  transition: background-color 0.25s ease, transform 0.25s ease;
  text-decoration: none;    
}

/* subtilus hover */
.hero-btn:hover {
  background-color: #25639a;
  transform: translateY(-2px);
}

/* MINIATIŪROS */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85%;
}

/* UŽDARYMAS */
.close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/* RODYKLĖS */
.nav {
  position: absolute;
  top: 50%;
  font-size: 60px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  padding: 20px;
}

.prev { left: 20px; }
.next { right: 20px; }
