/*
Theme Name: SERP Magnet Studio
Theme URI: https://serpmagnetstudio.com
Author: SERP Magnet Studio
Author URI: https://serpmagnetstudio.com
Description: One-page agency theme with premium styling, smooth scrolling, and contact form.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: your-agency-premium
*/

/* Body & Layout */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #0b1220;
    background: #fff;
}

header, section, footer {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ✅ Site Title Styling */
.site-title a {
    font-weight: 800;
    color: #000;
    text-decoration: none;
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.site-title img {
    max-height: 40px; /* Keeps uploaded custom logo nicely scaled */
    height: auto;
    width: auto;
}

.site-title a:hover {
    color: #111;
}

/* Navigation */
nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #2563eb;
    font-weight: 600;
}

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

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px 40px 20px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.hero p {
    max-width: 600px;
    margin: 20px auto;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

/* Buttons */
.btn {
    background: #2563eb;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: 0.3s;
}

.btn:hover {
    background: #1e4ec8;
    transform: translateY(-2px);
}

/* Section Headings */
#services h2, #cases h2 {
    text-align: center;
    font-weight: 800;
    margin-bottom: 30px;
    font-size: 34px;
}

/* Services & Cases Cards */
.services, .cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(37,99,235,0.15);
}

.services .card h3,
.cases .card h3 {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
    color: #2563eb;
}

.services .card h3:hover,
.cases .card h3:hover {
    color: #1e4ec8;
    transition: color 0.3s;
}

.services .card p,
.cases .card p {
    font-weight: 500;
    color: #444;
}

/* Footer */
footer {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 50px;
}

/* Contact Form Inputs & Selects */
section#contact form input,
section#contact form select,
section#contact form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    color: #0b1220;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: 0.3s;
}

section#contact form input:focus,
section#contact form select:focus,
section#contact form textarea:focus,
section#contact form input:hover,
section#contact form select:hover,
section#contact form textarea:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37,99,235,0.2);
    outline: none;
}

/* Premium Submit Button */
section#contact form button {
    background: #2563eb;
    color: #fff;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: 0.3s, box-shadow 0.3s, transform 0.3s;
}

section#contact form button:hover {
    background: #1e4ec8;
    box-shadow: 0 6px 20px rgba(37,99,235,0.4);
    transform: translateY(-2px);
}

/* Responsive */
@media(max-width:600px) {
    header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    nav a {
        margin-left: 10px;
    }
}