@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
  --primary: #0a2540;
  --secondary: #d4af37; /* gold accent */
  --text: #333;
  --text-light: #666;
  --bg: #f8f9fa;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body { 
    font-family: 'Inter', sans-serif; 
    margin: 0; padding: 0; 
    color: var(--text); 
    background-color: var(--bg);
    line-height: 1.7; 
    display: flex; flex-direction: column; min-height: 100vh;
}

/* Header */
header { 
    background: var(--white); 
    padding: 15px 5%; 
    display: flex; justify-content: space-between; align-items: center; 
    position: sticky; top: 0; z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
header.scrolled { padding: 10px 5%; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.logo img { height: 280px; transition: height 0.3s ease; mix-blend-mode: multiply; }
header.scrolled .logo img { height: 120px; }

/* Navigation */
.nav-links { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { 
    text-decoration: none; color: var(--primary); font-weight: 600; 
    transition: color 0.3s; position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -5px; left: 0; background-color: var(--secondary);
    transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--secondary); }

.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--primary); }

/* Buttons */
.btn { 
    display: inline-block; background: var(--primary); color: var(--white); 
    padding: 12px 28px; text-decoration: none; border-radius: 4px; 
    font-weight: 600; border: none; cursor: pointer;
    transition: all 0.3s ease; box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.btn:hover { background: var(--secondary); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0,0,0,0.15); }

/* Hero */
.hero { 
    background: linear-gradient(rgba(10, 37, 64, 0.8), rgba(10, 37, 64, 0.8)), url('../images/hero_coastal.jpg') no-repeat center center/cover; 
    color: var(--white); padding: 120px 20px; text-align: center; 
}
.hero h1 { font-size: 3.5rem; margin-bottom: 15px; font-weight: 700; letter-spacing: -1px; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; max-width: 600px; margin-inline: auto; color: #ddd; }

/* Layout & Cards */
.container { padding: 60px 5%; max-width: 1200px; margin: 0 auto; flex: 1; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; margin-top: 40px; }
.card { 
    background: var(--white); border-radius: 8px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    transition: all 0.3s ease; border: 1px solid #eee; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.card img { width: 100%; height: 220px; object-fit: cover; border-bottom: 1px solid #eee; }
.card-content { padding: 25px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.card-content h3 { margin-top: 0; color: var(--primary); }
.card-content p { color: var(--text-light); margin-bottom: 25px; flex: 1; }

/* Footer */
footer { background: var(--primary); color: #aaa; text-align: center; padding: 30px; margin-top: auto; font-size: 0.9rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 40px;}
.contact-grid h2 { color: var(--primary); }
input, textarea { 
    width: 100%; padding: 12px; margin-bottom: 20px; 
    border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box; 
    font-family: 'Inter', sans-serif; transition: border-color 0.3s;
}
input:focus, textarea:focus { outline: none; border-color: var(--secondary); }

/* Animations */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Mobile */
@media(max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav-links { 
      position: absolute; top: 100%; left: 0; width: 100%; background: var(--white);
      flex-direction: column; gap: 0; max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
      box-shadow: 0 10px 10px rgba(0,0,0,0.05);
  }
  .nav-links.active { max-height: 100vh; overflow-y: auto; padding-bottom: 20px; }
  .nav-links li { text-align: center; padding: 15px 0; border-top: 1px solid #eee; }
  .hero h1 { font-size: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* Testimonials */
.testimonials { background: var(--primary); color: var(--white); padding: 80px 5%; text-align: center; margin-top: 60px; }
.testimonials h2 { color: var(--secondary); font-size: 2.2rem; margin-bottom: 50px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.review-card { background: rgba(255,255,255,0.05); padding: 30px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); transition: transform 0.3s; text-align: left; display: flex; flex-direction: column; }
.review-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.08); }
.stars { color: #f5b301; font-size: 1.4rem; margin-bottom: 15px; letter-spacing: 2px; }
.quote { font-style: italic; font-size: 1.05rem; margin-bottom: 20px; line-height: 1.6; color: #ddd; flex: 1; }
.author { font-weight: 600; font-size: 0.95rem; color: var(--secondary); text-transform: uppercase; letter-spacing: 1px; }


/* Lightbox */
#lightbox { position: fixed; z-index: 2000; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; cursor: pointer; }
#lightbox.active { opacity: 1; pointer-events: auto; }
#lightbox img { max-width: 90%; max-height: 90%; border-radius: 4px; box-shadow: 0 0 25px rgba(0,0,0,0.5); cursor: default; }
.gallery-item img { cursor: zoom-in; transition: transform 0.4s ease; }
.gallery-item { overflow: hidden; }
.gallery-item:hover img { transform: scale(1.08); }

/* Filters */
.filter-container { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn { background: transparent; border: 2px solid var(--primary); color: var(--primary); padding: 8px 24px; border-radius: 30px; cursor: pointer; font-weight: 600; transition: all 0.3s; font-family: 'Inter', sans-serif;}
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: var(--white); box-shadow: 0 4px 10px rgba(0,0,0,0.1);}
.project-card { transition: opacity 0.3s ease, transform 0.3s ease; }


