@import url('https://fonts.googleapis.com/css2?family=Uncial+Antiqua&display=swap');

/* 1. Global Styles */
:root {
    --primary-color: #2a52be; /* A nice Royal Blue */
    --bg-color: #f4f7f6;
    --text-color: #333;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}
/* 2. Navigation Bar */
nav {
    display: flex;
    justify-content: center;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}
nav a {
    margin: 0 15px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    transition: color 0.3s;
}
nav a:hover {
    color: #ff5722; /* Changes color when you hover */
}
/* 3. Header & Sections */
header {
    text-align: center;
    margin-bottom: 50px;
}
section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
/* 4. Form Styling */
input, textarea {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Ensures padding doesn't break width */
}
button {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}
button:hover {
    background-color: #1a3a8a;
}

.profile-img {
    width: 150px;       /* Adjust size as needed */
    height: 150px;
    object-fit: cover;  /* Prevents the image from stretching */
    border-radius: 50%; /* Makes the image a perfect circle */
    border: 4px solid var(--primary-color);
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 5. Gaelic Name */
.gaelic-name {
    font-family: 'Uncial Antiqua', cursive !important;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-top: -5px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

/* 6. Content Page Styles */
.tagline {
    color: #666;
    font-size: 1.1rem;
    font-style: italic;
    margin-top: -10px;
}

.content-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 25px;
}

.content-section h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-top: 0;
}

.content-section ul {
    padding-left: 20px;
}

.content-section li {
    margin-bottom: 8px;
}

/* 7. Tech Stack Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.tech-card {
    background: var(--bg-color);
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
}

.tech-card h3 {
    margin: 0 0 8px 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.tech-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

/* 8. Footer */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    color: #666;
}

footer a {
    color: var(--primary-color);
}
