@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&display=swap');


html, body {
    background-color: black;
    font-family: 'Orbitron', sans-serif;
    line-height: 1.6; 
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Veendub, et padding ja margin ei muuda elementide suurust */
    overflow-x: hidden;

}

/* Header */
.Navbar {
    display: flex; 
    flex-direction: row; 
    justify-content: space-between; 
    padding: 0 4px; 
    background-color: black; 
    color: white; 
    align-items: center; 
    border-bottom: 1px solid grey;
    top: 0; 
    left: 0; 
    width: 100%;
    z-index: 1000; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.Logo img {
    width: 350px;
}

.NavbarMenu {
    display: flex;
    flex-direction: row;
    gap: 30px;
    list-style-type: none;
    margin-left: -120px;
}

.NavbarMenu a {
    display: inline-block;
    font-weight: 400;
    text-decoration: none;
    color: white;
    
    border: none; 
    padding: 10px 18px; 
    font-size: 20px;  
    border-radius: 24px; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    

}

.NavbarMenu a:hover {
    color: yellow; 
    transform: translateY(-2px); 
    
}
.has-dropdown {
    position: relative;
}

.DropdownMenu1 {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: black; /* või muu sobiv taust */
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    min-width: 250px; /* soovi korral */
}

.has-dropdown:hover .DropdownMenu1 {
    display: block;
}

.DropdownMenu1 {
    transition: all 0.3s ease;
}



  
.SocialUp{
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-right: 20px;
    
}

.SocialUp img {
    width: 25px;
    margin-top: 5px;
}

/* Üldine nupp */
.contact-button {
    background-color: transparent; 
    color: white; 
    border: none; 
    padding: 10px 18px;
    font-family: 'Orbitron', sans-serif; 
    font-size: 16px; 
    font-weight: bold; 
    text-transform: uppercase; 
    border-radius: 8px; 
    cursor: pointer; 
    transition: all 0.3s ease;
    
}

/* Hover-efekt */
.contact-button:hover {
    background-color: yellow;
    color: black; 
    transform: translateY(-2px); 
}

/* Fookuseefekt */
.contact-button:focus {
    outline: none; 
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.6); 
}

.NavbarToggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
  
.NavbarToggleIcon {
    display: block;
    width: 1.5rem;
    height: 0.125rem;
    background-color: white;
    position: relative;
    
}
  
.NavbarToggleIcon::before,
.NavbarToggleIcon::after {
    content: '';
    width: 1.5rem;
    height: 0.125rem;
    background-color: white;
    position: absolute;
    left: 0px;
    transition: transform 0.3s ease;
}
  
.NavbarToggleIcon::before {
    top: -0.5rem;
}
  
.NavbarToggleIcon::after {
    top: 0.5rem;
    
}


.DropdownMenu {
    display: none;
    background-color: black;
    box-shadow: 1 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 999;
}
  
.DropdownMenu.active {
    display: block;
}
  

  
.DropdownLinks {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}
  
.DropdownLink {
    text-decoration: none;
    font-size: 1rem;
    color: white;
    font-weight: bold;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}
  
.DropdownLink:hover {
    color: #A67B5B;
}
  
.DropdownSocialUp {
    display: flex;
    gap: 1.5rem;
}
  
.DropdownSocialUp img {
    height: 1.5rem;
    transition: opacity 0.3s ease;
}
  
.DropdownSocialUp:hover img {
    opacity: 0.7;
}

.DropdownSocialUp .contact-button {
    padding: 5px 10px; /* Väheneb nuppude sisemine vahe */
    font-size: 12px; /* Väheneb kirja suurus */
    border-radius: 5px; /* Kõverdavad nurgad (soovi korral) */
    background-color: transparent; /* Nupu taustavärv, saad muuta */
    color: yellow; /* Teksti värv */
    border: none; /* Piiri eemaldamine */
}

.DropdownSocialUp .contact-button:hover {
    background-color: yellow; /* Hover värv */
}

