/* Landing (Home) Section Styles */
body.landing-active {
  background-color: transparent !important;
  background-image: url('../imgs/bg.png.png') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  opacity: 1 !important;
}

body:not(.landing-active) {
  opacity: 1 !important;
}

#home {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: transparent !important;
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: transparent;
}

.home-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

#home h1 {
  font-size: 4em;
  margin-bottom: 20px;
  background: linear-gradient(45deg, var(--accent-red), var(--accent-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeIn 1s ease-out;
}

#home p {
  font-size: 1.5em;
  color: var(--text-secondary);
  margin-bottom: 10px;
  animation: slideUp 1s ease-out;
}

.home-bg-overlay {
  display: none;
}

.home-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 48px;
}

.profile-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--accent-red);
  box-shadow: 0 4px 24px var(--shadow-darker);
  background: var(--gray-dark);
}

.home-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.home-hero-wix {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--bg-overlay);
  border-radius: 32px;
  box-shadow: 0 8px 40px 0 var(--shadow-dark);
  padding: 48px 24px 48px 24px;
}

.home-img-rect {
  flex: 0 0 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 8px 40px 0 var(--shadow-darker);
  background: var(--gray-dark);
  position: relative;
}

.home-img-rect::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to right, var(--bg-overlay-11) 60%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.profile-img-rect {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 32px;
  display: block;
  z-index: 1;
  filter: drop-shadow(0 8px 32px var(--shadow-darker));
}

.home-hero-text {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  margin-left: -4rem;
}

.home-title {
  font-size: 2.8em;
  font-weight: 900;
  color: var(--text-primary) !important;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 8px;
  font-family: 'Quicksand', sans-serif;
}

.home-subtitle {
  font-size: 1.4em;
  color: var(--accent-red) !important;
  font-weight: 900;
  margin-bottom: 8px;
}

.home-desc {
  font-size: 1.1em;
  color: var(--text-primary);
  font-weight: 400;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .home-hero-wix {
    flex-direction: column;
    padding: 24px 10px 24px 10px;
    gap: 24px;
  }
  .home-img-rect {
    width: 90vw;
    height: 220px;
    min-width: 0;
    border-radius: 18px;
  }
  .profile-img-rect {
    border-radius: 18px;
  }
  .home-title {
    font-size: 1.5em;
  }
  .home-subtitle {
    font-size: 1em;
  }
  .home-desc {
    font-size: 0.98em;
  }
}

.home-hero-caro {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow: hidden;
}

.home-caro-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 1rem;
  z-index: 2;
  background: transparent;
  width: 70%;
  flex-shrink: 0;
  margin: 0;
}

.home-caro-title {
  font-size: 3.2em;
  font-weight: 900;
  color: white;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 18px;
  font-family: 'Quicksand', sans-serif;
  text-align: left;
}

.home-caro-title .accent {
  color: var(--accent-red);
  font-weight: 900;
}

.home-caro-dot {
  color: var(--accent-red);
  font-size: 1.4em;
  font-weight: 900;
  vertical-align: middle;
  margin-left: 0.1em;
}

.home-caro-subtitle {
  font-size: 1.1em;
  color: white;
  opacity: 0.9;
  font-weight: 400;
  margin-bottom: 0;
  letter-spacing: 0.08em;
}

.home-caro-desc {
  font-size: 1.2rem;
  margin-top: 1rem;
  color: white;
}

