/* Base styles for all devices */
body {
    background-color: #fff;
    color: #000;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Main content wrapper */
.content-wrapper {
    flex: 1 0 auto;
    width: 100%;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    background-color: #A42945;
}


.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
    width: auto;
}

.header-nav {
    display: flex;
    gap: 20px;
}

.header-nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.header-nav a:hover {
    opacity: 0.8;
}

/* Grid containers */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    justify-items: center;
    margin-top: 40px;
    padding: 0 15px;
}

.grid-arts {
    columns: 5;
    margin: 20px auto;
    column-gap: 5px;
    max-width: 1350px;
    padding: 0 15px;
}

.grid-arts-test {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
    align-items: start;
    padding: 0 15px;
}

.image {
    width: 100%;
    height: auto;
}

/* Info box */
.info-box {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #ccc;
    width: 90%;
    max-width: 600px;
    margin: 0 auto 20px auto;
}

/* Column styles */
.coluna-caixa {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 5px;
    align-items: start;
}

.coluna, .colunaDone, .colunaNotDone, .colunaInUse, .colunaAbandoned {
    display: inline-block;
    color: rgb(0, 0, 0);
    text-align: center;
    font-size: large;
    text-shadow: 1px 1px #ffffff;
    border: 2px solid rgb(255, 255, 255);
    background-color: #838086;
    border-radius: 15px;
    padding: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 240px;
    max-height: fit-content;
    margin: 0 auto;
}

.colunaDone { background-color: #FBD10B; }
.colunaNotDone { background-color: #06B7DA; }
.colunaInUse { background-color: #F80397; }
.colunaAbandoned { background-color: #03f87e; }

/* Test grid */
.test-grid {
    display: grid;
    grid-template-columns: 100%;
    gap: 10px;
    background-color: #F80397;
    padding: 10px;
}

.test-grid > div {
    background-color: #06B7DA;
    text-align: center;
    padding: 20px;
    font-size: 30px;
}

/* Footer */
footer {
    width: 100%;
    background-color: #A42945;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 20px;
    box-sizing: border-box;
    flex-shrink: 0;
    margin-top: auto;
}

/* Animation */
.hidden {
    opacity: 0;
    transform: translateX(-100%);
    transition: all 1s;
}

.show {
    opacity: 1;
    transform: translateX(0);
}

/* Video */
video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Links */
a:link,
a:visited,
a:hover,
a:active {
    color: #BB415C;
}

/* Underline */
u {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 10px;
}

.span-required {
    display: none;
    font-size: 12px;
    border: 12px white;
}

/* ========== MOBILE STYLES ========== */
@media (max-width: 768px) {
    /* Header adjustments */
    .header-inner {
        padding: 10px 15px;
        flex-direction: column;
        gap: 10px;
    }
    
    .logo img {
        height: 35px;
    }
    
    .header-nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header-nav a {
        font-size: 14px;
    }
    
    /* Grid adjustments */
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 20px;
        gap: 10px;
    }
    
    .grid-arts {
        columns: 2;
        margin: 15px auto;
        padding: 0 10px;
    }
    
    .grid-arts-test {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
    }
    
    /* Info box adjustments */
    .info-box {
        width: 95%;
        padding: 15px;
        margin: 0 auto 15px auto;
    }
    
    /* Column adjustments */
    .coluna, .colunaDone, .colunaNotDone, .colunaInUse, .colunaAbandoned {
        font-size: medium;
        padding: 8px;
        max-width: 100%;
    }
    
    /* Footer adjustments */
    footer {
        padding: 12px 15px;
        font-size: 14px;
        text-align: center;
    }
    
    /* Test grid already defined for mobile first */
}

/* ========== SMALL MOBILE STYLES ========== */
@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .grid-arts {
        columns: 1;
    }
    
    .grid-arts-test {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .header-nav {
        gap: 12px;
    }
    
    .header-nav a {
        font-size: 13px;
    }
    
    .info-box {
        padding: 12px;
        border-radius: 10px;
    }
    
    .test-grid > div {
        padding: 15px;
        font-size: 24px;
    }
}

/* ========== TABLET STYLES ========== */
@media (min-width: 769px) and (max-width: 1024px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-arts {
        columns: 3;
    }
    
    .grid-arts-test {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .info-box {
        width: 80%;
    }
    
    .test-grid {
        grid-template-columns: repeat(2, 1fr);
        background-color: #0328f8;
    }
    
    .test-grid > div {
        background-color: #c5da06;
    }
}

/* ========== DESKTOP STYLES ========== */
@media (min-width: 1025px) {
    .test-grid {
        grid-template-columns: repeat(2, 1fr);
        background-color: #0328f8;
    }
    
    .test-grid > div {
        background-color: #c5da06;
    }
}


/* Pricing Section Styles */
.pricing-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flow-root;
}

.pricing-header {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-header h2 {
    font-size: 2.5rem;
    color: #A42945;
    margin-top: 0; /* Change this from default to 0 */
    margin-bottom: 10px;
}

/* Price Cards */
.price-card {
    background: #fff;
    border: 2px solid #eee;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #A42945;
}

/* Highlight the middle card */
.price-card.featured {
    border-color: #F80397;
    background-color: #fff9fc;
    transform: scale(1.05);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.price-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #F80397;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.price-card h3 {
    margin-top: 10px;
    font-size: 1.5rem;
    color: #333;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 20px 0;
    color: #A42945;
}

.price-value span {
    font-size: 1rem;
    color: #777;
    font-weight: normal;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.price-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 0.95rem;
}

.price-features li::before {
    content: "✓";
    color: #03f87e;
    margin-right: 10px;
    font-weight: bold;
}

/* Buttons */
.price-button {
    background-color: #A42945;
    color: white !important;
    text-decoration: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    transition: background 0.3s;
}

.price-button:hover {
    background-color: #F80397;
    opacity: 1 !important;
}

.price-button.secondary {
    background-color: #333;
}

/* Responsive adjustment for the 3-column grid */
@media (max-width: 900px) {
    .price-card.featured {
        transform: scale(1);
    }
}

/* Modal Overlay (Background) */
/* Update these two classes in your styles.css */
.price-card img {
    width: 85%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.modal-overlay {
    display: none; 
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    /* ADD THIS: padding ensures the modal doesn't touch the very edges of the screen on mobile */
    padding: 20px; 
    box-sizing: border-box;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: slideDown 0.3s ease-out;
    
    /* ADD THESE THREE LINES: */
    max-height: 90vh; /* Keeps it from being taller than the screen */
    overflow-y: auto; /* Adds the scrollbar if content is too long */
    display: flex;
    flex-direction: column;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-button {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.close-button:hover { color: #A42945; }

/* Add/Update this in styles.css */
#modalTitle {
    margin: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee; /* This replaces the <hr> neatly */
    font-size: 1.5rem;
    color: #A42945;
}

.modal-body {
    margin-top: 15px; /* Control exactly how much space you want here */
    line-height: 1.6;
    color: #333;
}

.confirm-button {
    width: 100%;
    background-color: #03f87e; /* Using your "Abandoned" green for success */
    border: none;
    color: #000;
    padding: 12px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
}

/* Fix for buttons looking like links */
.price-button {
    cursor: pointer;
    border: none;
    width: 100%;
}