/* ==========================================
   SEABREEZE IL
   LUXURY NAVY & CHAMPAGNE
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;500;600;700;800&family=Cormorant+Garamond:wght@500;600;700&display=swap');

:root {
  --navy: #061b2a;
  --navy-deep: #031725;
  --navy-mid: #08273a;
  --navy-card: #072438;
  --gold: #c6a05b;
  --gold-light: #dfc48d;
  --gold-dark: #967039;
  --champagne: #d8be8c;
  --cream: #f7f5ef;
  --muted: #bdcbd3;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: 'Assistant', Arial, sans-serif;
  line-height: 1.75;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.25; }

/* ==========================================
   LUXURY HEADER — UPDATED
   ========================================== */

header {
  position: relative;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
  min-height: 76px;
  padding: 12px 5%;

  background: linear-gradient(
    110deg,
    #031421 0%,
    #061b2a 55%,
    #09283a 100%
  );

  border-bottom: 1px solid rgba(198,160,91,.38);

  box-shadow: 0 5px 25px rgba(0,0,0,.22);
}

/* LOGO */

header .logo,
.logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: #f7f5ef;
  letter-spacing: -.4px;

  text-shadow: 0 2px 8px rgba(0,0,0,.18);

  animation: headerFadeIn .85s ease both;
}

.logo span,
.brand span,
header .logo span {
  color: var(--champagne);
  -webkit-text-fill-color: var(--champagne);
  -webkit-text-stroke: 0;
  background: none;
  filter: none;
}

/* NAVIGATION */

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 34px;
}

nav a {
  position: relative;
  padding: 8px 0;

  font-size: 15px;
  font-weight: 600;
  color: #e8edf0;

  transition: color .3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 2px;

  width: 0;
  height: 1px;

  background: var(--champagne);

  transition: width .3s ease;
}

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

nav a:hover::after {
  width: 100%;
}

/* BUTTONS */

.gold-btn,
button.gold-btn,
.project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 13px 26px;

  border: 1px solid var(--gold);
  border-radius: 10px;

  background: linear-gradient(
    115deg,
    #b58d4d 0%,
    #d5b779 52%,
    #c09a5a 100%
  );

  color: #172635;

  font: 800 16px 'Assistant', Arial, sans-serif;

  cursor: pointer;

  box-shadow: 0 5px 14px rgba(0,0,0,.2);

  transition:
    transform .25s,
    box-shadow .25s,
    filter .25s;
}

.gold-btn:hover,
.project-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 8px 19px rgba(0,0,0,.27);
}

/* HEADER BUTTON ONLY */

header > .gold-btn {
  padding: 9px 23px;
  min-height: 42px;

  border-radius: 9px;

  font-size: 15px;

  background: linear-gradient(
    110deg,
    #b48c4e,
    #d4b778
  );

  box-shadow: none;
}

/* ==========================================
   HERO — EXISTING BACKGROUND PRESERVED
   ========================================== */

.hero {
  position: relative;
  isolation: isolate;

  min-height: 700px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 35px;
  padding: 85px 5% 145px;

  background-image:
    linear-gradient(
      90deg,
      rgba(4,20,33,.7),
      rgba(4,20,33,.25)
    ),
    url('https://raw.githubusercontent.com/avi1322435RE/seabreeze-il-images/main/Final%20Render%20%281%29.png');

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

  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  z-index: 0;

  left: 0;
  right: 0;
  bottom: 0;

  height: 320px;

  background: linear-gradient(
    to bottom,
    rgba(6,27,42,0) 0%,
    rgba(6,27,42,.08) 15%,
    rgba(6,27,42,.22) 32%,
    rgba(6,27,42,.48) 55%,
    rgba(6,27,42,.78) 78%,
    #061b2a 100%
  );

  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;

  flex: 1 1 auto;
  min-width: 0;

  text-align: right;

  animation: luxuryFadeUp 1.1s ease-out both;
}

