/* Reset some basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #121212; /* Tamna pozadina za dark mode */
    color: #fff; /* Tekst u svetloj boji */
}

/* Header Styles */
header {
    background-color: #D29D16;
    padding: 20px 0;
    color: white;
    text-align: center;
}

header .logo h1 {
    font-size: 36px;
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Main content */
.container {
    width: 90%;
    margin: auto;
    padding: 50px 0;
    text-align: center;
}

/* Dark Mode Styling for Purchase Options */
.purchase-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.option {
    padding: 20px;
    border: 1px solid #444; /* Dark border */
    background-color: #333; /* Dark background for options */
    cursor: pointer;
    transition: 0.3s;
    border-radius: 8px;
}

.option:hover {
    background: #0275d8; /* Light up on hover */
    border-color: #fff; /* Light border on hover */
}

button {
    background-color: #0275d8;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    width: 100%;
    transition: 0.3s;
}

button:hover {
    background-color: #025aa5;
}

button:disabled {
    background-color: #888;
    cursor: not-allowed;
}

/* Grid galerija */
.album-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 20px;
}

.album-image-container {
    position: relative;
    text-align: center;
    background: #222;
    padding: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.album-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain; /* OVO REŠAVA PROBLEM ISECANJA */
    border-radius: 5px;
}

.horizontal {
    grid-column: span 2; /* Horizontalne slike zauzimaju 2 kolone */
}

.vertical {
    grid-row: span 2; /* Vertikalne slike zauzimaju 2 reda */
}

.select-button {
    display: block;
    margin: 10px auto;
    padding: 8px 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.select-button:hover {
    background: #0056b3;
}

.fixed-purchase-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.fixed-purchase-button:hover {
    background: #218838;
}


/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
    
    width: 100%;
    bottom: 0;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsiveness for Mobile Devices */
@media screen and (max-width: 768px) {
    .purchase-options {
        flex-direction: column;
    }

    .option {
        width: 100%;
        margin: 10px 0;
    }

    .gallery {
        flex-direction: column;
        align-items: center;
    }

  

    .container {
        padding: 20px;
    }
}

/* Form and Button Styles */
input, select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #222; /* Dark background */
    color: #fff;
}

.error {
    color: red;
}

.success {
    color: green;
}

/* Make sure text is readable in dark mode */
h2, p {
    color: #fff;
}

.hidden {
    display: none;
}
