/* Grundläggande reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Amiri Quran', serif;
    background-color: #f5f5f5;
    color: #222;
    line-height: 1.6;
}

/* Header med logga och navigation */
header {
    background-color: #082358;
    color: white;
    font-family: 'Amiri Quran', serif;
    text-align: center;
    padding-bottom: 25px;
}

header .logo {
    height: 100px;
    margin-bottom: -65px;
    margin-right: 80%;
    /* Justera avståndet mellan logga och titel */
}

nav {
    z-index: 1001;
    position: relative;
}

nav ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: right;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 1002;
    position: relative;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-family: 'Georgia', serif;
    padding: 0.5rem 1rem;
    border-radius: 0;
    position: relative;
    z-index: 1003;
    pointer-events: all; /* Force links to be clickable */
}

nav ul li a:hover,
nav ul li a:focus {
    background-color: #0a3d91;
}

/* Centrera navigationen */
header nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    padding: 0;
}

header nav ul li {
    margin-left: 1.5rem;
}

header nav ul li:first-child {
    margin-left: 0;
}

/* Footer */
footer {
    background-color: #313131;
    color: white;
    padding: 1rem 2rem;
    position: relative;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
    border-top: none;
}

.footer-bottom p {
    font-size: 0.9rem;
    margin: 0;
    flex: 1;
}

.footer-center {
    text-align: center;
}

.footer-right {
    text-align: right;
    font-size: 0.8rem;
    opacity: 0.8;
}

.footer-right a {
    color: #bdbdbd;
    text-decoration: none;
}

.footer-right a:hover {
    text-decoration: underline;
}

/* Images row */
.images-row {
    margin-top: 3%;
    display: flex;
    gap: 4rem;
    justify-content: center;
    align-items: center;
}

.overlay-image {
    max-width: 1000px;
    height: auto;
    border-radius: 0;
}

.outfit-pic {
    width: 80%;
    height: auto;
    margin-left: 5%;
}

.clothing-content h1 {
    text-align: center;
    font-size: 3rem;
    color: #082358;
    margin-bottom: 2rem;
}

/* Container for side-by-side layout */
.dress-code-container {
    display: flex;
    gap: 2rem; /* Reduced gap to bring sections closer */
    margin-top: 2rem;
    justify-content: center; /* Center the container */
}

.dress-code-section {
    flex: 1;
    max-width: 400px; /* Limit width to keep content centered */
    margin-bottom: 0;
    text-align: center; /* Center content in each section */
}

.dress-code-section h2 {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 1.5rem;
    text-align: center;
}

.dress-code-list {
    list-style: none;
    padding: 0;
    display: inline-block; /* Keep list centered */
    text-align: left; /* But keep items left-aligned within the list */
}

.dress-item {
    display: flex;
    align-items: center;
    padding: 0.8rem; /* Reduced padding for closer spacing */
    margin-bottom: 0.5rem; /* Reduced margin for tighter spacing */
    border-radius: 10px;
    min-width: 300px; /* Ensure consistent width */
}

.dress-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.item-icon {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
    object-fit: contain;
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.dress-item span {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

/* Responsive: stack vertically on smaller screens */
@media (max-width: 768px) {
    .dress-code-container {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .dress-code-section {
        margin-bottom: 2rem;
        max-width: 100%;
    }
    
    .dress-item {
        min-width: 280px;
    }
}

/* Specific Horse Section */
.specific-horse-section {
    margin-top: 3rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.specific-horse-section h2 {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 1.5rem;
    text-align: center;
}

.horse-item {
    display: inline-flex;
    align-items: center;
    padding: 1.2rem 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.horse-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.horse-icon {
    width: 50px;
    height: 50px;
    margin-right: 1.5rem;
    object-fit: contain;
}

.horse-item span {
    font-size: 1.3rem;
    color: #333;
    font-weight: 600;
}

.horse_pic {
    width: 60%; /* Make it smaller - adjust this percentage as needed */
    height: auto;
    display: block;
    margin: 2rem auto; /* Center it with some margin */
    border-radius: 10px;
}




