
/*ZÁKLAD*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    color: #fff;
    background-color: #1a0f0f;
    overflow-x: hidden;
}

/* HEADER & NAVIGATION */
.header {
    background-color: rgba(80, 20, 20, 0.9);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #ff6600;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: 'Pirata One', cursive;
    font-size: 1.8rem;
    color: #ff9933;
    font-weight: bold;
}

.nav-desktop {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    text-transform: lowercase;
    position: relative;
}

.nav-link:hover {
    color: #ff6600;
}

nav-link::after {

content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: #ff6600;
  transition: 0.3s;

}

.nav-link:hover::after {
  width: 100%;
}

/*HAMBURGER*/

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: 0.3s ease;
    border-radius: 2px;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 2rem;
    background-color: rgba(80, 20, 20, 0.95);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    text-align: center;
}

.mobile-link {
    font-size: 1.1rem;
}

/* RESPONZIVITA- HAMBURGER MENU */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-desktop {
        display: none;
    }

    .nav-mobile.active {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .navbar {
        padding: 0 1rem;
    }

    .logo {
        height: 40px;
    }

    .logo-text {
        font-size: 1.4rem;
    }
}

/* HOME SECTION */
.section-home {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: url(title_editing1.png) center/cover no-repeat;
}

section {
  scroll-margin-top: 100px;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-content {
    text-align: center;
    z-index: 10;
}

.home-title {
    font-family: 'Pirata One', cursive;
    font-size: 5rem;
    color: #ff6600;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 102, 0, 0.5);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 102, 0, 0.5); }
    50% { text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 102, 0, 0.8); }
}

/* SCROLL ARROW */
.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 20;
    animation: pulse 2s ease-in-out infinite;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    border-color: rgba(255, 102, 0, 0.8);
    background: rgba(255, 102, 0, 0.2);
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
}

.scroll-arrow svg {
    stroke: white;
    width: 30px;
    height: 30px;
}

