/* Global styles */
html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    background-color: #fafafa;
    line-height: 1.6;
}

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

/* Hero section */
.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.hero-content {
    z-index: 2;
}

.hero .logo {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin: 0 0 10px;
    font-weight: bold;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    transition: background-color 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn.buy {
    background-color: #ffcc00;
    color: #222;
}

.btn.buy:hover {
    background-color: #e6b800;
}

.btn.rent {
    background-color: #fff;
    color: #222;
}

.btn.rent:hover {
    background-color: #e6e6e6;
}

/* Sections */
section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    color: #222;
}

.mission p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Offers section */
.offers ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0 auto;
    max-width: 800px;
}

.offers li {
    background: #fff;
    border-radius: 8px;
    margin: 10px 0;
    padding: 15px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: 1rem;
}

.offers li strong {
    display: block;
    margin-bottom: 5px;
    color: #444;
}

/* Rent section */
.rent-form {
    max-width: 600px;
    margin: 20px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.btn.submit {
    align-self: flex-start;
    background-color: #0073e6;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
}

.btn.submit:hover {
    background-color: #005bb5;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
}

/* Gallery Section */
.gallery-section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    color: #222;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-content a {
    color: #ffcc00;
}

/* Info Sections (Showstopper, CordieCoin, Why Cordie, Next Chapter) */
.info-section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.info-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    color: #222;
}

/* Style for lists in "Why Cordie is Different" section */
.why-list {
    list-style-type: none;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 0;
}

.why-list li {
    background: #fff;
    border-radius: 8px;
    margin: 10px 0;
    padding: 15px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: 1rem;
}

.why-list li strong {
    display: block;
    margin-bottom: 5px;
    color: #444;
}

/* Rent Section Enhancements */
.rent-section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.rent-section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 10px;
    color: #222;
}

.rent-section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px;
}

.rent-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.rent-gallery img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

/* Devin Spotlight Section */
.devin-section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.devin-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #222;
}

.devin-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.devin-image {
    flex: 1 1 300px;
    min-width: 280px;
    background-color: #f5f5f5;
    border-radius: 8px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-style: italic;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

.devin-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.devin-text {
    flex: 2 1 400px;
    min-width: 280px;
}

.devin-text h3 {
    margin-top: 0;
    font-size: 1.6rem;
    margin-bottom: 5px;
    color: #222;
}

.devin-text .subheading {
    font-style: italic;
    margin-bottom: 15px;
    color: #555;
}

.devin-details,
.devin-bullets {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 15px;
    color: #333;
}

.devin-bullets li,
.devin-details li {
    margin-bottom: 8px;
}

.devin-section-title {
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
    color: #222;
}

.devin-quote {
    font-style: italic;
    border-left: 4px solid #eee;
    padding-left: 15px;
    margin: 15px 0;
    color: #666;
}

.devin-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.btn.devin-follow {
    background-color: #ff69b4;
    color: #fff;
}

.btn.devin-follow:hover {
    background-color: #e5579e;
}

.btn.devin-collab {
    background-color: #0073e6;
    color: #fff;
}

.btn.devin-collab:hover {
    background-color: #005bb5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
    .btn.rent {
        margin-top: 10px;
    }
}