/* style.css */

/* --- Base Styles & Typography --- */
:root {
    --primary-color: #007bff; /* A nice blue for the brand */
    --secondary-color: #28a745; /* Green for success/crypto */
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --font-family: 'Arial', sans-serif;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

/* --- Header & Navigation --- */
header {
    background: var(--dark-color);
    color: #fff;
    padding: 15px 0;
    border-bottom: 5px solid var(--primary-color);
}

header h1 a {
    color: #fff;
    font-size: 1.8rem;
}

header nav {
    float: right;
    margin-top: 10px;
}

header nav ul li {
    display: inline;
    padding: 0 15px;
}

header nav ul li a {
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: var(--primary-color);
}

/* --- Utility Classes --- */
.btn-primary {
    display: inline-block;
    color: #fff;
    background: var(--primary-color);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #0056b3;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--dark-color);
}

.card {
    background: var(--light-color);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.flex-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flex-grid > div {
    flex: 1;
    min-width: 300px; /* Ensures three columns on wide screens */
}


/* --- Hero Section (Homepage) --- */
#hero {
    background: url('placeholder-hero.jpg') no-repeat center center/cover;
    height: 60vh;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

#hero::before { /* Semi-transparent overlay */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

#hero * {
    z-index: 10;
}

#hero h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* --- About Section --- */
#about-us {
    padding: 50px 0;
    text-align: center;
    background: #f4f4f4;
}

#about-us p {
    max-width: 800px;
    margin: 20px auto 0;
}

/* --- Services Section (General) --- */
.services-section {
    padding: 60px 0;
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.service-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* --- Services Page Specific --- */
.service-details {
    padding: 60px 0;
}

.service-details .card h3 {
    color: var(--secondary-color);
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.service-details .card ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.service-details .card ul li::before {
    content: '✅';
    position: absolute;
    left: 0;
}


/* --- Contact Page Styles --- */
#contact-info {
    padding: 60px 0;
    background: var(--light-color);
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-details-box {
    margin-top: 30px;
    padding: 20px;
    background: #e9ecef;
    border-radius: 8px;
}

.contact-details-box p {
    margin-bottom: 10px;
}


/* --- Footer --- */
footer {
    background: var(--dark-color);
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}


/* --- Media Queries for Responsiveness --- */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    header nav {
        float: none;
        text-align: center;
        margin-top: 15px;
    }

    header nav ul li {
        display: block;
        padding: 5px 0;
    }

    #hero h2 {
        font-size: 2rem;
    }

    .flex-grid > div {
        min-width: 100%;
    }
}