/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    background-color: #fff4ed;
}

/* Heading Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Corben', serif;
    font-weight: 400;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 0 0 4px 4px;
}

.skip-link:focus {
    top: 0;
}

/* Screen Reader Only Content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 700;
    font-family: Corben, serif;
    font-size: 16px;
    color: #144936;
    text-transform: uppercase;
}

.nav-menu a:hover,
.nav-menu a:focus {
    opacity: 0.75;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    background-color: #144936;
    color: #fff;
    transform: translateY(-2px);
}

.nav-menu a.active {
    background-color: #144936;
    color: #f45d48;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #144936;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.menu-toggle:hover,
.menu-toggle:focus {
    background-color: rgba(20, 73, 54, 0.1);
    color: #0d2e20;
}

/* Navigation Contact Button */
.nav-contact-btn {
    background-color: #144936;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-contact-btn:hover,
.nav-contact-btn:focus {
    opacity: 0.75;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Company Logo Section */
.logo-section {
    background-color: #c58f69;
    padding: 1rem 0;
    text-align: left;
    border-bottom: 1px solid #bdc3c7;
}

.company-logo {
    max-width: 300px;
    height: auto;
    display: block;
}

.company-tagline {
    font-size: 1.1rem;
    color: #7f8c8d;
    font-style: italic;
}

/* Main Content */
main {
    min-height: calc(100vh - 300px);
    padding: 3rem 0;
}

.page-title {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 300;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
/*    font-size: 2rem;
    color: #34495e;*/
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    text-align: center;
}

.content-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.content-section p {
    margin-bottom: 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
    margin: -3rem 0 3rem 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: #144936;
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-button:hover,
.cta-button:focus {
    opacity: 0.75;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* New Hero Section with Image */
.hero-new {
    padding: 4rem 0;
    margin: -3rem 0 3rem 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    min-height: 400px;
}

.hero-text {
    flex: 1;
    padding-right: 2rem;
}

.hero-text h1 {
    font-size: 43px;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
/*    font-size: 1.4rem;*/
    opacity: 0.9;
    margin-bottom: 0;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px #c58f69;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* About Page Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid #3498db;
}

.team-member-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #bdc3c7;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.two-column-layout .column {
    padding: 0;
}

.two-column-layout .column h3 {
    color: #144936;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Team Highlights */
.team-highlights {
    margin-top: 2rem;
}

.team-member-compact {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: rgba(20, 73, 54, 0.05);
    border-radius: 8px;
    border-left: 4px solid #144936;
}

.team-member-compact strong {
    color: #144936;
    font-size: 1.1rem;
}

.team-member-compact em {
    color: #666;
    font-style: italic;
    font-size: 0.9rem;
}

/* Values List */
.values-list {
    margin-top: 1rem;
}

.value-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(20, 73, 54, 0.1);
}

.value-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.value-item h4 {
    color: #144936;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.value-item p {
    margin-bottom: 0;
    line-height: 1.6;
}

/* About Image */
.about-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.about-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

/* Contact Form */
/*.contact-form-section {
    padding: 4rem 0;
    margin: 4rem 0;
}*/

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    background-color: #3498db;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.form-submit:hover,
.form-submit:focus {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.form-submit:active {
    transform: translateY(0);
}

/* Honeypot field (hidden spam protection) */
.honeypot {
    display: none !important;
}

/* Footer */
footer {
    background-color: #4d330a;
    color: #ecf0f1;
    padding: 2rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.footer-left {
    flex: 0 0 auto;
}

.footer-logo {
    max-width: 220px;
    height: auto;
}

.footer-center {
    flex: 0 0 auto;
    text-align: center;
}

.footer-center h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-links a:hover,
.social-links a:focus {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.social-links i {
    flex-shrink: 0;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.footer-right {
    flex: 0 0 auto;
    text-align: right;
}

.footer-right h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-right p {
    color: #fff;
}

/* Responsive Design */

/* Tablet Styles */
@media screen and (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #144936;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.2);
        z-index: 1000;
        border-radius: 0 0 8px 8px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 0.75rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: left;
        color: #fff !important;
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    .nav-menu a:hover,
    .nav-menu a:focus {
        background-color: rgba(255, 255, 255, 0.1);
        color: #fff !important;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-container {
        position: relative;
    }
    
    .nav-left {
        position: relative;
    }
    
    .nav-contact-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    /* New Hero Responsive - Tablet */
    .hero-content {
        flex-direction: column;
        gap: 2rem;
        min-height: auto;
    }
    
    .hero-text {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-text p {
        font-size: 1.2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .contact-form-section {
        padding: 3rem 0;
        margin: 3rem 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
    }
    
    .social-links {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
}

/* Mobile Styles */
@media screen and (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* New Hero Responsive - Mobile */
    .hero-new {
        padding: 2rem 0;
    }
    
    .hero-content {
        gap: 1.5rem;
    }
    
/*    .hero-text h1 {
        font-size: 2.2rem;
    }
  */  
    .hero-text p {
        font-size: 1rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .logo-section {
        padding: 0.75rem 0;
    }
    
    .company-logo {
        max-width: 250px;
    }
    
    .logo-placeholder {
        width: 150px;
        height: 60px;
        font-size: 1rem;
    }
    
    main {
        padding: 2rem 0;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .service-card,
    .team-member {
        padding: 1.5rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .two-column-layout {
        gap: 1.5rem;
    }
    
    .team-member-compact {
        margin-bottom: 1rem;
        padding: 0.75rem;
    }
    
    .value-item {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .about-image-container {
        min-height: 200px;
        margin-top: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-left,
    .footer-right {
        text-align: center;
    }
    
    .footer-logo {
        max-width: 180px;
    }
}

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .nav-menu a:hover,
    .nav-menu a:focus {
        background-color: #000;
        color: #fff;
        border: 2px solid #fff;
    }
    
    .cta-button {
        border: 2px solid #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .nav-menu a:hover,
    .nav-menu a:focus {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .nav-menu,
    .menu-toggle,
    .cta-button,
    footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .page-title {
        font-size: 18pt;
        margin-bottom: 1rem;
    }
    
    .content-section h2 {
        font-size: 14pt;
        margin-bottom: 0.5rem;
    }
}