/* Home Page Specific Styles */
body {
  overflow: hidden; /* Prevent scrolling on desktop */
}

.main-container {
  height: 100vh;
  display: flex;
  position: relative;
}

/* Left Side - Image */
.image-section {
  flex: 1.3;
  background: linear-gradient(135deg,
    rgba(34, 197, 94, 0.08),
    rgba(16, 185, 129, 0.04)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  min-height: 100vh;
}

.profile-container {
  position: relative;
  z-index: 2;
}

.profile-image {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  object-fit: cover;
  border: 8px solid white;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.profile-image:hover {
  transform: scale(1.02);
}

/* Right Side - Content */
.content-section {
  flex: 1;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg,
    hsl(var(--background)),
    hsl(var(--muted) / 0.3)
  );
  min-height: 100vh;
}

.content-header h1 {
  font-size: 4rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.content-header .subtitle {
  font-size: 1.75rem;
  color: hsl(var(--primary));
  font-weight: 500;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.company-info {
  margin-bottom: 2.5rem;
}

.company-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: hsl(var(--muted-foreground));
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: var(--radius);
}

.company-link:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--accent));
  transform: translateY(-1px);
}

.company-logo {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: contain;
}

.company-name {
  font-size: 1.1rem;
  font-weight: 500;
}

.content-description {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.8;
  margin-bottom: 3.5rem;
  max-width: 550px;
  font-weight: 400;
}

.content-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Social Media Links */
.social-link {
  background: linear-gradient(135deg,
    hsl(var(--primary)),
    hsl(var(--primary) / 0.9)
  );
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
  width: 60px;
  height: 60px;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.4);
}

.social-link:first-child:hover {
  background: linear-gradient(135deg, #0077b5, #005885);
  box-shadow: 0 8px 30px rgba(0, 119, 181, 0.4);
}

.social-link:last-child:hover {
  background: linear-gradient(135deg, #333, #000);
  box-shadow: 0 8px 30px rgba(51, 51, 51, 0.4);
}

/* Side Navigation - base styles are in common.css */

.header {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 280px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-right: 1px solid hsl(var(--border) / 0.3);
  z-index: 2000;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
}

.header.open {
  transform: translateX(0);
}

.header .logo {
  padding: 0 2rem;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  text-decoration: none;
}

.header .nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 1rem;
}

.header .nav > a,
.header .dropdown-toggle {
  padding: 0.75rem 1rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  width: 100%;
  font-size: 1rem;
  cursor: pointer;
}

.header .nav > a:hover,
.header .dropdown-toggle:hover,
.header .nav > a.active {
  background: hsl(var(--accent));
  color: hsl(var(--foreground));
}

.header .dropdown {
  position: relative;
}

.header .dropdown-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.25rem;
  margin-left: 0;
  padding-left: 0;
}

.header .dropdown-menu.show {
  display: flex;
}

.header .dropdown-menu a {
  padding: 0.5rem 1rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  font-size: 0.9rem;
  margin-left: 1rem;
}

.header .dropdown-menu a:hover {
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
}

.nav-close-btn {
  background: none;
  border: none;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.nav-close-btn:hover {
  background: hsl(var(--accent));
  color: hsl(var(--foreground));
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Dark mode adjustments */
.dark .header {
  background: rgba(15, 15, 15, 0.95);
}

.dark .content-section {
  background: linear-gradient(135deg,
    hsl(var(--background)),
    hsl(var(--card) / 0.5)
  );
}

.dark .profile-image {
  border-color: hsl(var(--border));
}

/* Responsive Design */
@media (max-width: 1024px) {
  .content-section {
    padding: 3rem;
  }

  .content-header h1 {
    font-size: 3.5rem;
  }

  .profile-image {
    width: 420px;
    height: 420px;
  }
}

@media (max-width: 768px) {
  body {
    overflow: auto; /* Allow scrolling on mobile */
  }

  .main-container {
    height: auto;
    min-height: 100vh;
    flex-direction: column;
    position: relative; /* contain the absolute tech-cloud */
  }

  .image-section {
    padding: 3rem 2rem;
    height: 55vh;
    min-height: auto;
  }

  .profile-image {
    width: 320px;
    height: 320px;
    border-width: 6px;
  }

  .content-section {
    padding: 3rem 2rem;
    text-align: center;
    min-height: auto;
  }

  .content-header h1 {
    font-size: 2.75rem;
  }

  .content-header .subtitle {
    font-size: 1.5rem;
  }

  .content-description {
    max-width: none;
    font-size: 1.125rem;
  }

  .content-buttons {
    justify-content: center;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .image-section {
    padding: 1.5rem 1rem;
    height: 52vh;
  }

  .profile-image {
    width: 200px;
    height: 200px;
  }

  .content-section {
    padding: 2rem 1.5rem;
  }

  .content-header h1 {
    font-size: 2.25rem;
  }

  .content-buttons {
    flex-direction: column;
    align-items: center;
  }

  .social-link {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}
