/* ============================================================
   ROOT, RESET & GLOBAL UTILITIES 
============================================================ */
:root {
  --bg:#001731;
  --accent:#CBB27A;
  --text:#ffffff;
  --header-h:64px;
  --desktop-break:768px;
  --ease:cubic-bezier(.2,.9,.2,1);
}

* { box-sizing:border-box; }

html {
  font-size:18px;
  scroll-behavior: smooth;
}

body {
  margin:0;
  color:var(--text);
  background:var(--bg);
  font-family:'Cormorant Garamond', serif;
  font-weight:600;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

p, a {
  font-family:'Figtree', sans-serif;
  font-size:1rem;
  font-weight:300;
  line-height:1.55;
}

p { margin:0 0 1.2em; }

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

ul { margin:0; padding:0; list-style:none; }

.small-text,
nav a,
.footer-nav a,
.contact-form label span {
  font-size:0.9rem;
  font-weight:500;
}

.xs-text,
.footer-bottom {
  font-size:0.75rem;
  font-weight:400;
}

em, i { font-style:italic; font-weight:400; }

/* ============================================================
   HEADINGS
============================================================ */
h1, h2, h3, h4, h5, h6 {
  margin:0 0 .5em;
  line-height:1.2;
  font-family:'Cormorant Garamond', serif;
  font-weight:600;
  color:inherit;
}

h1 { font-size:2.5rem; }
h2 { font-size:2rem; }
h3 { font-size:1.65rem; }
h4 { font-size:1.35rem; }
h5 { font-size:1.15rem; }
h6 { font-size:1rem; }

/* ============================================================
   SKIP LINK
============================================================ */
.skip-link {
  position:absolute;
  left:0;
  top:-40px;
  background:#000;
  color:#fff;
  padding:8px 12px;
  z-index:1000;
  transition:top .2s ease;
}
.skip-link:focus { top:8px; }

/* ============================================================
   HEADER / BRANDING
============================================================ */
header.site-header {
  position:sticky;
  top:0;
  z-index:50;
  height:var(--header-h);
  padding:0 28px;
  background:#000d1f;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-bottom:2px solid var(--accent);
}

.brand {
  display:flex;
  align-items:center;
  gap:10px;
}

.site-header img {
  width:48px;
  height:auto;
  display:block;
}

.brand a {
  font-family:'Cormorant Garamond', serif;
  font-weight:700;
  line-height:1.2;
}

.brand a small {
  display:block;
  font-weight:400;
  color:gray;
}

/* ============================================================
   NAVIGATION + HAMBURGER
============================================================ */
.nav-toggle {
  appearance:none;
  border:0;
  background:transparent;
  padding:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.nav-toggle:focus {
  outline:2px solid var(--accent);
  outline-offset:2px;
  border-radius:6px;
}

/* Hamburger icon */
.hamburger {
  width:22px;
  height:16px;
  position:relative;
  display:inline-block;
}
.hamburger span {
  position:absolute;
  left:0; right:0;
  height:2px;
  border-radius:2px;
  background:var(--text);
  transition:
    transform .28s var(--ease),
    opacity .18s var(--ease),
    top .28s var(--ease);
}
.hamburger span:nth-child(1) { top:0; }
.hamburger span:nth-child(2) { top:7px; }
.hamburger span:nth-child(3) { top:14px; }

.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
  transform:translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
  opacity:0;
}
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
  transform:translateY(-7px) rotate(-45deg);
}

/* Mobile nav dropdown */
nav.primary-nav {
  position:absolute;
  top:var(--header-h);
  left:0; right:0;
  background:#000d1f;
  border-bottom:1px solid var(--accent);
  transform-origin:top center;
  transform:scaleY(0.98) translateY(-6px);
  opacity:0;
  pointer-events:none;
  transition:transform .28s var(--ease), opacity .22s var(--ease);
  z-index:40;
}

nav.primary-nav[data-open="true"] {
  transform:scaleY(1) translateY(0);
  opacity:1;
  pointer-events:auto;
}

nav .menu { padding:12px 16px 18px; }
nav .menu li { margin:6px 0; }

nav .menu a {
  display:block;
  padding:10px 8px;
  font-weight:600;
  border-bottom:4px solid transparent;
}
nav .menu a:hover,
nav .menu a:focus {
  color:var(--accent);
  border-bottom:4px solid var(--accent);
}

