:root {
    --primary-color: #6c63ff;
    --secondary-color: #ff6b6b;
    --background-dark: #0a0a0a;
    --background-light: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --glow-color: rgba(108, 99, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: transparent;
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 1rem 5%;
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--glow-color);
    position: relative;
    transition: all 0.3s ease;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    padding: 0.5rem 0.5rem;
    transition: all 0.3s ease;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--glow-color);
}

.cv-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    color: white !important;
    box-shadow: 0 0 15px var(--glow-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

.cv-btn:hover::before {
    opacity: 1;
}

.cv-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--glow-color);
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-btn:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-right: 1rem;
}

.btn.primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 20px var(--glow-color);
}

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--glow-color);
}

/* Form Styles Update */
.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--text-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.form-group label {
    position: absolute;
    left: 0;
    top: 1rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -0.5rem;
    font-size: 0.8rem;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(76, 0, 255, 0.7), rgba(255, 0, 128, 0.7));
    backdrop-filter: blur(5px);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* About Section */
.about {
    padding: 5rem 5%;
    background-color: transparent;
    position: relative;
    z-index: 1;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: -1;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px var(--glow-color);
}

.skill-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Projects Section */
.projects {
    padding: 5rem 5%;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    align-items: start;
    justify-content: center;
    padding: 1rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.4s ease;
    position: relative;
}

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

.project-card.has-link {
    cursor: pointer;
}

.project-card.has-link::after {
    content: attr(data-link-label) " linki";
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 12px rgba(108, 99, 255, 0.25);
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    z-index: 5;
    pointer-events: none;
}
.project-image {
    height: 200px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transition: height 0.5s ease, box-shadow 0.5s ease;
    overflow: hidden; /* taşmaları engelle */
    flex-shrink: 0;
}  

