/* ========================================
   SSD INVESTMENTS - MAIN STYLESHEET
   ======================================== */

/* ========== CSS VARIABLES ========== */
:root {
  --color-black: #000000;
  --color-charcoal-dark: #1a1a1a;
  --color-charcoal: #2D3748;
  --color-charcoal-medium: #4A5568;
  --color-gray: #718096;
  --color-gray-light: #A0AEC0;
  --color-gray-lighter: #CBD5E0;
  --color-off-white: #F7FAFC;
  --color-white: #ffffff;
  
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-strong: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* ========== RESET & BASE ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-charcoal);
  background-color: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

/* ========== UTILITY CLASSES ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
  color: var(--color-charcoal);
  letter-spacing: 2px;
  margin-bottom: 50px;
  text-align: center;
}

.section-title-light {
  color: var(--color-white);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 16px 45px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition-medium);
}

.btn-outline-white {
  background: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
}

.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-charcoal-dark);
}

.btn-full {
  width: 100%;
}

/* ========== HEADER / NAVIGATION ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: all var(--transition-medium);
}

.header.scrolled {
  background: var(--color-charcoal-dark);
  box-shadow: var(--shadow-medium);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 60px;
  transition: padding var(--transition-medium);
}

.header.scrolled .header-container {
  padding: 15px 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon {
  display: flex;
  gap: 4px;
  align-items: flex-end;
}

.logo-bar {
  width: 6px;
  background: linear-gradient(to top, var(--color-gray), var(--color-gray-light));
  border-radius: 2px;
  transition: height var(--transition-medium);
}

.logo-bar:nth-child(1) { height: 14px; }
.logo-bar:nth-child(2) { height: 20px; }
.logo-bar:nth-child(3) { height: 26px; }

.logo:hover .logo-bar:nth-child(1) { height: 18px; }
.logo:hover .logo-bar:nth-child(2) { height: 24px; }
.logo:hover .logo-bar:nth-child(3) { height: 30px; }

.logo-text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 3px;
}

.nav {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-gray-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-white);
  transition: width var(--transition-medium);
}

.nav-link:hover {
  color: var(--color-white);
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition-fast);
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 40px;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray-lighter);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 25px;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 45px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero .btn {
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--color-gray-light);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1s forwards;
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--color-gray-light), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* ========== MISSION SECTION ========== */
.mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 650px;
}

.mission-content {
  background: var(--color-gray-lighter);
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mission-content .section-title {
  text-align: left;
  margin-bottom: 40px;
}

.mission-text p {
  font-size: 16px;
  color: var(--color-charcoal-medium);
  line-height: 1.9;
  margin-bottom: 25px;
}

.mission-text p:last-child {
  margin-bottom: 0;
}

.mission-image {
  position: relative;
  background: url('https://images.unsplash.com/photo-1554469384-e58fac16e23a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

/* ========== EXPERTISE SECTION ========== */
.expertise {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 550px;
}

.expertise-image {
  position: relative;
  background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
}

.expertise-content {
  background: var(--color-off-white);
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.expertise-content .section-title {
  text-align: left;
  margin-bottom: 50px;
}

.expertise-block {
  margin-bottom: 40px;
}

.expertise-block:last-child {
  margin-bottom: 0;
}

.expertise-block h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-charcoal);
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.expertise-block p {
  font-size: 15px;
  color: var(--color-charcoal-medium);
  line-height: 1.85;
}

/* ========== SERVICES SECTION ========== */
.services {
  background: var(--color-charcoal-dark);
  padding: 120px 0;
}

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

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 45px 35px;
  transition: all var(--transition-medium);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

.service-icon {
  color: var(--color-gray-light);
  margin-bottom: 25px;
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 25px;
  line-height: 1.4;
}

.service-card ul {
  list-style: none;
}

.service-card li {
  font-size: 14px;
  color: var(--color-gray-light);
  padding: 10px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card li:last-child {
  border-bottom: none;
}

.service-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-gray);
}


/* ========== CASE STUDIES SECTION ========== */
.case-studies {
  background: var(--color-gray-lighter);
  padding: 120px 0;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.case-card {
  background: var(--color-white);
  padding: 50px 40px;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-medium);
}

.case-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-3px);
}

.case-card h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--color-gray-lighter);
}

.case-block {
  margin-bottom: 25px;
}

.case-block:last-child {
  margin-bottom: 0;
}

.case-block h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.case-block p {
  font-size: 14px;
  color: var(--color-charcoal-medium);
  line-height: 1.75;
}

/* ========== MARKETS SECTION ========== */
.markets {
  background: var(--color-charcoal);
  padding: 100px 0;
  text-align: center;
}

.markets-text {
  font-size: 16px;
  color: var(--color-gray-light);
  max-width: 800px;
  margin: -30px auto 50px;
  line-height: 1.8;
}

.markets-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.market-item {
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-gray-lighter);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all var(--transition-fast);
}

.market-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

/* ========== CONTACT SECTION ========== */
.contact {
  background: var(--color-charcoal-dark);
  padding: 120px 0;
}

.contact .section-title {
  margin-bottom: 20px;
}

.contact-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--color-gray-light);
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 14px;
  transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-gray);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gray-light);
  background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form .btn {
  margin-top: 10px;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-gray-light);
  font-size: 14px;
}

.contact-item svg {
  color: var(--color-gray);
}

.contact-item a:hover {
  color: var(--color-white);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--color-black);
  padding: 80px 0 40px;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo .logo-text {
  font-size: 14px;
  letter-spacing: 2px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--color-gray);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.footer-location {
  font-size: 14px;
  color: var(--color-gray-light);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--color-gray);
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-contact p {
  font-size: 14px;
  color: var(--color-gray);
  margin-bottom: 10px;
}

.footer-contact a:hover {
  color: var(--color-white);
}

.footer-address {
  margin-top: 20px;
  line-height: 1.7;
}

.footer-bottom {
  padding-top: 40px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--color-gray);
  letter-spacing: 1px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.8); }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .markets-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .header-container {
    padding: 20px 30px;
  }
  
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-charcoal-dark);
    flex-direction: column;
    padding: 30px;
    gap: 0;
  }
  
  .nav.active {
    display: flex;
  }
  
  .nav-link {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .mission,
  .expertise {
    grid-template-columns: 1fr;
  }
  
  .mission-image,
  .expertise-image {
    min-height: 400px;
    order: -1;
  }
  
  .mission-content,
  .expertise-content {
    padding: 60px 40px;
  }
  
  .case-studies-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 25px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .markets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-subtitle {
    font-size: 11px;
    letter-spacing: 4px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .section-title {
    font-size: 28px;
  }

  .markets-grid {
    grid-template-columns: 1fr;
  }
}