/* Desktop nav */
@media (min-width:768px) {
  .nav-toggle { display:none; }
  nav.primary-nav {
    position:static;
    transform:none;
    opacity:1;
    pointer-events:auto;
    border-bottom:0;
    margin-left:auto;
  }
  nav .menu {
    display:flex;
    gap:18px;
    padding:0;
  }
  nav .menu li { margin:0; }
  nav .menu a { padding:12px 6px; font-weight:600; }
  .brand { margin-right:auto; }
}

@media (prefers-reduced-motion:reduce) {
  .hamburger span,
  nav.primary-nav,
  .nav-toggle,
  .skip-link { transition:none; }
}

/* ============================================================
   LAYOUT / GENERIC SECTIONS
============================================================ */
main { margin:0 auto; }
section {
  padding:48px 48px;
  border-bottom:1px solid rgba(0,0,0,.03);
}
section h2 { margin:0 0 12px; }

#home {
  height:600px;
  background:var(--text);
  color:var(--bg);
}

/* ============================================================
   HOME SLIDER
============================================================ */
.home-section {
  position: relative;
  height: 600px;
  padding: 0;
  background: var(--bg);
  color: var(--text);
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 23, 49, 0.7);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 40px;
  color: var(--text);
  animation: fadeInUp 0.8s ease forwards;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.3rem;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.hero-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(203, 178, 122, 0.4);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-dots span.active {
  background: var(--accent);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .home-section {
    height: 400px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-content {
    padding: 0 20px;
  }
}

/* ============================================================
   ABOUT SECTION
============================================================ */
.about-section {
  padding:40px 20px;
  border-bottom:1px solid rgba(255,255,255,0.03);
}

.about-inner {
  max-width:1100px;
  margin:0 auto;
  display:grid;
  gap:24px;
  grid-template-columns:1fr;
}

.about-img-wrap {
  width:100%;
  height:440px;
  overflow:hidden;
  border-radius:12px;
}

.about-img-wrap img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top;
}

.about-content p {
  margin:8px 0 14px;
  color:rgba(255,255,255,0.9);
}

@media (min-width:700px) {
  .about-section { padding:56px 28px; }
  .about-inner {
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:center;
  }
}

/* ============================================================
   SERVICES SECTION
============================================================ */
.services {
  padding:40px 20px;
  background:var(--text);
  color:var(--bg);
  border-bottom:2px solid var(--accent);
}

.services-inner {
  max-width:1100px;
  margin:0 auto;
}

.services-intro {
  text-align:center;
  margin-bottom:20px;
}

.services-grid {
  display:grid;
  gap:16px;
  grid-template-columns:1fr;
  align-items:start;
}

.service-card {
  background:var(--text);
  padding:18px;
  border-radius:14px;
  display:flex;
  flex-direction:column;
  gap:12px;
  text-align:center;
  min-height:220px;
  transition:transform .18s var(--ease); 
}

.service-card:hover,
.service-card:focus-within {
  transform:translateY(-4px);
}

.icon-wrap {
  width:84px;
  height:84px;
  margin:0 auto;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--accent);
  background:linear-gradient(180deg, rgba(203,178,122,0.12), rgba(203,178,122,0.04));
  border:1px solid rgba(203,178,122,0.12);
}

.service-card i { font-size:1.8rem; }

@media (min-width:600px) {
  .services { padding:56px 28px; }
  .services-grid { grid-template-columns:repeat(2,1fr); }
  .service-card { padding:22px; min-height:260px; }
  .icon-wrap { width:96px; height:96px; }
}

@media (min-width:1000px) {
  .services-grid { grid-template-columns:repeat(4,1fr); }
}

/* ============================================================
   TEAM SECTION
============================================================ */
.team {
  padding:40px 20px;
  background:var(--bg);
  color:var(--text);
  border-bottom:2px solid var(--accent);
}

.team-inner {
  max-width:1100px;
  margin:0 auto;
}

.team-grid {
  display:grid;
  gap:16px;
  grid-template-columns:1fr;
}

.team-card {
  padding:18px;
  border-radius:14px;
  display:flex;
  flex-direction:column;
  gap:12px;
  text-align:center;
  min-height:220px;
}

.team-card h3 {
  margin: 0;
}

.team-card h4 {
  font-style: italic;
}

.team-card p {
  font-style: italic;
}

.member-photo {
  width:168px;
  height:168px;
  border-radius:50%;
  margin:0 auto;
  border:2px solid var(--accent);
}
.member-photo img {
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;
}

.team-card .cta {
  font-size:1.2rem;
  margin-top:auto;
  padding:8px 12px;
  background:transparent;
  color:var(--accent);
  border:1px solid rgba(203,178,122,0.18);
  border-radius:10px;
  cursor:pointer;
  transition:background .18s var(--ease), color .18s var(--ease), transform .12s var(--ease);
}