.project-image.piyes-image {
    background-image: url("assets/images/piyes.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hover efekti */
.project-card:hover .project-image {
    height: 500px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.project-image.Foes-image {
    background-image: url("assets/images/foes.jpg"); /* senin yüklediğin resmin yolu */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
   
}

.project-image.Mack-image {
    background-image: url("assets/images/galeri.png"); /* İlk resim */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.3s ease;
}
.project-card:hover .project-image.project-image.Mack-image {
    background-size: contain;  
    width: 100%; height: 70%;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4);
    z-index: 0;
}
.mini-image-gallery {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1rem 1.5rem;
  justify-content: center;
}

.mini-image-gallery img {
  width: 100px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.mini-image-gallery img:hover {
  transform: scale(1.1);
}

.project-image.Hast-image {
    background-image: url("assets/images/Hastane.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.project-image.sah-image {
    background-image: url("assets/images/sahara.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.project-image.sip-image {
    background-image: url("assets/images/bır\ \(1\).png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.project-image.coming-soon-image {
    position: relative;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.2), rgba(255, 107, 107, 0.2));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.project-image.coming-soon-image::before {
    content: "YAPIM ASAMASINDA";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-18deg);
    color: rgba(255, 255, 255, 0.22);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.project-card:hover .project-image.coming-soon-image {
    height: 200px;
}
.project-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
}

.project-card p {
    padding: 0 1.5rem 1rem;
    color: var(--text-secondary);
}

.project-tags {
    padding: 1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tags span {
    background: rgba(108, 99, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
    background-color: transparent;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    z-index: -1;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

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

.social-link {
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

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

/* Footer Styles */
.footer {
    background: var(--background-dark);
    padding: 4rem 5% 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-color), 
        var(--secondary-color), 
        var(--primary-color), 
        transparent
    );
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-section:hover h3::after {
    width: 100%;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(20px);
}

.footer-links a:hover::before {
    opacity: 1;
    left: -25px;
}

/* Footer Skills */
.footer-skills {
    list-style: none;
    padding: 0;
}

.footer-skills li {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.footer-skills li i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer-skills li:hover {
    color: var(--primary-color);
    transform: translateX(10px);
}

/* Footer CV Button */
.footer-cv-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--glow-color);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.footer-cv-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-cv-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--glow-color);
}

.footer-cv-btn:hover::before {
    opacity: 1;
}

.footer-cv-btn i,
.footer-cv-btn span {
    position: relative;
    z-index: 1;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.footer-social .social-link {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-social .social-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Background Animation */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(-45deg, #0a0a0a, #1a1a1a, #2a2a2a, #1a1a1a);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

.animated-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(108, 99, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.animated-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236c63ff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    animation: rotate 20s linear infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }

    .menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 5rem 2rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active {
        right: 0;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    }

    .nav-links a {
        font-size: 1.2rem;
        margin: 1rem 0;
    }

    .cv-btn {
        margin-top: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        margin-right: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a:hover {
        transform: translateX(0);
    }

    .footer-links a::before {
        display: none;
    }

    .footer-skills li {
        justify-content: center;
    }

    .footer-skills li:hover {
        transform: translateX(0);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-cv-btn {
        margin: 0 auto 1.5rem;
    }
}

/* About Page Background Animation */
.about-bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.about-bg-animation::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, #6c63ff 0%, #ff6b6b 40%, rgba(108,99,255,0.15) 70%, rgba(255,107,107,0.10) 100%);
    animation: rotateGradient 20s linear infinite;
    opacity: 0.7;
}

.about-bg-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='40' fill='%236c63ff' fill-opacity='0.08'/%3E%3Ccircle cx='30' cy='30' r='15' fill='%23ff6b6b' fill-opacity='0.10'/%3E%3Ccircle cx='80' cy='20' r='10' fill='%236c63ff' fill-opacity='0.10'/%3E%3Ccircle cx='70' cy='80' r='12' fill='%23ff6b6b' fill-opacity='0.10'/%3E%3C/svg%3E");
    opacity: 0.6;
    animation: floatPattern 30s linear infinite;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes floatPattern {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(5%, 5%);
    }
    50% {
        transform: translate(0, 10%);
    }
    75% {
        transform: translate(-5%, 5%);
    }
    100% {
        transform: translate(0, 0);
    }
}

/* Certificates Section */
.certificates {
    padding: 5rem 5%;
    position: relative;
}

.certificates::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: -1;
}

.certificates h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.certificate-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px var(--glow-color);
}

.certificate-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.certificate-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.certificate-card:hover .certificate-image img {
    transform: scale(1.1);
}

.certificate-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--text-primary);
}

.certificate-card p {
    padding: 0 1.5rem 1rem;
    color: var(--text-secondary);
}

.certificate-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 1.5rem 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.certificate-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.certificate-link:hover {
    color: var(--secondary-color);
}

.certificate-link:hover i {
    transform: translateX(5px);
}

/* Responsive Design for Certificates */
@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: 1fr;
    }
}

.certificates-title-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem 3rem;
    border-radius: 15px;
    margin: 0 auto 3rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    max-width: 400px;
    position: relative;
    overflow: hidden;
}

.certificates-title-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.certificates-title-btn h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 2.5rem;
    background: none;
    -webkit-text-fill-color: var(--text-primary);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.certificates-title-btn i {
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.certificates-title-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.certificates-title-btn:hover::before {
    opacity: 0.1;
}

.certificates-title-btn:hover h2,
.certificates-title-btn:hover i {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--glow-color);
}

.certificates-title-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .certificates-title-btn {
        padding: 1.2rem 2rem;
        max-width: 300px;
    }
    
    .certificates-title-btn h2 {
        font-size: 2rem;
    }
}

.animated-title {
    margin-bottom: 2rem;
}

.animated-title h1 {
    font-size: 3.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    line-height: 1.2;
}

.static-text {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    text-shadow: 0 0 20px var(--glow-color);
}

.dynamic-text {
    min-width: 200px;
    text-align: center;
    font-weight: 800;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    animation: glow 2s ease-in-out infinite;
}

.dynamic-text::after {
    content: '|';
    position: absolute;
    right: -5px;
    animation: blink 1s infinite;
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 20px var(--glow-color);
    }
    50% {
        text-shadow: 0 0 30px var(--glow-color), 0 0 40px var(--glow-color);
    }
}

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

@media (max-width: 768px) {
    .animated-title h1 {
        font-size: 2.5rem;
        flex-direction: column;
    }
    
    .dynamic-text {
        min-width: 150px;
    }
} 