/* Base Styles and Variables */
:root {
    --primary-blue: #0068b7; /* Main blue from logo - use very sparingly */
    --secondary-blue: #003a64; /* Darker blue from logo - use very sparingly */
    --light-gray: #f8f8f8;
    --medium-gray: #e0e0e0;
    --dark-gray: #666666;
    --text-dark: #333333;
    --text-light: #ffffff;
    --spacing: 20px;
    --border-radius: 4px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    letter-spacing: 0.03em;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing) 0;
}

h1, h2, h3 {
    margin-bottom: var(--spacing);
    font-weight: 400;
    letter-spacing: 0.05em;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--dark-gray);
}

/* Header Styles */
header {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
    margin-right: 20px;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--text-dark);
    letter-spacing: 0.08em;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-dark);
    font-weight: 400;
    padding: 5px 0;
    position: relative;
}

nav ul li a:hover {
    color: var(--dark-gray);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.cta-button {
    background-color: #ffffff;
    color: var(--text-dark);
    padding: 8px 18px;
    border-radius: var(--border-radius);
    font-weight: 400;
    border: 1px solid var(--dark-gray);
}

nav ul li a.cta-button:hover {
    background-color: var(--light-gray);
    color: var(--text-dark);
}

nav ul li a.cta-button::after {
    display: none;
}

/* Hero Section */
#hero {
    background-color: #ffffff;
    border-bottom: 1px solid var(--medium-gray);
    text-align: center;
    padding: 0;
    position: relative;
    overflow: hidden;
    height: 600px;
    display: flex;
    align-items: center;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 1;
    background-image: url('data:image/svg+xml;utf8,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="https://www.w3.org/2000/svg"><path d="M0 0h30v30H0zm30 30h30v30H30z" fill="%23000" fill-opacity=".05"/></svg>');
    background-size: 60px 60px;
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.15;
    filter: grayscale(100%);
}

#hero .container {
    position: relative;
    z-index: 2;
    padding: 0;
}

#hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 300;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
}

#hero h2::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--primary-blue);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--dark-gray);
}

#hero .cta-button {
    background-color: #ffffff;
    color: var(--text-dark);
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 400;
    border: 1px solid var(--dark-gray);
    letter-spacing: 0.05em;
    display: inline-block;
    margin-top: 20px;
}

#hero .cta-button:hover {
    background-color: var(--light-gray);
    border-color: var(--primary-blue);
}

/* Services Section */
#services {
    padding: 100px 0;
}

#services h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.2rem;
    color: var(--text-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--medium-gray);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background-color: var(--primary-blue);
    transition: height 0.3s ease;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.service-icon {
    margin-bottom: 25px;
    font-size: 2.5rem;
    color: var(--dark-gray);
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 500;
}

/* About Section */
#about {
    background-color: var(--light-gray);
    border-top: 1px solid var(--medium-gray);
    border-bottom: 1px solid var(--medium-gray);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    opacity: 0.03;
    z-index: 0;
    background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="https://www.w3.org/2000/svg"><circle cx="10" cy="10" r="10" fill="%23000"/></svg>');
    background-size: 20px 20px;
}

#about .container {
    position: relative;
    z-index: 1;
}

#about h2 {
    margin-bottom: 30px;
    font-size: 2.2rem;
}

#about p {
    margin-bottom: 20px;
    max-width: 800px;
    color: var(--dark-gray);
    font-size: 1.05rem;
}

/* Contact Section */
#contact {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.contact-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 40%;
    opacity: 0.02;
    z-index: 0;
    background-image: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="https://www.w3.org/2000/svg"><path d="M0 20h40M20 0v40" stroke="%23000" stroke-width="1"/></svg>');
    background-size: 40px 40px;
}

#contact .container {
    position: relative;
    z-index: 1;
}

#contact h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

#contact p {
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--dark-gray);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background-color: #ffffff;
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid var(--medium-gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
    color: var(--dark-gray);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    background-color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(0, 104, 183, 0.02);
}

.submit-button {
    background-color: #ffffff;
    color: var(--text-dark);
    border: 1px solid var(--dark-gray);
    padding: 14px 25px;
    font-size: 1rem;
    font-weight: 400;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    letter-spacing: 0.05em;
}

.submit-button:hover {
    background-color: var(--light-gray);
    border-color: var(--primary-blue);
}

/* Contact Form Styles */
.success-message {
    background-color: #e7f6e7;
    border: 1px solid #b8e0b8;
    color: #2a652a;
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 20px 0;
}

.success-message h3 {
    color: #2a652a;
    margin-bottom: 10px;
}

.error-message {
    background-color: #fde8e8;
    border: 1px solid #f5c2c2;
    color: #a53636;
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 20px 0;
}

/* Footer */
footer {
    background-color: #ffffff;
    color: var(--dark-gray);
    border-top: 1px solid var(--medium-gray);
    padding: 30px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    #hero {
        height: 500px;
    }
    
    #hero h2 {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 5px 0;
    }
    
    #hero {
        height: 400px;
    }
    
    #hero h2 {
        font-size: 1.8rem;
    }
    
    .logo img {
        height: 80px;
    }
} 