/* 
* NeoTek Journal - Main Stylesheet
* Colors:
* - Main background: #161B2D (dark indigo)
* - Accents: #5EF38C (neon green), #FFD166 (sunny amber)
* - Text: #FFFFFF (white), #C7C7C7 (light gray)
* - Block backgrounds: #1F263B and #101522 (alternating)
*/

/* ---------- CSS Reset & Base Styles ---------- */
:root {
    --color-bg-main: #161B2D;
    --color-bg-alt1: #1F263B;
    --color-bg-alt2: #101522;
    --color-accent1: #5EF38C;
    --color-accent2: #FFD166;
    --color-text: #FFFFFF;
    --color-text-muted: #C7C7C7;
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --container-width: 1200px;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    --border-radius: 4px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-main);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-accent1);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-accent2);
}

button {
    cursor: pointer;
    font-family: var(--font-main);
}

ul, ol {
    list-style: none;
}

/* ---------- Utility Classes ---------- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--color-accent1);
    color: var(--color-bg-alt2);
}

.btn-primary:hover {
    background-color: var(--color-accent2);
    color: var(--color-bg-alt2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-accent {
    background-color: var(--color-accent2);
    color: var(--color-bg-alt2);
}

.btn-accent:hover {
    background-color: var(--color-accent1);
    color: var(--color-bg-alt2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.section {
    padding: var(--space-lg) 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    height: 4px;
    width: 60px;
    background: var(--color-accent1);
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 100%;
    background: linear-gradient(90deg, var(--color-accent1), var(--color-accent2));
}

.text-center {
    text-align: center;
}

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* Grid system */
.grid {
    display: grid;
    gap: var(--space-md);
}

.grid-2 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ---------- Header & Navigation ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(22, 27, 45, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
}

.logo {
    display: block;
}

.main-nav ul {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.main-nav a {
    color: var(--color-text);
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent1);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.mobile-menu {
    display: none;
}

.desktop-nav {
    display: block;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .mobile-menu summary {
        list-style: none;
        cursor: pointer;
        padding: 0.5rem;
        color: var(--color-text);
        background-color: transparent;
        border: 1px solid var(--color-accent1);
        border-radius: var(--border-radius);
    }
    
    .mobile-menu[open] summary {
        background-color: var(--color-accent1);
        color: var(--color-bg-alt2);
    }
    
    .mobile-menu nav {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: var(--color-bg-alt1);
        padding: var(--space-md);
        border-radius: var(--border-radius);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        width: 200px;
        animation: fadeIn 0.3s ease;
    }
    
    .mobile-menu ul {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

/* ---------- Hero Section ---------- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(rgba(22, 27, 45, 0.7), rgba(16, 21, 34, 0.9)), url('../img/hero-bg.jpg') no-repeat center/cover;
    overflow: hidden;
    margin-top: 80px; /* For fixed header */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/grid-texture.svg') repeat;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    animation: fadeInUp 1s 0.2s ease forwards;
    opacity: 0;
}

.hero .btn {
    animation: fadeInUp 1s 0.4s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ---------- About Section ---------- */
.about {
    background-color: var(--color-bg-alt1);
    padding: var(--space-xl) 0;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .about-content {
        flex-direction: row;
    }
    
    .about-text {
        flex: 1;
    }
    
    .about-image {
        flex: 1;
    }
}

.about-image img {
    border-radius: var(--border-radius);
    object-fit: cover;
    height: 100%;
    width: 100%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* ---------- Current Issue Section ---------- */
.current-issue {
    background-color: var(--color-bg-alt2);
    padding: var(--space-xl) 0;
}

.issue-card {
    background-color: var(--color-bg-alt1);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.issue-card:hover {
    transform: translateY(-10px);
}

.issue-image {
    height: 300px;
    overflow: hidden;
}

.issue-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.issue-card:hover .issue-image img {
    transform: scale(1.05);
}

.issue-content {
    padding: var(--space-md);
}

.issue-date {
    color: var(--color-accent2);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.issue-title {
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
}

.issue-preview {
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

/* ---------- Services Section ---------- */
.services {
    background-color: var(--color-bg-alt1);
    padding: var(--space-xl) 0;
}

.service-card {
    background-color: var(--color-bg-main);
    border-radius: var(--border-radius);
    padding: var(--space-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-bg-alt1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: var(--space-sm);
}

.service-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--color-accent1);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.service-description {
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.service-price {
    font-size: 1.5rem;
    color: var(--color-accent1);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

/* ---------- Testimonials Section ---------- */
.testimonials {
    background-color: var(--color-bg-alt2);
    padding: var(--space-xl) 0;
}

.testimonial-card {
    background-color: var(--color-bg-alt1);
    border-radius: var(--border-radius);
    padding: var(--space-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 100%;
}

.testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 4rem;
    color: rgba(94, 243, 140, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: var(--space-sm);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* ---------- FAQ Section ---------- */
.faq {
    background-color: var(--color-bg-alt1);
    padding: var(--space-xl) 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item details {
    outline: none;
}

.faq-item summary {
    padding: var(--space-sm) 0;
    cursor: pointer;
    list-style: none;
    position: relative;
    font-weight: 600;
    font-size: 1.2rem;
    padding-right: 30px;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.faq-item details[open] summary::after {
    content: '−';
}

.faq-item div {
    padding: 0 0 var(--space-sm) 0;
    color: var(--color-text-muted);
}

/* ---------- Form Section ---------- */
.order-form {
    background-color: var(--color-bg-alt2);
    padding: var(--space-xl) 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-bg-alt1);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--color-bg-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--color-text);
    font-family: var(--font-main);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent1);
    box-shadow: 0 0 0 3px rgba(94, 243, 140, 0.2);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-sm);
}

.form-check-input {
    margin-top: 0.3rem;
    margin-right: var(--space-sm);
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.form-check-label a {
    text-decoration: underline;
}

/* ---------- CTA Section ---------- */
.cta {
    background: linear-gradient(rgba(22, 27, 45, 0.9), rgba(16, 21, 34, 0.9)), url('../img/cta-bg.jpg') no-repeat center/cover;
    padding: var(--space-xl) 0;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.cta-text {
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    font-size: 1.2rem;
}

.cta-highlight {
    color: var(--color-accent2);
    font-weight: 700;
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: var(--color-bg-main);
    padding-top: var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

@media (min-width: 576px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-column h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    height: 2px;
    width: 30px;
    background: var(--color-accent1);
}

.footer-column p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-accent1);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-md) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
}

@media (min-width: 768px) {
    .footer-bottom p {
        margin-bottom: 0;
    }
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background-color: var(--color-accent1);
    transform: translateY(-3px);
}

.social-links .icon {
    width: 18px;
    height: 18px;
    fill: var(--color-text);
}

/* ---------- Cookie Popup ---------- */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--color-bg-alt1);
    padding: var(--space-md);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: slideUp 0.5s ease forwards;
    max-width: 400px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.cookie-content p {
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ---------- Thank You Page ---------- */
.thank-you {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--space-lg);
    background-color: var(--color-bg-alt1);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    background-color: var(--color-accent1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.thank-you-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--color-bg-alt2);
}

.thank-you-title {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
} 