/* ALTERNITA WordPress Theme - Main Styles */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f5f7;
    color: #003366;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo-full {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-text-alter {
    color: #003366;
}

.logo-text-n {
    color: #B8145E;
}

.logo-text-ita {
    color: #003366;
}

.logo-compact {
    display: none;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-aa {
    color: #B8145E;
}

/* Scrolled State */
.site-header.scrolled {
    padding: 0.5rem 0;
}

.site-header.scrolled .logo-full {
    opacity: 0;
    display: none;
}

.site-header.scrolled .logo-compact {
    display: block;
    opacity: 1;
}

/* Navigation */
.main-navigation .nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.main-navigation .nav-menu a {
    color: #003366;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-navigation .nav-menu a:hover {
    color: #B8145E;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #003366;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

/* ===== MAIN CONTENT ===== */
.site-main {
    margin-top: 80px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, #003366 0%, #00509E 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent 0%, rgba(245, 245, 247, 0.5) 50%, #f5f5f7 100%);
}

.hero-content {
    position: relative;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: white;
    max-width: 600px;
}

/* Service Portfolio */
.service-portfolio {
    padding: 4rem 0;
    background: #f5f5f7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-decoration: none;
    color: #003366;
    transition: all 0.3s ease;
    border: 1px solid #e5e5e7;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    color: #B8145E;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-description {
    color: #666;
    line-height: 1.6;
}

/* C.OPE2N Section */
.cope-section {
    padding: 4rem 0;
    background: white;
}

.cope-title {
    font-size: 3rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 1.5rem;
}

.cope-number {
    color: #B8145E;
}

.cope-description {
    font-size: 1.125rem;
    line-height: 1.8;
    max-width: 800px;
}

/* Industries Section */
.industries-section {
    padding: 4rem 0;
    background: #f5f5f7;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.industry-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.industry-item:hover {
    transform: translateY(-5px);
}

.industry-item:hover .industry-icon {
    color: #B8145E;
}

.industry-icon {
    color: #003366;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.industry-title {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Partners Section */
.partners-section {
    padding: 4rem 0;
    background: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.partner-item {
    padding: 2rem;
    background: #f5f5f7;
    border-radius: 1rem;
    text-align: center;
    font-weight: 600;
}

/* ===== PAGE TEMPLATES ===== */

/* Page Hero */
.page-hero {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #003366 0%, #00509E 100%);
    margin-top: 80px;
    overflow: hidden;
}

.page-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 128px;
    background: linear-gradient(to bottom, transparent 0%, rgba(245, 245, 247, 0.5) 50%, #f5f5f7 100%);
}

.page-hero .container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
}

/* Page Content */
.page-content {
    padding: 4rem 0;
    background: #f5f5f7;
}

.intro-text {
    max-width: 1000px;
    margin-bottom: 4rem;
}

.intro-text p {
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Services Section */
.services-section {
    margin-bottom: 4rem;
}

.section-heading {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.services-grid-2col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.service-card-detail {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e5e5e7;
    transition: box-shadow 0.3s ease;
}

.service-card-detail:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-card-desc {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-includes {
    margin-bottom: 1rem;
}

.includes-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.includes-list {
    list-style: none;
}

.includes-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.check-icon {
    color: #B8145E;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e5e7;
}

.service-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #B8145E;
}

.btn-request {
    background: #003366;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-request:hover {
    background: #B8145E;
}

/* Call to Action Box */
.cta-box {
    background: #003366;
    padding: 3rem;
    border-radius: 1.5rem;
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    display: inline-block;
    background: white;
    color: #003366;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: #B8145E;
    color: white;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    background: #003366;
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.contact-method-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-link {
    color: #003366;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #B8145E;
}

.contact-address {
    line-height: 1.6;
}

/* Business Hours */
.business-hours {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e5e5e7;
}

.business-hours-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
}

.hours-time {
    font-weight: 600;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e5e5e7;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d1d6;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #B8145E;
    box-shadow: 0 0 0 3px rgba(184, 20, 94, 0.1);
}

.form-textarea {
    resize: none;
}

.btn-submit {
    background: #003366;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #B8145E;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #003366;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    line-height: 1.6;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 1rem;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-contact a:hover {
    opacity: 1;
}

.footer-hours {
    list-style: none;
}

.footer-hours li {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid-2col {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}
