/* Base styles */
:root {
    --defero-primary: #8B1E3F;
    --defero-primary-hover: #6B172F;
    --font-primary: 'Host Grotesk', sans-serif;
}

body {
    font-family: var(--font-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
}

/* Custom components */
.btn-primary {
    background-color: var(--defero-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s;
    font-family: var(--font-primary);
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    background-color: var(--defero-primary-hover);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
}

.btn-outline {
    border: 2px solid var(--defero-primary);
    color: var(--defero-primary);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s;
    font-family: var(--font-primary);
    letter-spacing: 0.3px;
}

.btn-outline:hover {
    background-color: var(--defero-primary);
    color: white;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 50;
    padding: 2rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.mobile-menu.active {
    display: flex;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .btn-lg {
        width: 100%;
        text-align: center;
    }
    
    .mobile-menu a {
        margin: 0.5rem 0;
        font-size: 1.25rem;
    }
}

/* Add these image-specific styles to your existing styles.css */
.hero-image {
    max-height: 600px;
    object-fit: contain;
    width: 100%;
}

.feature-image {
    max-height: 500px;
    object-fit: contain;
    width: 100%;
}

.logo-image {
    height: 40px;
    width: 40px;
    object-fit: contain;
}

/* Responsive image adjustments */
@media (max-width: 768px) {
    .hero-image {
        max-height: 400px;
    }
    
    .feature-image {
        max-height: 300px;
    }
}

/* Add these logo-specific styles */
.header-logo {
    height: 75px;
    width: auto;
}

.logo-link {
    display: block;
    transition: opacity 0.2s ease;
    padding: 8px 0;
}

.logo-link:hover {
    opacity: 0.9;
}

/* Update container padding */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 4rem;  /* Increased from default */
    padding-right: 4rem; /* Increased from default */
}

/* Adjust padding for mobile */
@media (max-width: 768px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Keep your existing logo styles */
.header-logo {
    height: 75px;
    width: auto;
}

.logo-link {
    display: block;
    transition: opacity 0.2s ease;
    padding: 8px 0;
}

.logo-link:hover {
    opacity: 0.9;
}

/* Add these new styles for the Defero definition section */
.defero-definition-box {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(139, 30, 63, 0.1);
    position: relative;
    border: 1px solid rgba(139, 30, 63, 0.1);
    font-family: var(--font-primary);
}

.latin-label {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--defero-primary);
    color: white;
    padding: 6px 20px;
    border-radius: 24px;
    font-size: 1rem;
    letter-spacing: 0.5px;
    content: "What does Defero mean?";
    font-family: var(--font-primary);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.definition-content {
    max-width: 700px;
    margin: 0 auto;
    padding-top: 1rem;
    border-top: 2px solid rgba(139, 30, 63, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .defero-definition-box {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .definition-content p {
        font-size: 1rem;
    }
} 

/* Update heading styles */
.defero-definition-box h2 {
    font-family: var(--font-primary);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.defero-definition-box .text-2xl {
    font-family: var(--font-primary);
    font-weight: 500;
    font-style: italic;
}

/* Update general typography */
nav a {
    font-family: var(--font-primary);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.btn-primary, .btn-outline {
    font-family: var(--font-primary);
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* Update the definition box content */
.definition-content p {
    font-family: var(--font-primary);
    line-height: 1.6;
}

.definition-content p:first-child {
    font-family: var(--font-primary);
    font-weight: 500;
    font-style: italic;
} 

/* General content */
p {
    font-weight: 400;
    line-height: 1.6;
}

strong, b {
    font-weight: 600;
} 

/* Navigation Styles */
.nav-item {
    position: relative;
}

.nav-button {
    display: flex;
    align-items: center;
    font-family: var(--font-primary);
    font-weight: 500;
    padding: 0.5rem;
    color: #374151;
    transition: color 0.2s;
}

.nav-button:hover {
    color: var(--defero-primary);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 320px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-top: 0.5rem;
    z-index: 50;
}

.dropdown-menu.active {
    display: block;
}

.dropdown-content {
    padding: 0.5rem;
}

.dropdown-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1rem;
    transition: background-color 0.2s;
    border-radius: 6px;
}

.dropdown-item:hover {
    background-color: #f3f4f6;
}

.dropdown-item i {
    color: var(--defero-primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.dropdown-item h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #111827;
}

.dropdown-item p {
    font-size: 0.875rem;
    color: #6b7280;
} 

/* Add these new form styles */
.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: all 0.2s;
    font-family: var(--font-primary);
}

.form-input:focus {
    outline: none;
    ring: 2px;
    ring-color: var(--defero-primary);
    border-color: var(--defero-primary);
}

.form-section {
    background-color: white;
    border-radius: 0.5rem;
}

.form-section h3 {
    color: #111827;
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Add hover states */
.form-input:hover {
    border-color: var(--defero-primary);
}

/* Error states */
.form-input:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

/* Success states */
.form-input:valid:not(:placeholder-shown) {
    border-color: #10b981;
} 

/* Add new footer logo styles */
.footer-logo {
    height: 100px; /* Much larger than the header logo */
    width: auto;
    margin: 0 auto 1.5rem;
    display: block;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .footer-logo {
        height: 80px; /* Slightly smaller on mobile but still prominent */
    }
} 

/* Add feature card styles */
.feature-card {
    transition: transform 0.2s ease-in-out;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card .card {
    border: 1px solid rgba(139, 30, 63, 0.1);
    border-radius: 12px;
    transition: box-shadow 0.2s ease-in-out;
}

.feature-card:hover .card {
    box-shadow: 0 8px 24px rgba(139, 30, 63, 0.1);
} 