/* OrbDeep - Main Stylesheet
   Modern, sleek styling with OrbDeep brand colors */

:root {
  --primary-blue: #0071BC;  /* Primary Blue from logo */
  --accent-blue: #00AEEF;   /* Accent Blue from logo */
  --orange: #F7931E;        /* Orange from logo */
  --white: #FFFFFF;         /* White from logo */
  --dark-blue: #0A0A0A;     /* Dark Blue for footer */
  --text-dark: #232323;
  --text-light: var(--white);
  --section-padding: 5rem 0;
  --transition: all 0.3s ease-in-out;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%; /* 1rem = 10px */
}

body {
  font-family: 'Inter', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: var(--section-padding);
}

.btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  background-color: var(--orange);
  color: var(--text-light);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn:hover {
  background-color: #e68212;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 4.8rem;
}

h2 {
  font-size: 3.6rem;
}

h3 {
  font-size: 2.4rem;
}

p {
  margin-bottom: 1.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 0.3rem;
  background-color: var(--orange);
}

/* Header Styles */
header {
  background-color: var(--white);
  color: var(--primary-blue);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.95);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
}

.logo {
  height: 7rem;
  max-width: 250px;
  object-fit: contain;
}

.text-logo {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary-blue);
  background-color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  position: relative;
  display: inline-block;
}

.text-logo::before {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--orange);
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--primary-blue);
  font-weight: 600;
  padding: 0.8rem 1.2rem;
  position: relative;
  border-radius: 4px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background-color: var(--primary-blue);
  color: var(--white);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--primary-blue);
  bottom: 0;
  left: 0;
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 0; /* Removing the underline since we're using background color */
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--primary-blue);
  font-size: 2.4rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 113, 188, 0.9), rgba(0, 113, 188, 0.8)), url('../img/hero-bg.svg') no-repeat center center/cover;
  color: var(--text-light);
  text-align: center;
  padding-top: 8rem;
}

.hero-content {
  max-width: 80rem;
  margin: 0 auto;
}

.hero-tagline {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--orange);
}

.hero-pitch {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  max-width: 70rem;
  margin-left: auto;
  margin-right: auto;
}

/* Mission Section */
.mission {
  background-color: var(--white);
}

.mission-content {
  text-align: center;
  max-width: 80rem;
  margin: 0 auto;
}

.mission-text {
  font-size: 1.8rem;
  font-weight: 500;
}

/* Brands Section */
.brands {
  background-color: #f8f9fa;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.brand-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.brand-card-content {
  padding: 2rem;
}

.brand-name {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-size: 2.2rem;
}

.brand-description {
  margin-bottom: 2rem;
  color: #555;
}

.brand-link {
  color: var(--accent-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.brand-link i {
  margin-left: 0.5rem;
  transition: var(--transition);
}

.brand-link:hover i {
  transform: translateX(3px);
}

/* Innovation Section */
.innovation {
  background-color: var(--primary-blue);
  color: var(--text-light);
}

.innovation-content {
  text-align: center;
  max-width: 80rem;
  margin: 0 auto;
}

.innovation-highlight {
  margin-top: 3rem;
  padding: 3rem;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.innovation-title {
  color: var(--orange);
}

/* Contact Section */
.contact {
  background-color: #f8f9fa;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info h3 {
  color: var(--primary-blue);
}

.contact-email {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}

.contact-email i {
  margin-right: 1rem;
  color: var(--accent-blue);
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
  min-height: 12rem;
}

/* Footer */
footer {
  background-color: var(--dark-blue);
  color: var(--text-light);
  padding: 5rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-column h3 {
  margin-bottom: 2rem;
  color: var(--orange);
}

.footer-links li {
  margin-bottom: 1rem;
}

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

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--orange);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.4rem;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  html {
    font-size: 60%;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 57.5%;
  }
  
  .nav-links {
    position: fixed;
    top: 7rem;
    right: -100%;
    flex-direction: column;
    background-color: var(--primary-blue);
    width: 70%;
    height: calc(100vh - 7rem);
    padding: 3rem;
    transition: 0.3s;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 4rem;
  }
}

@media screen and (max-width: 576px) {
  html {
    font-size: 55%;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .brands-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}