@media screen and (max-width: 430px) {
    
    .Navbar {
        flex-wrap: wrap;
        
    }

    .NavbarToggle {
        display: block;
        margin-right: 20px;
        color: white;
    }

    .NavbarMenu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 1px;
    }

    .Logo img {
        width: 200px;
    }

      
    .NavbarMenu.show {
        display: flex;

    }

    .SocialUp {
        display: none;
        
    }

    .SocialUp.active {
        display: flex;
        justify-content: flex-end;
    }

    
    .DropdownMenu {
        display: none;
        position: static;
        width: 100%;
        padding: 16px;
    }
    
    .DropdownMenu.active {
        display: block;
    }
    
    
    .DropdownLinks {
        margin-bottom: 16px;
    }
    
    .DropdownLink {
        font-size: 14px;
    }
    
    .DropdownSocialUp {
        gap: 14px;
    }
    
    .DropdownSocialUp img {
        height: 24px;
    }


}

@media screen and (max-height: 430px) and (orientation: landscape) {
    .Navbar {
        flex-wrap: wrap;
        
    }

    .NavbarToggle {
        display: block;
        margin-right: 20px;
        color: white;
    }

    .NavbarMenu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 1px;
    }

    .Logo img {
        width: 200px;
    }

      
    .NavbarMenu.show {
        display: flex;

    }

    .SocialUp {
        display: none;
        
    }

    .SocialUp.active {
        display: flex;
        justify-content: flex-end;
    }

    
    .DropdownMenu {
        display: none;
        position: static;
        width: 100%;
        padding: 16px;
    }
    
    .DropdownMenu.active {
        display: block;
    }
    
    
    .DropdownLinks {
        margin-bottom: 16px;
    }
    
    .DropdownLink {
        font-size: 14px;
    }
    
    .DropdownSocialUp {
        gap: 14px;
    }
    
    .DropdownSocialUp img {
        height: 24px;
    }
}

@media (min-width: 431px) and (max-width: 1024px) {
    .NavbarMenu {
        gap: 15px;
        margin-left: 0; 
        justify-content: center; 
    }

    .SocialUp {
        gap: 5px;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 768px) and (orientation: portrait) {
    .Logo img {
        width: 200px;
    }
}

@media screen and (min-width: 810px) and (max-width: 840px) {
    .Logo img {
        width: 250px;
    }
}

/* FOOTER */

.Footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px;
    border-top: 1px solid grey;
    
}

.Logo2 img {
    width: 450px;
    color: white;
    margin-top: 20px;
}

.FooterMenu {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    gap: 10px;
    margin-top: 50px;
    text-align: center;
    margin-right: 80px;
    
}

.FooterMenu a {
    display: inline-block;
    font-weight: 400;
    font-size: 18px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    
}

.FooterMenu a:hover {
    color: yellow; 
    text-decoration: none; 
}

.Copyright {
    margin-top: 100px;
    color: grey;
}

.FooterContact {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
    line-height: 1;
    
    
    
}

.RegistrationNumber {
    text-decoration: none;
    color: inherit;
}


.Phone a {
    color: inherit;
    text-decoration: none; 
}

.Phone a:hover {
    color: yellow; 
    text-decoration: underline; 
}
.Address a {
    color: inherit;
    text-decoration: none; 
}

.Address a:hover {
    color: yellow; 
    text-decoration: underline; 
}

.Email a {
    color: inherit;
    text-decoration: none; 
}

.Email a:hover {
    color: yellow; 
    text-decoration: underline; 
}

.FooterContact p, a {
    color: white;
    text-decoration: none;
    
}


.FooterContact .Copyright {
    display: none;
}

.FooterContact h3 {
    font-weight: 400;
    text-transform: uppercase;
    color: white;
    font-size: 16px;
}

