/* Global Styles */
:root {
    --primary-color: #0a66c2;
    --secondary-color: #e1e8ed;
    --accent-color: #00a0dc;
    --text-color: #333;
    --light-text: #777;
    --white: #fff;
    --section-padding: 50px 0;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    padding: 0 15px;
}

/* Container */
.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.language-selector {
    position: relative;
}

.language-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: var(--transition);
}

.language-btn:hover {
    color: var(--primary-color);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px 0;
    min-width: 120px;
    z-index: 1000;
    display: none;
    list-style: none;
}

.language-dropdown.show {
    display: block;
}

.language-dropdown li {
    padding: 8px 15px;
    cursor: pointer;
    transition: var(--transition);
}

.language-dropdown li:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8)),
        url('./wrastling.jpg') center/cover;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--light-text);
}

.hero-img {
    border-radius: 50%;
    width: 250px;
    height: 250px;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin-right: 15px;
    margin-bottom: 15px;
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* About Section */
.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.about-text p {
    margin-bottom: 20px;
}

.about-img {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    padding: 0 15px;
}

.about-link {
    display: inline-block;
    transition: transform 0.3s ease;
    margin: 10px 0;
    outline: none;
}

.about-link:nth-child(odd) {
    align-self: flex-start;
}

.about-link:nth-child(even) {
    align-self: flex-end;
}

.about-linked-img {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: block;
    transition: box-shadow 0.3s ease;
}

.about-link:hover {
    transform: scale(1.05);
}

.about-link:hover .about-linked-img {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Portfolio Section */
.portfolio-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    grid-gap: 30px;
}

.portfolio-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-img {
    width: 100%;
    height: 200px;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
}

.portfolio-content {
    padding: 20px;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.portfolio-content p {
    margin-bottom: 15px;
    color: var(--light-text);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.tech-badge {
    padding: 5px 10px;
    background-color: var(--secondary-color);
    color: var(--text-color);
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 10px;
    margin-bottom: 10px;
}

.portfolio-links a {
    color: var(--primary-color);
    text-decoration: none;
    margin-right: 15px;
    transition: var(--transition);
}

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

/* Achievements Section */
#achievements {
    padding-top: 20px;
}

.achievements-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 30px;
}

.achievement-box {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.achievement-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.achievement-box h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.achievement-box h3 i {
    margin-right: 10px;
}

.achievement-item {
    display: flex;
    margin-bottom: 15px;
}

.achievement-item i {
    margin-right: 10px;
    color: var(--accent-color);
}

/* Contact Section */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

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

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

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

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--white);
    color: var(--text-color);
    border-radius: 50%;
    margin: 0 10px;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .navbar-container {
        padding: 15px 0;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-item {
        margin: 20px 0;
    }
    .nav-toggle {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .about-container {
        flex-direction: column;
    }
    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
    .about-img {
        padding-left: 0;
        padding-right: 0;
        align-items: center;
    }
    .about-link:nth-child(odd),
    .about-link:nth-child(even) {
        align-self: auto;
    }
    .portfolio-item {
        flex-basis: calc(50% - 20px);
    }
    .contact-container {
        flex-direction: column;
    }
    .contact-info,
    .contact-form {
        width: 100%;
        margin-bottom: 30px;
    }
    .contact-info {
        text-align: center;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0 15px;
    }

    .navbar-container {
        padding: 15px 0;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 10px 0;
        text-align: center;
    }

    .nav-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .about-text h3, .portfolio-content h3, .achievement-box h3, .contact-info h3 {
        font-size: 1.3rem;
    }

    .about-text p, .portfolio-content p, .achievement-item p, .contact-item p {
        font-size: 0.95rem;
    }

    .about-text, .about-img {
        flex: 100%;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .portfolio-container {
        grid-template-columns: 1fr;
        grid-gap: 20px;
    }

    .portfolio-item {
        padding-bottom: 15px;
    }

    .portfolio-content {
        padding: 15px;
    }

    .achievements-container {
        grid-template-columns: 1fr;
        grid-gap: 20px;
    }

    .achievement-box {
        padding: 20px;
    }

    .contact-info, .contact-form {
        flex: 100%;
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .about-linked-img {
        width: 150px;
        height: 150px;
    }
    .about-link {
        width: 150px;
        margin: 5px 0;
    }
    .portfolio-img {
        height: 180px;
        font-size: 2.5rem;
    }
    .achievement-box h3 {
        font-size: 1.2rem;
    }
}

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

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

/* Scroll Down Arrow Animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

/* Scroll Down Arrow */
#scroll-down-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.5rem;
  color: var(--primary-color);
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.5s ease;
  animation: bounce 2s infinite;
  z-index: 10;
}

#scroll-down-arrow:hover {
  color: var(--accent-color);
}

/* Disco Effect */
@keyframes disco-colors {
  0% { background-color: rgba(255, 0, 0, 0.5); }
  20% { background-color: rgba(255, 165, 0, 0.5); }
  40% { background-color: rgba(255, 255, 0, 0.5); }
  60% { background-color: rgba(0, 128, 0, 0.5); }
  80% { background-color: rgba(0, 0, 255, 0.5); }
  100% { background-color: rgba(128, 0, 128, 0.5); }
}

@keyframes disco-ball {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.disco-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  animation: disco-colors 0.8s infinite;
  display: none;
}

.disco-ball {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, white 10%, transparent 10%), 
              radial-gradient(circle, white 10%, transparent 10%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  border-radius: 50%;
  box-shadow: 0 0 25px 10px rgba(255, 255, 255, 0.8);
  animation: disco-ball 3s linear infinite;
}

.strobe {
  animation: strobe 0.3s infinite;
}

@keyframes strobe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}