/* Call Dan the Man — Dark tech theme (provided base + full site styles) */

body { 
    font-family: Arial, sans-serif; 
    margin: 0; 
    padding: 0; 
    background: #0f172a; 
    color: #e2e8f0; 
    line-height: 1.6;
}

header { 
    background: #1e2937; 
    padding: 1rem; 
    position: sticky;
    top: 0;
    z-index: 100;
}

nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.logo { 
    font-size: 1.5rem; 
    font-weight: bold; 
    color: #60a5fa; 
}

nav ul {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #60a5fa;
    text-decoration: none;
}

.hero { 
    text-align: center; 
    padding: 4rem 1rem; 
    /* AWS Cloud Tech hero background - local high-res asset (current: hero-3) */
    background: linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.72)), 
                url('assets/cloud-tech-hero-3.jpg');
    background-size: cover; 
    background-position: center;
    /* Local alternatives in assets/ (swap the filename to try a different look):
       - assets/cloud-tech-hero.jpg
       - assets/cloud-tech-hero-2.jpg
    */
}

.profile-photo {
    width: 50px;
    height: 50px;
    max-width: 50px;
    max-height: 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #60a5fa;
    box-shadow: 0 2px 10px rgba(96, 165, 250, 0.3);
    vertical-align: middle;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero h1,
.hero p {
    color: #f1f5f9;
}

h1 { 
    font-size: 2.5rem; 
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.15rem;
    max-width: 620px;
    margin: 0 auto 1.5rem;
    opacity: 0.95;
}

.cta { 
    background: #3b82f6; 
    color: white; 
    padding: 1rem 2rem; 
    border-radius: 8px; 
    text-decoration: none; 
    margin: 0.5rem; 
    display: inline-block; 
    font-weight: 600;
    transition: all 0.2s ease;
}

.cta:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.secondary { 
    background: transparent; 
    border: 2px solid #60a5fa; 
    color: #60a5fa;
}

.secondary:hover {
    background: rgba(96, 165, 250, 0.1);
    border-color: #60a5fa;
}

section { 
    max-width: 1200px; 
    margin: 3rem auto; 
    padding: 0 1rem; 
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #f1f5f9;
}

p {
    color: #cbd5e1;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 1.5rem;
}

.video-card {
    background: #1e2937;
    border: 1px solid #334155;
    border-radius: 8px;
    overflow: hidden;
}

.video-placeholder {
    height: 180px;
    background: #334155;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-align: center;
    padding: 20px;
    font-size: 0.95rem;
}

.video-placeholder span {
    font-size: 2.2rem;
    margin-bottom: 8px;
    display: block;
}

.video-note {
    text-align: center;
    margin-top: 1.5rem;
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Resources */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 1.5rem;
}

.resource-card {
    background: #1e2937;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 24px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.resource-card:hover {
    transform: translateY(-3px);
    border-color: #60a5fa;
}

.resource-card h3 {
    margin-bottom: 10px;
    color: #f1f5f9;
    font-size: 1.2rem;
}

.resource-card p {
    color: #cbd5e1;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.resource-link {
    font-weight: 600;
    color: #60a5fa;
    text-decoration: none;
}

.resource-link:hover {
    text-decoration: underline;
}

/* Signup Form */
#signup {
    background: #1e2937;
    padding: 3rem 1.5rem;
    border-radius: 12px;
    margin-top: 3rem;
    text-align: center;
}

#signup h2 {
    color: #f1f5f9;
    margin-bottom: 0.75rem;
}

#signup p {
    color: #94a3b8;
    max-width: 520px;
    margin: 0 auto 1.5rem;
}

form {
    max-width: 440px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

input[type="email"] {
    flex: 1;
    min-width: 220px;
    padding: 14px 18px;
    border: 2px solid #475569;
    border-radius: 8px;
    font-size: 1rem;
    background: #0f172a;
    color: #e2e8f0;
}

input[type="email"]::placeholder {
    color: #64748b;
}

input[type="email"]:focus {
    outline: none;
    border-color: #60a5fa;
}

button[type="submit"] {
    background: #3b82f6;
    color: white;
    font-weight: 700;
    padding: 14px 26px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

button[type="submit"]:hover {
    background: #2563eb;
}

.form-note {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 12px;
}

.success-message {
    background: #166534;
    color: #bbf7d0;
    padding: 16px 24px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 1rem;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer { 
    text-align: center; 
    padding: 2rem 1rem; 
    background: #1e2937; 
    color: #94a3b8;
    font-size: 0.9rem;
}

footer a {
    color: #60a5fa;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.footer-links {
    margin-top: 6px;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 640px) {
    .hero {
        padding: 3rem 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }

    nav {
        flex-direction: column;
        gap: 10px;
    }

    nav ul {
        gap: 20px;
    }

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

    input[type="email"],
    button[type="submit"] {
        width: 100%;
    }

    section {
        margin: 2rem auto;
    }
}

/* About section */
#about p {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
}