@media screen and (max-width: 430px) {
    /* Mobiilivaade */
    
    .Footer {
        display: flex;
        flex-direction: column; 
        justify-content: center;
        align-items: center;
        padding: 15px;
        border-top: 1px solid grey;
    }

    .Logo2 img {
        width: 100%; 
        max-width: 300px; 
        height: auto;
        color: white;
        margin-top: 20px;
    }

    .FooterMenu {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
        text-align: center;
        margin-right: 0;
        padding: 0;
    }

    .FooterMenu a {
        font-weight: 400;
        font-size: 16px; 
        color: white;
        transition: all 0.3s ease;
    }

    .FooterMenu a:hover {
        color: yellow;
        text-decoration: underline;
    }

    .FooterMenu .Copyright {
        display: none;
    }

    .FooterContact {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-right: 0;
        line-height: 1.2;
        text-align: center;
        margin-top: 15px;
    }

    .FooterContact h3 {
        font-weight: 400;
        text-transform: uppercase;
        color: white;
        font-size: 14px; 
    }

    .RegistrationNumber {
        text-decoration: none;
        color: inherit;
    }

    .Phone a,
    .Address a,
    .Email a {
        color: inherit;
        text-decoration: none;
    }

    .Phone a:hover,
    .Address a:hover,
    .Email a:hover {
        color: yellow;
        text-decoration: underline;
    }

    .FooterContact p,
    .FooterContact a {
        color: white;
        text-decoration: none;
    }

    .FooterContact .Copyright {
        display: flex;
        margin-top: 40px;
        color: grey;
        text-align: center;
    }
}

@media screen and (max-height: 430px) and (orientation: landscape) {
    .Footer {
        display: flex;
        flex-direction: column; 
        justify-content: center;
        align-items: center;
        padding: 15px;
        border-top: 1px solid grey;
    }

    .Logo2 img {
        width: 100%; 
        max-width: 300px; 
        height: auto;
        color: white;
        margin-top: 20px;
    }

    .FooterMenu {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
        text-align: center;
        margin-right: 0;
        padding: 0;
    }

    .FooterMenu a {
        font-weight: 400;
        font-size: 16px; 
        color: white;
        transition: all 0.3s ease;
    }

    .FooterMenu a:hover {
        color: yellow;
        text-decoration: underline;
    }

    .FooterMenu .Copyright {
        display: none;
    }

    .FooterContact {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-right: 0;
        line-height: 1.2;
        text-align: center;
        margin-top: 15px;
    }

    .FooterContact h3 {
        font-weight: 400;
        text-transform: uppercase;
        color: white;
        font-size: 14px; 
    }

    .RegistrationNumber {
        text-decoration: none;
        color: inherit;
    }

    .Phone a,
    .Address a,
    .Email a {
        color: inherit;
        text-decoration: none;
    }

    .Phone a:hover,
    .Address a:hover,
    .Email a:hover {
        color: yellow;
        text-decoration: underline;
    }

    .FooterContact p,
    .FooterContact a {
        color: white;
        text-decoration: none;
    }

    .FooterContact .Copyright {
        display: flex;
        margin-top: 40px;
        color: grey;
        text-align: center;
    }
}




@media screen and (min-width: 810px) and (max-width: 840px) {
    /* iPad Air portrait vaade */
    
    .Footer {
        display: flex;
        flex-direction: column; 
        justify-content: center;
        align-items: center;
        padding: 20px;
        border-top: 1px solid grey;
    }

    .Logo2 img {
        width: 100%; 
        max-width: 450px; 
        color: white;
        margin-top: 20px;
    }

    .FooterMenu {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 30px;
        text-align: center;
        margin-right: 0; 
        padding: 0;
    }

    .FooterMenu a {
        font-weight: 400;
        font-size: 16px; 
        color: white;
        transition: all 0.3s ease;
    }

    .FooterMenu a:hover {
        color: yellow;
        text-decoration: underline;
    }

    .FooterMenu .Copyright {
        display: none;
    }

    .FooterContact {
        display: flex;
        flex-direction: column;
        align-items: center; 
        margin-right: 0;
        line-height: 1.2;
        text-align: center;
        margin-top: 20px;
    }

    .FooterContact h3 {
        font-weight: 400;
        text-transform: uppercase;
        color: white;
        font-size: 16px;
    }

    .RegistrationNumber {
        text-decoration: none;
        color: inherit;
    }

    .Phone a,
    .Address a,
    .Email a {
        color: inherit;
        text-decoration: none;
    }

    .Phone a:hover,
    .Address a:hover,
    .Email a:hover {
        color: yellow;
        text-decoration: underline;
    }

    .FooterContact p,
    .FooterContact a {
        color: white;
        text-decoration: none;
    }

    .FooterContact .Copyright {
        display: flex;
        margin-top: 50px;
        color: grey;
        text-align: center;
    }
}



