body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e7e6e1;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;

}

.navbar {
    background-color: #314e52;
    color: #e7e6e1;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.navbar .logo {
    position: absolute;
    left: 20px;
}


.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}


.navbar .logo img {
    height: 40px;
    width: auto;
    border-radius: 5px;
}

.navbar .nav-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.navbar .nav-links ul li {
    margin-left: 30px;
}


.navbar .nav-links ul li a {
    color: #e7e6e1;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.navbar .nav-links ul li a:hover,
.navbar .nav-links ul li a.active {
    color: #f2a154;
}


.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}


.product-card {
    background-color: #f7f6e7;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-15px);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.product-card p {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 25px;
}

.get-started-button {
    background-color: #314e52;
    color: #e7e6e1;
    border: none;
    border-radius: 5px;
    padding: 12px 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    max-width: 200px;
}

.get-information-button {
    background-color: #314e52;
    color: #e7e6e1;
    border: none;
    border-radius: 5px;
    padding: 12px 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    max-width: 200px;
}

.get-started-button:hover {
    background-color: #f2a154;
    transform: translateY(-2px);
}
.get-information-button:hover {
    background-color: #f2a154;
    transform: translateY(-2px);
}

/* keychain.html özel stilleri */
.keychain-container {
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

input[type="text"] {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 300px;
  font-size: 18px;
  box-sizing: border-box;
}

.keychain-container .get-started-button {
    max-width: 300px;
    margin: 5px 0;
}

#threejs-container {
  width: 800px;
  height: 600px;
  background-color: #e0e0e0;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 20px;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}

#loading-screen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 24px;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
#message-container {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    display: none;
    text-align: center;
    width: 800px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}
#message-container.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
#message-container.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 10px 15px;
        justify-content: center;
        align-items: center;
    }
    .navbar .logo {
        position: static;
        left: auto;
    }

    .navbar .nav-links ul {
        margin-top: 10px;
    }

    .navbar .nav-links ul li {
        margin: 0 15px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        padding: 20px;
    }

    .keychain-container {
        padding: 15px;
        width: 90%;
    }
    input[type="text"] {
        width: 100%;
    }
    .keychain-container .get-started-button {
        max-width: 100%;
    }
    #threejs-container {
        width: 95%;
        height: 400px;
    }
    #message-container {
        width: 95%;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #f7f6e7;
    margin: auto;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    width: 80%;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-content h2 {
    color: #314e52;
    margin-bottom: 20px;
    font-size: 2em;
}

.modal-content p {
    font-size: 1.2em;
    color: #333;
    margin: 10px 0;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: #314e52;
    text-decoration: none;
    cursor: pointer;
}

.social-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: transparent;
    border-radius: 5px;
    margin: 0 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    vertical-align: middle;
    border: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    aspect-ratio: 1 / 1; 
}

.social-icon:hover {
    background-color: #f2a154; 
    transform: scale(1.1); 
}

.linkedin-icon {
    background-image: url('linkedin-icon.png');
}

.instagram-icon {
    background-image: url('instagram-icon.png');
}

.facebook-icon {
    background-image: url('facebook-icon.png');
}

.tiktok-icon {
    background-image: url('tiktok-icon.png');
}

.cults3d-icon {
    background-image: url('cults3d-icon.png');
}

.youtube-icon {
    background-image: url('youtube-icon.png');
}
.navbar .nav-links ul li {
    display: flex;
    align-items: center;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-banner p {
    margin: 0;
    flex-grow: 1;
    padding-right: 20px;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.cookie-button.accept {
    background-color: #28a745; 
}

.cookie-button.reject {
    background-color: #dc3545; 
}

.cookie-button:hover {
    opacity: 0.9;
}

.cookie-banner.hidden {
    display: none;
}