.team-card .cta:hover,
.team-card .cta:focus {
  background:var(--accent);
  color:var(--bg);
  transform:translateY(-2px);
}

@media (min-width:600px) {
  .team { padding:56px 28px; }
  .team .services-grid { grid-template-columns:repeat(2,1fr); }
  .team-card { padding:22px; min-height:260px; }
}

@media (min-width:768px) {
  .team .services-grid { grid-template-columns:repeat(3,1fr); }
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials {
  background:var(--text);
  padding:60px 20px;
  text-align:center;
}

.testimonials-title { color:var(--bg); margin-bottom:30px; }

.testimonial-slider {
  position:relative;
  overflow:hidden;
  min-height:180px;
}

.testimonial {
  opacity:0;
  position:absolute;
  width:100%;
  top:0;
  left:0;
  padding:0 10px;
  transition:opacity .7s ease;
}

.testimonial.active {
  position:relative;
  opacity:1;
}

.quote {
  color:var(--bg);
  margin-bottom:12px;
  font-style:italic;
}
.author { color:var(--accent); }

.dots {
  margin-top:20px;
  display:flex;
  justify-content:center;
  gap:8px;
}
.dots span {
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--bg);
  transition:background .3s ease, transform .3s ease;
  cursor:pointer;
}
.dots span.active {
  background:var(--accent);
  transform:scale(1.3);
}

/* ============================================================
   CONTACT SECTION
============================================================ */
.contact-section {
  padding:40px 20px;
  border-bottom:1px solid rgba(255,255,255,0.05);
}

.contact-inner {
  max-width:1100px;
  margin:0 auto;
  display:grid;
  gap:28px;
  grid-template-columns:1fr;
}

.social-links {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.social-btn {
  display:flex;
  align-items:center;
  gap:6px;
  padding:8px 14px;
  font-weight:600;
  color:var(--accent);
  background:var(--bg);
  border-radius:10px;
  border:1px solid var(--accent);
  transition:all .4s var(--ease);
}

.social-btn:hover {
  background:var(--accent);
  color:var(--bg);
}

.contact-form {
  display:grid;
  gap:18px;
}

.contact-form label span {
  display:block;
  margin-bottom:6px;
  color:var(--accent);
}

.contact-form input,
.contact-form textarea {
  width:100%;
  padding:12px 14px;
  border-radius:8px;
  background:rgba(255,255,255,0.07);
  border:1px solid rgba(255,255,255,0.15);
  color:var(--text);
  transition:border-color .25s var(--ease), background .25s var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color:var(--accent);
  background:rgba(255,255,255,0.12);
  outline:none;
}

.contact-submit {
  width:100%;
  padding:12px;
  margin-top:8px;
  background:var(--accent);
  color:var(--bg);
  border:0;
  border-radius:10px;
  font-weight:700;
  cursor:pointer;
  transition:transform .2s var(--ease), opacity .2s var(--ease);
}

.contact-submit:hover {
  transform:translateY(-3px);
  opacity:.92;
}

@media (min-width:768px) {
  .contact-inner {
    grid-template-columns:1fr 1fr;
    gap:40px;
  }
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  padding:40px 20px 20px;
  background:#000d1f;
  color:var(--text);
}

.footer-inner {
  max-width:1100px;
  margin:0 auto;
  text-align:center;
  display:grid;
  gap:24px;
}

.footer-brand h3 { margin:0; }
.footer-brand p {
  margin:0;
  color:rgba(255,255,255,0.65);
  font-family:'Cormorant Garamond', serif;
}

.footer-nav {
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  justify-content:center;
}

.footer-nav a {
  padding:4px 6px;
  font-weight:600;
  color:rgba(255,255,255,0.85);
  transition:color .25s var(--ease);
}
.footer-nav a:hover { color:var(--accent); }

.footer-social a {
  margin:0 10px;
  color:rgba(255,255,255,0.85);
  transition:color .25s var(--ease), transform .25s var(--ease);
}
.footer-social a:hover {
  color:var(--accent);
  transform:translateY(-3px);
}

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

.footer-bottom p{
  margin: auto;
}

@media (min-width:768px) {
  .footer-inner {
    grid-template-columns:1fr auto 1fr;
    text-align:left;
    align-items:center;
  }
  .footer-social { justify-self:end; }
}
.footer-bottom a {
    text-decoration: none; /* Remove default underline */
    transition: color 0.3s ease, border-bottom 0.3s ease; /* Smooth transition for color/border */
}
.footer-bottom a:hover {
    color: #fff; /* White or a brighter shade on hover */
}
