/* Logo Styles */
.logo-img {
  height: 50px;
  width: auto;
  display: block;
}

.logo-img-footer {
  height: 60px;
  width: auto;
  display: block;
  margin-bottom: 1rem;
}

.text-logo {
  display: none;
}

/* Fallback when logo image is not available */
.logo-img:not([src]) + .text-logo,
.logo-img-footer:not([src]) + .text-logo {
  display: block;
}

/* Page Header */
.page-header {
  padding: 150px 0 100px;
  text-align: center;
  background: linear-gradient(135deg, rgba(10, 10, 26, 0.9), rgba(5, 5, 16, 0.9));
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 255, 231, 0.1) 0%, rgba(10, 10, 26, 0) 70%);
  z-index: -1;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Page Content */
.page-content {
  padding: 100px 0;
}

/* About Page */
.about-detail {
  display: flex;
  gap: 3rem;
  margin-bottom: 5rem;
}

.about-detail .about-text {
  flex: 1;
}

.about-detail .about-text h2 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.about-detail .about-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-large {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(0, 255, 231, 0.1), rgba(155, 92, 255, 0.1));
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--primary-color);
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
}

.profile-large::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: conic-gradient(transparent, var(--primary-color), transparent 30%);
  animation: rotate 2s linear infinite;
}

.profile-large i {
  font-size: 10rem;
  color: var(--primary-color);
  z-index: 1;
  background: var(--dark-bg);
  border-radius: 50%;
  width: 90%;
  height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-img-large {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 1;
  display: block;
}

.philosophy-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.philosophy-item {
  text-align: center;
  padding: 2rem;
  background: rgba(10, 10, 26, 0.7);
  border-radius: 15px;
  border: 1px solid rgba(155, 92, 255, 0.2);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.philosophy-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.philosophy-item i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.philosophy-item h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Projects Page */
.projects-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 10px 20px;
  background: transparent;
  color: var(--light-text);
  border: 1px solid var(--secondary-color);
  border-radius: 30px;
  cursor: pointer;
  font-family: 'Orbitron', sans-serif;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: var(--transition);
  z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
  width: 100%;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--darker-bg);
  border-color: var(--primary-color);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background: rgba(10, 10, 26, 0.7);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(155, 92, 255, 0.2);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.project-card .project-image {
  height: 200px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-card .project-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(10, 10, 26, 0.8);
}

.project-card .project-placeholder i {
  font-size: 4rem;
  color: var(--primary-color);
}

.project-card .project-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card .project-content h3 {
  margin-bottom: 1rem;
}

.project-card .project-content p {
  margin-bottom: 1.5rem;
  flex: 1;
}

.project-card .project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.project-card .tech-tag {
  background: rgba(0, 255, 231, 0.1);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-family: 'Orbitron', sans-serif;
}

.project-card .project-links {
  display: flex;
  gap: 1rem;
}

.project-card .project-btn {
  padding: 8px 20px;
  font-size: 0.8rem;
  flex: 1;
  text-align: center;
}

/* Contact Page */
.contact-page-content {
  display: flex;
  gap: 3rem;
}

.contact-info {
  flex: 1;
}

.contact-info h2,
.contact-form h2 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.contact-details {
  margin: 2rem 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
  min-width: 30px;
}

.contact-item h4 {
  margin-bottom: 0.3rem;
}

.social-links-large {
  margin-top: 3rem;
}

.social-links-large h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(155, 92, 255, 0.1);
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: var(--transition);
  border: 1px solid rgba(155, 92, 255, 0.2);
}

.social-links a:hover {
  background: var(--primary-color);
  color: var(--darker-bg);
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.contact-form {
  flex: 1;
  background: rgba(10, 10, 26, 0.7);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(155, 92, 255, 0.2);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  background: rgba(5, 5, 16, 0.7);
  border: 1px solid rgba(155, 92, 255, 0.2);
  color: var(--light-text);
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 255, 231, 0.3);
}

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

/* Contact Response Page */
.contact-response {
  padding: 150px 0 100px;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.response-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(10, 10, 26, 0.7);
  border-radius: 15px;
  border: 1px solid rgba(155, 92, 255, 0.2);
  box-shadow: var(--box-shadow);
}

.success-message i,
.error-message i {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.success-message i {
  color: #00ffe7;
}

.error-message i {
  color: #ff4d4d;
}

.response-content h2 {
  margin-bottom: 1rem;
}

.response-content p,
.response-content ul {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.response-content ul {
  text-align: left;
  max-width: 300px;
  margin: 1rem auto 2rem;
}

.response-content ul li {
  margin-bottom: 0.5rem;
  color: var(--gray-text);
}

.response-content .btn {
  margin: 0 0.5rem;
}

/* Additional styles for specific pages */
/* This file contains responsive adjustments and additional styles for various pages */

/* Responsive adjustments for all pages */
@media screen and (max-width: 992px) {
    .container {
        width: 95%;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 576px) {
    .container {
        width: 95%;
        padding: 0 5px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 8px 15px;
        font-size: 0.7rem;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header h2::after {
        width: 50px;
        height: 3px;
    }
}

/* General responsive utilities */
.hidden-mobile {
    display: block;
}

.visible-mobile {
    display: none;
}

@media screen and (max-width: 768px) {
    .hidden-mobile {
        display: none;
    }
    
    .visible-mobile {
        display: block;
    }
}

/* Form responsive adjustments */
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    box-sizing: border-box;
}

@media screen and (max-width: 576px) {
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
}

/* Table responsive adjustments */
.table-responsive {
    overflow-x: auto;
}

.table-responsive table {
    min-width: 600px;
}

@media screen and (max-width: 768px) {
    table th,
    table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 576px) {
    table th,
    table td {
        padding: 0.5rem 0.25rem;
        font-size: 0.8rem;
    }
}

/* Card responsive adjustments */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

@media screen and (max-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
}

@media screen and (max-width: 576px) {
    .card-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Button group responsive adjustments */
.btn-group {
    display: flex;
    gap: 1rem;
}

@media screen and (max-width: 768px) {
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn {
        width: 100%;
        text-align: center;
    }
}

/* Utility classes for spacing */
@media screen and (max-width: 768px) {
    .mt-mobile {
        margin-top: 1rem;
    }
    
    .mb-mobile {
        margin-bottom: 1rem;
    }
    
    .pt-mobile {
        padding-top: 1rem;
    }
    
    .pb-mobile {
        padding-bottom: 1rem;
    }
}

@media screen and (max-width: 576px) {
    .mt-mobile-sm {
        margin-top: 0.5rem;
    }
    
    .mb-mobile-sm {
        margin-bottom: 0.5rem;
    }
    
    .pt-mobile-sm {
        padding-top: 0.5rem;
    }
    
    .pb-mobile-sm {
        padding-bottom: 0.5rem;
    }
}
