/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    color: #000000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    text-align: center;
}

.container {
    max-width: 600px;
    width: 100%;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    padding: 2rem;
    position: relative;
}

/* Subtle Diamond Accents replicating your card's corners */
.container::before, .container::after {
    content: "◆";
    position: absolute;
    font-size: 10px;
    color: #c47c5d; 
}

.container::before {
    top: -5px;
    left: -4px;
    color: #4a8b71; 
}

.container::after {
    bottom: -5px;
    right: -4px;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    letter-spacing: 0.5rem;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
    font-weight: 400;
    margin: 0 1rem;
}

h3 {
    font-size: 2rem;
    letter-spacing: 0.4rem;
    line-height: 1.5;
    font-weight: 300;
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    letter-spacing: 0.1rem;
    line-height: 1.6;
    color: #333333;
}

/* Domain Section */
.domain-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

/* New rule for the pet images */
.pet-icon {
    width: 40px;          /* Sets a neat, controlled size */
    height: 40px;
    border-radius: 50%;   /* Crops the square/rectangle into a perfect circle */
    object-fit: cover;    /* Ensures the image doesn't stretch or distort */
}

/* Image Gallery - Forcing Horizontal Alignment */
.image-gallery {
    display: flex; /* This is the magic rule that puts them side-by-side */
    flex-direction: row;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
}

.image-gallery .image-wrapper {
    margin: 0;
    flex: 1; 
    max-width: 40%; 
}

.profile-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1; 
    object-fit: cover; 
    border-radius: 2px;
}

/* Details Section */
.details-section {
    margin: 3rem 0;
}

/* NEW: Forcing the date and pets into a horizontal row */
.date {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.5rem; /* Adjust this to change the space between the pets and the text */
}

/* Ensuring the h3 doesn't have an oversized bottom margin when inline */
.date h3 {
    margin-bottom: 0;
}

.location {
    margin-top: 1rem;
    font-style: italic;
    color: #666666;
}

/* Wink Section */
.wink-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #000000;
}

.wink-section p {
    font-size: 0.9rem;
    color: #555555;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    h1 { font-size: 2rem; letter-spacing: 0.3rem; }
    h3 { font-size: 1.5rem; letter-spacing: 0.2rem; }
    .container { padding: 1rem; border: none; }
    .container::before, .container::after { display: none; }
    
    .image-gallery {
        gap: 0.75rem; 
    }
    
    .image-gallery .image-wrapper {
        max-width: 48%; 
    }
}