/* ?This is where reusable styling of this template will be. 
   !Will contain things like:
   * Button styling
   * Background color styling
   * padding and margin
*/

.container {
  max-width: var(--width-medium);
  margin: 0 auto;
  padding: 1rem 2rem;
}

h1::selection,
h2::selection {
  color: #111;
  background: var(--primary-color);
}

/* Enhanced Buttons - Modern Design */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  font-family: var(--font-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #000000;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
  outline: 2px solid #FFD700;
  outline-offset: 2px;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.95);
  color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  outline: 2px solid var(--aurora-purple);
  outline-offset: 2px;
}

/* Button icons */
.btn i {
  font-size: 0.875rem;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(2px);
}

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

/* Mobile button optimizations */
@media (max-width: 768px) {
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
  }
  
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn:hover {
    transform: none;
    box-shadow: inherit;
  }
  
  .btn:active {
    transform: scale(0.98);
  }
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: var(--space-2);
}

.theme-toggle-btn {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--apple-gray-700);
  font-size: 1.1rem;
}

.theme-toggle-btn:hover {
  background: var(--glass-bg-strong);
  transform: translateY(-2px);
  box-shadow: var(--glass-shadow-strong);
  color: var(--aurora-purple);
}

.theme-toggle-btn:active {
  transform: translateY(0);
}

.theme-toggle-btn i {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header Container */
.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 8rem;
  padding: 1rem;
}

.header-container > div {
  margin-top: 1rem;
}

.content-text {
  text-align: center;
  margin: 1.5rem 0;
}

.content-text h2 {
  font-size: 3rem;
  line-height: 1.2;
  transition: 0.2s ease-in-out;
}

.content-text p {
  padding: 0.5rem;
  margin: 0 auto;
  max-width: 700px;
}

/* Project cards */
.card {
  padding: 1rem;
  background: var(--card-background);
  color: #ffffff;
  border-radius: 5px;
  transition: 0.4s ease-in-out;
  cursor: pointer;
}

.card a {
  color: #ffffff;
  transition: 0.25s ease-in-out;
  font-size: 1.1rem;
  margin-right: 0.3rem;
}

.card a:hover {
  color: var(--primary-color);
}

.card:hover {
  box-shadow: inset 0 100px 1000px 10px rgba(0, 0, 0, 0.8);
}

.card:hover .project-info {
  opacity: 1;
}

/* Project Images - Updated for Hyperland Design */

/* project 1 */
.project-card:nth-child(1) .project-image {
  background: url(../assets/project/project-one.png) center center/cover;
}

/* Project 2 */
.project-card:nth-child(2) .project-image {
  background: url(../assets/project/project-two.png) center center/cover;
}

/* Project 3 */
.project-card:nth-child(3) .project-image {
  background: url(../assets/project/project-three.png) center center/cover;
}

/* Project 4 */
.project-card:nth-child(4) .project-image {
  background: url(../assets/project/project-four.png) center center/cover;
}

/* Project 5 */
.project-card:nth-child(5) .project-image {
  background: url(../assets/project/project-five.png) center center/cover;
}

/* Project 6 */
.project-card:nth-child(6) .project-image {
  background: url(../assets/project/project-six.png) center center/cover;
}

/* Media Queries */
@media (max-width: 768px) {
  .header-container {
    margin-top: 7rem;
    text-align: center;
  }

  .content-text h2 {
    font-size: 2.5rem;
  }
}
