/* Auxiliary Pages Styles */

/* Page Header */
.page-header {
    background-color: var(--midnight-navy);
    border-bottom: 1px solid rgba(57, 224, 208, 0.2);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-container a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.header-contact .phone {
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border: 2px solid var(--neon-cyan);
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.header-contact .phone:hover {
    background-color: var(--neon-cyan);
    color: var(--midnight-navy);
}

/* Main Content */
.page-main {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

/* Page Hero */
.page-hero {
    text-align: center;
    margin-bottom: 60px;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--midnight-navy) 0%, var(--graphite) 100%);
    border-radius: 12px;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--soft-sand);
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--neon-cyan);
    opacity: 0.9;
}

/* Content Sections */
.content-section {
    margin-bottom: 50px;
    background-color: var(--graphite);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(57, 224, 208, 0.1);
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--soft-sand);
    margin-bottom: 25px;
    border-bottom: 2px solid var(--neon-cyan);
    padding-bottom: 10px;
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--soft-sand);
    margin: 30px 0 15px 0;
}

.content-section p {
    color: var(--soft-sand);
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Content with Image Layout */
.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 30px 0;
}

.content-text {
    order: 1;
}

.content-image {
    order: 2;
}

.content-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(57, 224, 208, 0.2);
}

.rounded-image {
    border-radius: 12px !important;
}

/* Alternate layout for some sections */
.content-with-image:nth-child(even) .content-text {
    order: 2;
}

.content-with-image:nth-child(even) .content-image {
    order: 1;
}

.content-section ul {
    color: var(--soft-sand);
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 20px;
}

.content-section li {
    margin-bottom: 8px;
}

.content-section a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.content-section a:hover {
    opacity: 0.8;
}

/* About Page Specific Styles */
.mission-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.mission-point {
    background-color: var(--midnight-navy);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(57, 224, 208, 0.2);
}

.mission-point h3 {
    color: var(--neon-cyan);
    margin-bottom: 15px;
    margin-top: 0;
}

.tech-list {
    list-style: none;
    padding-left: 0;
}

.tech-list li {
    background-color: var(--midnight-navy);
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid var(--neon-cyan);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.value-item {
    background-color: var(--midnight-navy);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(57, 224, 208, 0.2);
    text-align: center;
}

.value-item h3 {
    color: var(--neon-cyan);
    margin-bottom: 15px;
    margin-top: 0;
}

/* Contact Info */
.contact-info {
    background-color: var(--midnight-navy);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(57, 224, 208, 0.2);
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: var(--neon-cyan);
    text-decoration: none;
}

.contact-info a:hover {
    opacity: 0.8;
}

/* Cookie Policy Table */
.cookie-table {
    overflow-x: auto;
    margin: 20px 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--midnight-navy);
    border-radius: 8px;
    overflow: hidden;
}

.cookie-table th,
.cookie-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(57, 224, 208, 0.2);
}

.cookie-table th {
    background-color: var(--neon-cyan);
    color: var(--midnight-navy);
    font-weight: 600;
}

.cookie-table td {
    color: var(--soft-sand);
}

/* Footer Links */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(57, 224, 208, 0.1);
    border-bottom: 1px solid rgba(57, 224, 208, 0.1);
}

.footer-links a {
    color: var(--soft-sand);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-cyan);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .content-section {
        padding: 25px;
    }
    
    .content-section h2 {
        font-size: 1.75rem;
    }
    
    .mission-points,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cookie-table {
        font-size: 14px;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 40px 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .content-section h3 {
        font-size: 1.25rem;
    }
    
    .content-with-image {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .content-with-image .content-text,
    .content-with-image .content-image {
        order: unset !important;
    }
    
    .content-image img {
        height: 200px;
    }
}