/*
Theme Name: Color Icon Theme
Theme URI: http://example.com/color-icon-theme
Author: Ryan Walz
Author URI: http://testicuzzi.com
Description: A custom modular theme to duplicate the Color Icon home page layout.
Version: 1.0
*/

body {
    margin: 0;
    font-family: 'the-seasons', sans-serif; /* Using The Seasons from Adobe Fonts */
    background-color: #FFFFFF;
}

.header {
    background-color: #8F99FB;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    font-size: 14px;
    color: #333;
}

.header a {
    color: #FFFFFF; /* Change links to white */
    text-decoration: none; /* Remove underline from links */
}

.nav-left, .nav-right {
    display: flex;
    gap: 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #FFFFFF; /* Change logo text to white */
}

.logo a {
    color: inherit;
    text-decoration: none;
}

.logo a:hover {
    text-decoration: underline;
}

.image-gallery {
    position: relative;
    display: flex;
    justify-content: space-between;
    height: 500px; /* Match your image height */
    min-height: 400px; /* Prevent collapse */
    width: 100%;
    overflow: hidden;
    z-index: 0; /* Establish stacking context */
}

.image-wrapper {
    display: flex;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.image-wrapper img {
    width: 24%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner {
    position: absolute;
    top: 85%; /* Adjust based on height (e.g., 400px - 20px) */
    left: 0;
    width: 100%;
    background-color: #f7f0d5;
    text-align: center;
    padding: 10px 0;
    z-index: 10; /* Above .image-gallery */
    font-size: 1.5em;
    color: #000;
    box-sizing: border-box;
    flex: none;
    -webkit-transform: translateZ(0); /* Safari hardware acceleration */
}

@supports (-webkit-appearance: none) {
    .banner {
        top: 340px;
        left: 0;
        width: 100%;
        -webkit-transform: translateZ(0);
        -webkit-backface-visibility: hidden;
    }
}
}

footer {
    background-color: #E0E7FF;
    padding: 10px;
    text-align: center;
    font-size: 12px;
    color: #333;
    margin-top: 20px;
}

.color-analysis-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start; /* Align items at the top */
}

.welcome-section {
    flex: 1;
    text-align: center;
    max-width: 40%; /* Matches the example image's left column width */
}

.welcome-section h1 {
    font-size: 2em;
    color: #000;
    margin-bottom: 10px;
}

.welcome-section p {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 20px;
}

.analysis-image {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add card-like shadow */
    margin-bottom: 20px; /* Space below image */
}

.analysis-info {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add card-like shadow */
    max-width: 50%; /* Matches the example image's right column width */
}

.analysis-info h2 {
    font-size: 1.5em;
    color: #000;
    margin-bottom: 10px;
}

.analysis-info p {
    font-size: 1em;
    color: #333;
    margin-bottom: 15px;
}

.analysis-info ul,
.analysis-info ol {
    margin: 10px 0 20px 20px;
    padding-left: 20px;
}

.analysis-info ul li,
.analysis-info ol li {
    font-size: 0.9em;
    color: #333;
    margin-bottom: 10px;
}

.analysis-info h3 {
    font-size: 1.2em;
    color: #000;
    margin: 15px 0 10px;
}

.purchase-button {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1em;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.purchase-button:hover {
    background-color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .color-analysis-page {
        flex-direction: column;
        padding: 10px;
    }

    .welcome-section,
    .analysis-info {
        max-width: 100%;
    }

    .analysis-image {
        max-width: 100%;
    }
}