.eyebrow,
.kicker {
  color: var(--gold-light);
  letter-spacing: 2.5px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero .brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(55px,6.5vw,100px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: 1px;

  margin-bottom: 28px;

  color: #f7f5ef;
  white-space: nowrap;

  text-shadow:
    0 3px 8px rgba(0,0,0,.5),
    0 0 12px rgba(6,27,42,.25);
}

.hero .brand span {
  color: var(--champagne);
  -webkit-text-fill-color: var(--champagne);
}

.hero-content h2 {
  font-size: clamp(22px,2.05vw,34px);
  font-weight: 600;
  line-height: 1.45;

  margin-bottom: 22px;

  color: #fffdf6;
  white-space: nowrap;

  text-shadow: 0 3px 12px rgba(0,0,0,.5);
}

.hero-content p {
  color: #e5ebed;
  max-width: 750px;
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 28px;

  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

/* CONTACT */

.contact-box {
  position: relative;
  z-index: 2;

  flex: 0 0 355px;
  width: 355px;

  padding: 32px 26px;

  background: rgba(5,27,43,.94);

  border: 1px solid rgba(198,160,91,.55);
  border-radius: 18px;

  box-shadow: 0 18px 50px rgba(0,0,0,.42);

  backdrop-filter: blur(10px);

  animation: luxuryFadeUp 1.2s ease-out .15s both;
}

.contact-box h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-box p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;

  padding: 12px 14px;

  background: #f7f7f5;
  color: #14283a;

  border: 1px solid #c9d2d6;
  border-radius: 10px;

  font: 16px 'Assistant', Arial, sans-serif;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

form button { width: 100%; }

/* ==========================================
   SECTIONS
   ========================================== */

section:not(.hero) {
  padding: 88px 5%;
}

#projects,
.projects {
  position: relative;

  background: linear-gradient(
    180deg,
    #061b2a 0%,
    #072337 45%,
    #061b2a 100%
  );

  padding-top: 115px;
  padding-bottom: 100px;
}

.section-heading {
  text-align: center;
  margin: 0 auto 38px;
  max-width: 780px;
}

#projects .section-heading > span {
  display: none;
}

.section-heading h2,
section > h2 {
  font-size: clamp(30px,3.6vw,46px);
  font-weight: 700;
  margin: 14px 0 16px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

/* ==========================================
   PROJECT CARDS
   UNCHANGED — SAME SIZE, ORDER AND LAYOUT
   ========================================== */

.projects-grid,
.project-grid,
.cards-grid,
.projects-container,
#projectsGrid,
#projectsContainer,
#projectGrid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 26px;
  align-items: stretch;
}

.project-card,
.card {
  display: flex;
  flex-direction: column;

  min-width: 0;
  height: 100%;

  overflow: hidden;

  background: rgba(4,27,43,.96);

  border: 1px solid rgba(198,160,91,.65);
  border-radius: 16px;

  box-shadow: 0 12px 32px rgba(0,0,0,.25);

  transition:
    transform .3s,
    border-color .3s,
    box-shadow .3s;
}

.project-card:hover,
.card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-light);
  box-shadow: 0 18px 42px rgba(0,0,0,.38);
}

.project-image {
  position: relative;

  flex: none;

  width: 100%;
  height: 235px;
  min-height: 0;

  overflow: hidden;
  background: #0d2d40;
}

.project-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition: transform .5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.035);
}

.project-content,
.card-content,
.project-info {
  flex: 1 1 auto;

  display: flex;
  flex-direction: column;
  align-items: center;

  min-width: 0;

  padding: 19px 20px 18px;

  text-align: center;
}

.project-card h3,
.card h3 {
  font-size: 23px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #fff;
}

.project-subtitle {
  color: var(--champagne);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 0 11px;
}

.project-card p,
.card p {
  color: #d1dbe0;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 17px;
}

.project-card .gold-btn,
.project-card .project-link,
.card .gold-btn,
.project-info .gold-btn,
.project-content .gold-btn,
.card-content .gold-btn {
  width: 100%;

  margin-top: auto;

  padding: 11px 15px;

  background: #041b2b;

  border: 1px solid var(--gold);
  border-radius: 10px;

  color: #f7f5ef;

  font-size: 15px;
  font-weight: 700;

  box-shadow: none;
}

.project-card .gold-btn:hover,
.project-card .project-link:hover,
.card .gold-btn:hover {
  background: #0c3047;
  border-color: var(--gold-light);
}

/* ABOUT */

#about {
  background: #061b2a;
  text-align: center;
}

#about p {
  max-width: 780px;
  margin: 0 auto;
  color: #c8d4da;
  font-size: 18px;
}

/* FOOTER */

footer {
  background: #041421;

  border-top: 1px solid rgba(198,160,91,.28);

  padding: 30px 5%;

  text-align: center;

  color: #a9b7bf;
  font-size: 14px;
}

/* MASTERPLAN */

.masterplan {
  background: #f8f7f4 !important;
  color: #172b42;
  text-align: center;
}

.masterplan-image {
  width: 100%;
  max-width: 1200px;

  margin: 28px auto 0;

  border-radius: 10px;

  box-shadow: 0 18px 45px #0b253027;
}

.masterplan a {
  display: block;
  max-width: 1200px;
  margin: auto;
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes luxuryFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

@keyframes headerFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

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

/* TABLET */

@media (max-width: 1100px) {

  header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    flex-wrap: wrap;
    min-height: auto;
  }

  .hero-content {
    text-align: center;
    width: 100%;
  }

  .hero-content h2 {
    white-space: normal;
  }

  .hero-content p {
    margin-inline: auto;
  }

  .contact-box {
    flex: 0 1 520px;
    width: 100%;
  }

  .projects-grid,
  .project-grid,
  .cards-grid,
  .projects-container,
  #projectsGrid,
  #projectsContainer,
  #projectGrid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

/* MOBILE */

@media (max-width: 650px) {

  header {
    padding: 13px 5%;
    gap: 14px;
  }

  header .logo,
  .logo {
    font-size: 26px;
  }

  nav {
    gap: 12px;
  }

  nav a {
    font-size: 13px;
  }

  header > .gold-btn {
    padding: 9px 15px;
  }

  .hero {
    padding: 75px 5% 95px;
    gap: 25px;
  }

  .hero .brand {
    font-size: clamp(45px,12vw,60px);
  }

  .hero-content h2 {
    font-size: 28px;
    white-space: normal;
  }

  .hero-content p {
    font-size: 16px;
  }

  .contact-box {
    padding: 24px 18px;
  }

  section:not(.hero) {
    padding: 62px 5%;
  }

  #projects,
  .projects {
    padding-top: 85px;
  }

  .projects-grid,
  .project-grid,
  .cards-grid,
  .projects-container,
  #projectsGrid,
  #projectsContainer,
  #projectGrid {
    grid-template-columns: 1fr;
  }

  .project-image {
    height: 245px;
  }

  .project-content,
  .card-content,
  .project-info {
    padding: 19px 18px;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
