@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    margin: 0;
    padding: 0;
    background-color: #0f0f0f;
    font-family: 'Roboto', Arial, sans-serif;
    color: white;
    overflow-x: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.menu {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: rgba(15, 15, 15, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    transition: background 0.3s ease-in-out;
}


.menu.scrolled {
    background: rgba(15, 15, 15, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.menu .logo img {
    height: 50px;
    width: auto;
    transition: height 0.3s ease-in-out;
}


.menu a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    margin-left: 40px;
   right: 90px;
    padding: 10px 0;
    position: relative;
    letter-spacing: 1.5px;
    transition: color 0.3s ease-in-out;
}


.menu a:hover {
    color: #00ffcc;
}

.menu a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #00ffcc;
    bottom: 0;
    left: 50%;
    transition: width 0.4s ease, left 0.4s ease;
}

.menu a:hover::before {
    width: 100%;
    left: 0;
}

/* Başlık */
h1 {
    font-size: 8vh;
    text-align: center;
    margin-top: 120px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(to right, #00aaff, #ff007f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textFade 2s ease-in-out forwards;
}

@keyframes textFade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Kartlar */
.card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    width: 80%;
}

.card {
    background: rgba(15, 15, 15, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    text-align: center;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.5);
}

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    background: linear-gradient(to right, #00aaff, #ff007f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

/* Butonlar */
.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    border-radius: 30px;
    background: linear-gradient(45deg, #00aaff, #ff007f);
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .card-container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .menu .logo img {
        height: 40px;
    }
}

@media (max-width: 768px) {
    .card-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    h1 {
        font-size: 6vh;
    }

    .menu a {
        font-size: 14px;
        margin-left: 20px;
        right: 40px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 4vh;
    }

    .card-container {
        width: 100%;
    }

    .menu {
        padding: 0 10px;
    }

    .menu a {
        font-size: 12px;
        margin-left: 15px;
        right: 20px;
    }

    .menu .logo img {
        height: 35px;
    }
}


/*HİZMETLER*/

.header {
    padding-top: 100px;
    text-align: center;
    background: linear-gradient(to right, #00aaff, #ff007f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header h1 {
    font-size: 6vh;
    margin-bottom: 10px;
}

.header p {
    font-size: 2vh;
    color: rgba(255, 255, 255, 0.7);
}

.services {
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service {
    background: rgba(15, 15, 15, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.5);
}

.service h2 {
    font-size: 24px;
    margin-bottom: 15px;
    background: linear-gradient(to right, #00aaff, #ff007f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}


@media (max-width: 1024px) {
    .service h2 {
        font-size: 22px;
    }

    .service p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 5vh;
    }

    .header p {
        font-size: 2vh;
    }

    .service h2 {
        font-size: 20px;
    }

    .service p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 4vh;
    }

    .header p {
        font-size: 1.8vh;
    }

    .service h2 {
        font-size: 18px;
    }

    .service p {
        font-size: 13px;
    }
}

/* Motivational Notes */
.motivational-notes {
margin-top: 40px;
display: flex;
justify-content: space-between;
padding: 20px;
background-color: rgba(255, 255, 255, 0.05);
border-radius: 10px;
text-align: center;
}

.motivational-notes p {
font-size: 16px;
color: rgba(255, 255, 255, 0.8);
margin-bottom: 10px;
font-style: italic;
}

.note-left, .note-center, .note-right {
flex: 1;
}

/* Sosyal Medya */
.social-media {
margin: 30px 0;
text-align: center;
}

.social-media a {
display: inline-block;
margin: 10px;
padding: 10px 20px;
background-color: rgba(0, 255, 255, 0.2);
border-radius: 10px;
color: white;
font-size: 16px;
transition: background-color 0.3s ease;
text-decoration: none;
}

.social-media a img {
width: 24px;
height: 24px;
margin-right: 8px;
vertical-align: middle;
}

.social-media a:hover {
background-color: rgba(0, 255, 255, 0.5);
}

/* İletişim Bilgileri */
.contact-info {
text-align: center;
margin: 20px 0;
font-size: 18px;
}

.contact-info a {
color: #00ffcc;
text-decoration: none;
transition: color 0.3s ease;
}

.contact-info a:hover {
color: #ff007f;
}

/* Harita Bölümü */
.map-section {
margin-top: 30px;
text-align: center;
}

.map-section iframe {
width: 100%; 
height: 350px; 
border-radius: 10px;
border: 2px solid #00ffcc;
}

@media (max-width: 768px) {
.motivational-notes {
flex-direction: column;
}

.social-media a {
font-size: 14px;
padding: 8px 16px;
}

.contact-info {
font-size: 16px;
}

.map-section iframe {
height: 300px; 
}
}

@media (max-width: 480px) {
.motivational-notes p {
font-size: 14px;
}

.social-media a {
font-size: 12px;
padding: 6px 12px;
}

.contact-info {
font-size: 14px;
}

.map-section iframe {
height: 250px; 
}
}
/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 40px;
    background-color: rgba(15, 15, 15, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}
/* 3D Küre için mobil uyumlu yapı */
.cube-container {
display: flex;
justify-content: center;
align-items: center;
margin-bottom: -100px;
position: relative;
}

.scene {
width: 150px;
height: 150px;
perspective: 1000px;
}

.cube {
width: 100px;
height: 100px;
position: relative;
transform-style: preserve-3d;
transform: rotateX(45deg) rotateY(45deg);
animation: rotateCube 8s infinite linear;
}

.face {
position: absolute;
width: 100px;
height: 100px;
background: rgba(0, 255, 255, 0.7);
border: 2px solid #00ffcc;
box-shadow: 0 0 20px rgba(0, 255, 255, 0.6), 0 0 40px rgba(255, 0, 127, 0.5);
display: flex;
justify-content: center;
align-items: center;
font-size: 20px;
font-weight: bold;
color: white;
text-transform: uppercase;
}

.front  { transform: translateZ(50px); }
.back   { transform: rotateY(180deg) translateZ(50px); }
.left   { transform: rotateY(-90deg) translateZ(50px); }
.right  { transform: rotateY(90deg) translateZ(50px); }
.top    { transform: rotateX(90deg) translateZ(50px); }
.bottom { transform: rotateX(-90deg) translateZ(50px); }

@keyframes rotateCube {
from {
transform: rotateX(45deg) rotateY(45deg);
}
to {
transform: rotateX(405deg) rotateY(405deg);
}
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
.scene {
width: 100px;
height: 100px;
}

.cube {
width: 80px;
height: 80px;
}

.face {
width: 80px;
height: 80px;
}
}

@media (max-width: 480px) {
.scene {
width: 80px;
height: 80px;
}

.cube {
width: 60px;
height: 60px;
}

.face {
width: 60px;
height: 60px;
}
}


.brosoft-title {
    font-size: 1.2rem;
    text-align: center;
    margin-top: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(to right, #00aaff, #ff007f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textFade 2s ease-in-out forwards;
    display: inline-block;
    line-height: 1.2;
}

.fixed-text {
    font-size: inherit;
    background: linear-gradient(to right, #00aaff, #ff007f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
    vertical-align: middle;
    margin-right: 5px;
}

#typed-text {
    display: inline;
    border-right: 2px solid #2a9d8f;
    white-space: nowrap;
    overflow: hidden;
    animation: blink 0.75s step-end infinite;
    font-size: inherit;
    vertical-align: middle;
}

@media (min-width: 768px) {
    .brosoft-title {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .brosoft-title {
        font-size: 2rem;
    }
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: #2a9d8f; }
}

@keyframes textFade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