.home-caro-img-rect {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.resume-download-btn {
  margin-top: 2rem;
  padding: 1rem 2rem;
  background: var(--accent-primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.resume-download-btn:hover {
  background: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.contact-side-panel {
  display: none;
  background: rgba(108, 117, 125, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  gap: 3rem;
  width: 30%;
  height: 100vh;
  margin: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1;
}

body.landing-active .contact-side-panel {
  display: flex;
}

.contact-side-panel-profile {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.contact-side-panel-img {
  width: 80%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  margin: 0;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 4px 16px var(--shadow-medium);
}

.contact-side-panel-details {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

.contact-side-panel-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--accent-primary);
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
  text-decoration: none;
  color: var(--white);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

.contact-side-panel-detail:nth-child(1) {
  background: #28a745;
  border-color: #28a745;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

.contact-side-panel-detail:nth-child(2) {
  background: #007bff;
  border-color: #007bff;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.contact-side-panel-detail:nth-child(3) {
  background: #ffc107;
  border-color: #ffc107;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

.contact-side-panel-detail:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.contact-side-panel-detail:nth-child(1):hover {
  background: #1e7e34;
  border-color: #1e7e34;
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.contact-side-panel-detail:nth-child(2):hover {
  background: #0056b3;
  border-color: #0056b3;
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.contact-side-panel-detail:nth-child(3):hover {
  background: #e0a800;
  border-color: #e0a800;
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.contact-side-panel-detail i {
  font-size: 1.3rem;
}

#home .contact-side-panel .resume-download-btn {
  margin-top: 2rem;
  padding: 0.8rem 1.5rem;
  background: var(--accent-primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

#home .contact-side-panel .resume-download-btn:hover {
  background: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.floating-contact-card {
  display: none;
}

@media (max-width: 1200px) {
  .home-hero-caro {
    padding: 0 3%;
  }
}

@media (max-width: 1200px) {
  .home-caro-text {
    padding: 0 2rem;
  }
  
  #home .contact-side-panel {
    width: 35%;
  }
}

@media (max-width: 768px) {
  #home {
    padding-top: 120px;
  }
  
  .home-hero-caro {
    flex-direction: column;
    text-align: left;
    padding-top: 120px;
  }

  .home-caro-text {
    align-items: flex-start;
    padding: 0 0.5rem;
    width: 100%;
    margin-top: 100px;
  }

  #home .contact-side-panel {
    display: none;
  }
}

@media (max-width: 480px) {
  #home {
    padding-top: 160px;
  }
  
  .home-hero-caro {
    padding-top: 140px;
    text-align: left;
  }
  
  .home-caro-text {
    padding: 0 0.25rem;
    margin-top: 120px;
    align-items: flex-start;
  }
  
  .home-caro-title {
    font-size: 2.5em;
    text-align: left;
  }
  
  .contact-side-panel-img {
    width: 150px;
    height: 150px;
  }
  
  .contact-side-panel-detail {
    width: 35px;
    height: 35px;
  }
  
  .contact-side-panel-detail.phone {
    width: 45px;
    height: 25px;
  }
}

@media (max-width: 360px) {
  #home {
    padding-top: 200px;
  }
  
  .home-hero-caro {
    padding-top: 180px;
    text-align: left;
  }
  
  .home-caro-text {
    padding: 0 0.1rem;
    margin-top: 160px;
    align-items: flex-start;
  }
  
  .home-caro-title {
    font-size: 2em;
    text-align: left;
  }
}

.resume-download-btn:hover {
  background: rgba(255, 0, 0, 0.15);
  transform: translateY(-2px);
}

.resume-download-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.resume-download-btn i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.resume-download-btn:hover i {
  transform: translateY(-2px);
}

.home-caro-img-rect {
  flex: 0 0 36vw;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  height: 100vh;
  min-width: 280px;
  max-width: 440px;
  overflow: visible;
  background: none;
  margin-left: 0;
  margin-right: 8vw;
}

.profile-img-caro-container {
  position: relative;
  width: 100%;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: none;
}

.profile-img-caro-container::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 70%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.99) 100%);
  z-index: 3;
  pointer-events: none;
}

.profile-img-caro {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 0;
  box-shadow: none;
  background: none;
  filter: none;
  display: block;
  position: relative;
  z-index: 1;
}

.profile-img-caro-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.2);
  border-radius: 0;
  z-index: 2;
  pointer-events: none;
}

#typed-subtitle {
  color: var(--accent-red) !important;
  font-weight: 900;
  font-size: 1.4em;
}

/* Landing Page Navbar */
body.landing-active .navbar {
    background: rgba(108, 117, 125, 0.1) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.landing-active .navbar.scrolled {
    background: rgba(108, 117, 125, 0.15) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body.landing-active .navbar-left a {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}



body.landing-active .navbar-right a {
    color: white !important;
}

body.landing-active .navbar-right a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

body.landing-active .navbar-right a:hover::after {
  width: 100%;
}

body.landing-active .navbar-right a:hover {
    color: white !important;
}

body.landing-active .navbar-right a.active {
    color: white !important;
    opacity: 1;
}

body.landing-active .navbar-right a:active {
    color: var(--accent-primary) !important;
} 