@media only screen and (min-device-width: 768px) and (max-device-width: 768px) and (orientation: portrait) {
    /* iPad Mini portrait vaade */
    
    .Footer {
        display: flex;
        flex-direction: column; 
        justify-content: center;
        align-items: center;
        padding: 20px;
        border-top: 1px solid grey;
    }

    .Logo2 img {
        width: 100%; 
        max-width: 400px; 
        color: white;
        margin-top: 20px;
    }

    .FooterMenu {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
        text-align: center;
        margin-right: 0; 
        padding: 0;
    }

    .FooterMenu a {
        font-weight: 400;
        font-size: 16px; 
        color: white;
        transition: all 0.3s ease;
    }

    .FooterMenu a:hover {
        color: yellow;
        text-decoration: underline;
    }

    .FooterMenu .Copyright {
        display: none;
    }

    .FooterContact {
        display: flex;
        flex-direction: column;
        align-items: center; 
        margin-right: 0;
        line-height: 1.2;
        text-align: center;
        margin-top: 20px;
    }

    .FooterContact h3 {
        font-weight: 400;
        text-transform: uppercase;
        color: white;
        font-size: 16px;
    }

    .RegistrationNumber {
        text-decoration: none;
        color: inherit;
    }

    .Phone a,
    .Address a,
    .Email a {
        color: inherit;
        text-decoration: none;
    }

    .Phone a:hover,
    .Address a:hover,
    .Email a:hover {
        color: yellow;
        text-decoration: underline;
    }

    .FooterContact p,
    .FooterContact a {
        color: white;
        text-decoration: none;
    }

    .FooterContact .Copyright {
        display: flex;
        margin-top: 50px;
        color: grey;
        text-align: center;
    }
}

@media only screen and (min-device-width: 1024px) and (max-device-width: 1024px) and (orientation: portrait) {
    /* iPad Pro portrait vaade */
    
    .Footer {
        display: flex;
        flex-direction: column; 
        justify-content: center;
        align-items: center;
        padding: 20px;
        border-top: 1px solid grey;
    }

    .Logo2 img {
        width: 100%; 
        max-width: 500px; 
        color: white;
        margin-top: 20px;
    }

    .FooterMenu {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        text-align: center;
        margin-right: 0;
        padding: 0;
    }

    .FooterMenu a {
        font-weight: 400;
        font-size: 18px; 
        color: white;
        transition: all 0.3s ease;
    }

    .FooterMenu a:hover {
        color: yellow;
        text-decoration: underline;
    }

    .FooterMenu .Copyright {
        display: none;
    }

    .FooterContact {
        display: flex;
        flex-direction: column;
        align-items: center; 
        margin-right: 0;
        line-height: 1.2;
        text-align: center;
        margin-top: 30px;
    }

    .FooterContact h3 {
        font-weight: 400;
        text-transform: uppercase;
        color: white;
        font-size: 18px;
    }

    .RegistrationNumber {
        text-decoration: none;
        color: inherit;
    }

    .Phone a,
    .Address a,
    .Email a {
        color: inherit;
        text-decoration: none;
    }

    .Phone a:hover,
    .Address a:hover,
    .Email a:hover {
        color: yellow;
        text-decoration: underline;
    }

    .FooterContact p,
    .FooterContact a {
        color: white;
        text-decoration: none;
    }

    .FooterContact .Copyright {
        display: flex;
        margin-top: 60px;
        color: grey;
        text-align: center;
    }
}
