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

:root {
  --navy: #001b3a;
  --gold: #c69a4b;
  --cream: #f8f5ef;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

section[id],
footer[id] {
  scroll-margin-top: 110px;
}

body {
  background: var(--cream);
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
  color: #222;
}

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: auto;
  padding: 0 40px;
}

header {
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: 0.4s;
}

header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.header-content {
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

/* LOGO */

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-text h2 {
  color: var(--navy);
  font-size: 42px;
  line-height: 0.9;
  margin: 0;
  letter-spacing: 1px;
  font-weight: 600;
}

.logo-text span {
  color: var(--gold);
  letter-spacing: 4px;
  font-size: 11px;
  margin-top: 5px;
}

/* MENU */

nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  flex-wrap: nowrap;
}

nav a {
  text-decoration: none;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: 0.3s;
  white-space: nowrap;
  position: relative;
  padding: 8px 0;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: 0.3s;
}

nav a:hover {
  color: var(--gold);
}

nav a:hover::after,
nav a:focus-visible::after {
  width: 100%;
}

nav a:focus-visible,
.btn:focus-visible,
.mobile:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.desktop-btn {
  min-width: max-content;
}

.btn {
  padding: 15px 24px;
  border: 1px solid var(--gold);
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  transition: 0.4s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transition: 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  background: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}

.hero {
  min-height: 100vh;
  padding-top: 95px;

  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.35)),
    url("https://images.unsplash.com/photo-1523580846011-d3a5bc25702b?q=80&w=2000&auto=format&fit=crop");

  background-size: cover;
  background-position: center;

  display: flex;
  align-items: center;
  color: #fff;
}

.hero-content {
  max-width: 760px;
}

.hero h1 {
  font-size: 92px;
  line-height: 0.95;
  margin-bottom: 30px;
  animation: fadeUp 1s ease;
}

.hero p {
  color: var(--gold);
  font-size: 30px;
  margin-bottom: 40px;
}

.hero-divider {
  width: 220px;
  height: 2px;
  background: var(--gold);
  margin-top: 60px;
  position: relative;
}

.hero-divider::after {
  content: "✦";
  color: var(--gold);
  position: absolute;
  left: 50%;
  top: -13px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5);
  padding: 0 12px;
}

.features {
  padding: 120px 0;
  background: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature {
  text-align: center;
  padding: 50px 35px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: 0.4s;
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  font-size: 58px;
  color: var(--gold);
  margin-bottom: 24px;
}

.feature h3 {
  font-size: 34px;
  color: var(--navy);
  margin-bottom: 20px;
}

.feature p {
  line-height: 2;
  color: #555;
}

.about {
  background: linear-gradient(90deg, #02152d, #002c5a);
  padding: 130px 0;
  color: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about small {
  color: var(--gold);
  letter-spacing: 3px;
}

.about h2 {
  font-size: 72px;
  margin: 24px 0;
  line-height: 1;
}

.about p {
  line-height: 2;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 35px;
}

.about-image img {
  width: 100%;
  border: 1px solid var(--gold);
}

.services {
  padding: 120px 0;
  background: var(--cream);
}

.section-title {
  text-align: center;
  margin-bottom: 70px;
}

.section-title small {
  color: var(--gold);
  letter-spacing: 3px;
}

.section-title h2 {
  font-size: 65px;
  color: var(--navy);
  margin-top: 15px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.service {
  background: #fff;
  padding: 45px 35px;
  border: 1px solid rgba(198, 154, 75, 0.25);
  transition: 0.4s;
}

.service:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-icon {
  font-size: 48px;
  color: var(--gold);
  margin-bottom: 22px;
}

.service h3 {
  font-size: 30px;
  color: var(--navy);
  margin-bottom: 18px;
}

.service p {
  line-height: 1.9;
  color: #555;
}

.gallery {
  padding: 120px 0;
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  grid-auto-rows: 265px;
  gap: 22px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(198, 154, 75, 0.28);
  min-height: 0;
}

.gallery-item.featured {
  grid-row: span 2;
}

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

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 15, 40, 0.78),
    rgba(0, 15, 40, 0.05)
  );
}

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

.gallery-caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  z-index: 1;
  color: #fff;
}