@keyframes pulse {
    0%, 100% { 
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% { 
        transform: translateX(-50%) translateY(10px);
        opacity: 0.7;
    }
}

@media (max-width: 768px) {
    .home-title {
        font-size: 2.5rem;
    }

    .section-home {
        padding-top: 80px;
    }
}

/* SEKCE ABOUT */
.section-about {
  background: url("background-red1.png") center/cover no-repeat;
  padding: 100px 20px 80px;
  display: flex;
  justify-content: center;
}

.about-content {
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

/* NADPIS */
.about-title {
  font-family: 'Pirata One', cursive;
  font-size: 4rem;

}

/* HLAVNÍ LAYOUT */
.about-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* TEXT */
.about-text {
  max-width: 500px;
  font-family: 'Pirata One', cursive;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #d9bf6a;
}

/* POSTAVY */
.character-left,
.character-right {
  width: 100%;
  max-width: 300px;
  height: auto;
}


/* RESPONZIVITA */
@media (max-width: 900px) {
  .about-row {
    flex-direction: column;
  }

  .character-left,
  .character-right {
    width: 100%;
  }
}


@media (max-width: 900px) {
  .character-left,
  .character-right {
    width: 220px;
  }
  .sign {
    width: 200px;
  }
  .about-title {
    font-size: 3rem;
  }
  .about-text {
    font-size: 0.9rem;
  }
}

/* FADE IN EFFECT */
.fade-in-element {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.6s ease;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-element:nth-child(1) {
    animation-delay: 0.3s;
}

.fade-in-element:nth-child(2) {
    animation-delay: 0.6s;
}



/* SCHOPNOSTI SEKCE*/
.section-skills {
    background-color: #2a1a1a;
    padding: 4rem 2rem;
    text-align: center;
}

.section-title {
    font-family: 'Pirata One', cursive;
    font-size: 4rem;
    color: #fff;
    margin-bottom: 7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    
    
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-card {
      background: #3b2b2b;
    border-radius: 20px;
    padding: 25px;
    border: 2px solid #ff6600;
    box-shadow: 0 0 15px rgba(255,100,0,0.3);    
    transition: 0.3s;
}

.skill-card:hover {
   
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255,100,0,0.6);
     transform: scale(1.05);

}

.skill-image {
    margin-bottom: 1.5rem;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

img {
  max-width: 100%;
  height: auto;
}

.skill-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.skill-text h3 {
    font-family: 'Pirata One', cursive;
    font-size: 1.5rem;
    color: #ff9933;
    margin-bottom: 0.5rem;
}

.skill-text h4 {
    font-size: 0.95rem;
    color: #cccccc;
    font-weight: normal;
    
}

@media (max-width: 768px) {
    .skills-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .skill-card {
        padding: 1rem;
    }

    .section-title {
        font-size: clamp(2rem, 5vw, 4rem);
    }
}

/* DEVELOPMENT SEKCE*/
.section-development {
    position: relative;
    min-height: 100vh;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("background-red2.png") center/cover no-repeat;
}

.dev-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.dev-content {
    max-width: 1200px;
    position: relative;
    z-index: 10;
}

.parchment-container {
    position: relative;
    margin: 2rem 0;
    gap: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
   
}

.parchment {
    flex: 1;
    max-width: 400px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.release-info {
    flex: 1;
    z-index: 5;
}

.release-date {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-weight: 600;
    
}

.platform-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.platform-btn {
    background-color: #fff;
    color: #1a0f0f;
    border: 2px solid #ff6600;
    padding: 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    
    
}

.platform-btn:hover {
    background-color: #ff6600;
   
}

.dev-text-fire {
    display: flex;
    gap: 2rem;
    align-items: flex-end;
    position: relative;
}

.dev-text-fire p {
    flex: 1;
    color: #fff;
    line-height: 1.8;
    font-size: 1.1rem;
}

.fire-image {
    height: 200px;
    width: auto;
    object-fit: contain;
    position: absolute;
    right: 0;
    bottom: -20px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .parchment-container {
        flex-direction: column;
        gap: 1rem;
    }

    .parchment {
        max-width: 100%;
    }

    .platform-buttons {
        grid-template-columns: 1fr;
    }

    .dev-text-fire {
        flex-direction: column;
        align-items: center;
    }

    .fire-image {
        height: 150px;
    }
}

/* SPONZOŘI SEKCE*/
.section-sponsors {
    background: linear-gradient(90deg, #ff6600, #ff3300);
    padding: 2rem;
    text-align: center;
}

.sponsors-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.sponsors-content p {
    font-family: 'Pirata One', cursive;
    font-size: 1.5rem;
    color: #fff;
    text-transform: lowercase;
}

@media (max-width: 768px) {
    .sponsors-content {
        flex-direction: column;
        gap: 1rem;
    }

    .sponsors-content p {
        font-size: 1.2rem;
    }
}

/* KONTAKTY*/
.section-contact {
    background-color: #1a0f0f;
    padding: 4rem 2rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-family: 'Arial', sans-serif;
    background-color: #fff;
    color: #1a0f0f;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

.submit-btn {
    background-color: #ff6600;
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #ff8833;
}

.map-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-map {
    width: 100%;
    height: 100%;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.google-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .google-map {
        height: 250px;
    }

    .section-contact {
        padding: 2rem 1rem;
    }
}

/* PATIČKA*/
.footer {
    
    background: linear-gradient(to top, #ff3300, #ff9900);
    box-shadow: 0 -5px 20px rgba(255,100,0,0.5);

    padding: 2rem;
    text-align: center;
    color: #fff;
    font-weight: bold;
}

.footer p {
    
    font-size: 1.1rem;
    text-align: center;
    
    
}


/* RESPONZIVITA*/
@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }

    .section-skills,
    .section-contact,
    .section-development {
        padding: 2rem 1rem;
    }

    .home-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .about-title {
        font-size: 2.5rem;
    }

    .about-text {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
    }

    .character-left,
    .character-right {
        height: 250px;
    }

    .sign {
        height: 150px;
    }
}