.gallery-caption small {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 11px;
}

.gallery-caption h3 {
  font-size: 32px;
  line-height: 1;
  margin-top: 8px;
}

.testimonials {
  padding: 120px 0;
  color: #fff;
  background: linear-gradient(90deg, #02152d, #002c5a);
}

.testimonials .section-title h2 {
  color: #fff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testimonial {
  border: 1px solid rgba(198, 154, 75, 0.35);
  background: rgba(255, 255, 255, 0.06);
  padding: 38px 32px;
}

.testimonial p {
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 28px;
}

.testimonial strong {
  display: block;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 7px;
}

.testimonial span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.blog {
  padding: 120px 0;
  background: var(--cream);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.blog-card {
  background: #fff;
  border: 1px solid rgba(198, 154, 75, 0.25);
  padding: 38px 32px;
  transition: 0.4s;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.blog-card small {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 11px;
}

.blog-card h3 {
  color: var(--navy);
  font-size: 34px;
  line-height: 1;
  margin: 16px 0;
}

.blog-card p {
  color: #555;
  line-height: 1.9;
}

.cta {
  background:
    linear-gradient(90deg, rgba(0, 15, 40, 0.94), rgba(0, 27, 58, 0.9)),
    url("https://images.unsplash.com/photo-1511578314322-379afb476865?q=80&w=2000&auto=format&fit=crop");

  background-size: cover;
  background-position: center;

  padding: 110px 0;
  color: #fff;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: center;
}

.cta h2 {
  font-size: 58px;
  margin-bottom: 18px;
}

.cta p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 2;
}

footer {
  background: #021020;
  padding: 90px 0 30px;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo img {
  width: 130px;
  margin-bottom: 20px;
}

footer h3 {
  color: var(--gold);
  margin-bottom: 22px;
  font-size: 28px;
}

footer ul {
  list-style: none;
}

footer li {
  margin-bottom: 12px;
}

footer a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  transition: 0.3s;
}

footer a:hover {
  color: var(--gold);
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

.mobile {
  display: none;
  border: 0;
  background: transparent;
  font-size: 34px;
  cursor: pointer;
  color: var(--navy);
  line-height: 1;
}

@media (max-width: 1150px) {
  nav ul {
    gap: 18px;
  }

  nav a {
    font-size: 12px;
  }

  .btn {
    padding: 14px 18px;
    font-size: 12px;
  }
}

@media (max-width: 1024px) {
  .features-grid,
  .about-grid,
  .services-grid,
  .gallery-grid,
  .testimonials-grid,
  .blog-grid,
  .footer-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.featured {
    grid-row: auto;
  }

  .hero h1 {
    font-size: 62px;
  }

  .section-title h2,
  .about h2,
  .cta h2 {
    font-size: 48px;
  }
}

@media (max-width: 992px) {
  .header-content {
    height: 85px;
  }

  nav {
    position: absolute;
    top: 85px;
    left: 0;
    width: 100%;
    background: #fff;
    display: none;
    padding: 35px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .mobile {
    display: block;
  }

  .desktop-btn {
    display: none;
  }

  .hero {
    padding-top: 85px;
  }
}

@media (max-width: 768px) {
  .logo img {
    width: 50px;
    height: 50px;
  }

  .logo-text h2 {
    font-size: 30px;
  }

  .logo-text span {
    font-size: 9px;
    letter-spacing: 3px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero p {
    font-size: 20px;
  }

  .gallery-grid {
    grid-auto-rows: 235px;
  }

  .gallery-caption {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .gallery-caption h3,
  .blog-card h3 {
    font-size: 28px;
  }

  .container {
    padding: 0 25px;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
