/*
Theme Name: Vizion Technologies
Theme URI: https://vizion-technologies.hu
Author: Antigravity
Description: Static Site Version
Version: 1.0
*/

:root {
  /* Brand Colors */
  --color-primary: #009688; /* Teal */
  --color-primary-dark: #00796B;
  --color-secondary: #F57C00; /* Orange CTA */
  --color-secondary-hover: #E65100;
  --color-accent: #4CAF50; /* Green */
  --color-text-main: #333333;
  --color-text-light: #666666;
  --color-bg-light: #F9F9F9;
  --color-white: #FFFFFF;
  --color-border: #E0E0E0;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.1);
  
  /* Spacing */
  --container-width: 1200px;
  --header-height: 80px;
  
  /* Typography */
  --font-main: 'Inter', 'Roboto', sans-serif;
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--color-text-main);
  line-height: 1.6;
  background-color: var(--color-bg-light);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul { list-style: none; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px; /* Rounded buttons per PRD */
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--color-secondary);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-secondary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

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

.section {
  padding: 80px 0;
}

.text-center { text-align: center; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

/* Grid System */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0; /* Reduced padding slightly for image balance */
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-img {
    height: 60px; /* Adjust based on logo aspect ratio */
    width: auto;
    display: block;
}
.main-navigation ul {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}
.main-navigation a {
    font-weight: 500;
    color: var(--color-text-main);
}
.main-navigation a:hover,
.main-navigation a.active {
    color: var(--color-primary);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.lang-switcher {
    font-weight: 600;
    font-size: 0.9rem;
}
.lang-switcher a {
    color: var(--color-text-light);
}
.lang-switcher a.active {
    color: var(--color-primary);
}

/* Footer */
.site-footer {
    background: #333;
    color: #fff;
    padding: 60px 0 20px;
}
.footer-col h3, .footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* Page Specific Styles */
.align-items-center { align-items: center; }

/* Hero */
.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 60px;
    padding-bottom: 60px;
}
.hero-content h1 {
    font-size: 3.5rem;
    color: var(--color-text-main);
    margin-bottom: 20px;
}
.hero-content .subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
}
.illustration-placeholder {
    position: relative;
    width: 100%;
    /* Ensure the container is suitable for circular image placement if needed,
       but primarily we style the image itself. */
    display: flex;
    justify-content: center;
}
.illustration-placeholder img {
    border-radius: 50%;
    width: 400px; /* Fixed size for perfect circle */
    height: 400px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    z-index: 1; /* Ensure it sits above the background shape */
    position: relative;
}
.abstract-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}
.shape-1 {
    width: 450px; /* Slightly larger than image */
    height: 450px;
    background: rgba(0, 150, 136, 0.1);
    top: -25px; /* Centered relative to the 400px image */
    right: auto; /* Let flexbox handle horizontal centering or adjust relative to parent */
    left: 50%;
    transform: translateX(-50%);
}

/* Products */
.products-section {
    background-color: #fff;
}
.product-card {
    background: #fff;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-bg-light);
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--color-bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 2.5rem;
}
.product-card h3 {
    margin-bottom: 10px;
    color: var(--color-text-main);
}
.product-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* References */
.section-title {
    margin-bottom: 50px;
    font-size: 2.5rem;
}
.ref-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}
.ref-card:hover {
    transform: translateY(-5px);
}
.ref-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.ref-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 200px; /* fixed height for alignment */
}
.ref-content h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}
.ref-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
}
.mt-4 { margin-top: 40px; }

/* Bottom CTA */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    padding: 100px 0;
}
.cta-section h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}
.cta-section .btn-primary {
    background: var(--color-secondary);
    border: none;
    font-size: 1.1rem;
    padding: 15px 40px;
}
.cta-section .btn-primary:hover {
    background: var(--color-secondary-hover);
    transform: scale(1.05);
}

/* Contact Form */
.contact-grid { gap: 60px; }
.contact-info { padding: 20px; }
.contact-list li { margin-bottom: 20px; }
.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-family: inherit;
    transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--color-primary);
    outline: none;
}
.checkbox-group { display: flex; align-items: center; gap: 10px; }
.checkbox-group input { width: auto; }
.btn-block { width: 100%; }

/* Mobile */
@media (max-width: 768px) {
    .container { width: 100%; padding: 0 15px; }
    .hero-content h1 { font-size: 2.5rem; }
    .grid-2 { grid-template-columns: 1fr; text-align: center; }
    .hero-image { margin-top: 40px; }
    .header-container { flex-direction: column; gap: 20px; }
    .main-navigation ul { flex-wrap: wrap; justify-content: center; }
}

/* About Page */
.about-page .lead { font-size: 1.3rem; color: var(--color-text-light); }
.value-card {
    padding: 30px;
    transition: transform 0.3s;
}
.value-card:hover { transform: translateY(-5px); }
.icon-lg { font-size: 3rem; margin-bottom: 20px; }

/* Products Page */
.page-hero {
    background: #f4f6f8;
    padding-top: 100px;
    padding-bottom: 60px;
}
.page-hero h1 { margin-bottom: 20px; }
.subtitle { font-size: 1.25rem; color: #666; }

.pro-section { padding: 80px 0; }
.bg-light { background-color: #f9f9f9; }
.bg-white { background-color: #fff; }

.pro-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(0, 150, 136, 0.1);
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}
.pro-text h2 { margin-bottom: 20px; color: #222; }
.pro-text p { margin-bottom: 20px; color: #555; font-size: 1.05rem; }

.check-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}
.check-list li::before {
    content: "✓";
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}
.pro-img img {
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.reverse-mobile { flex-direction: row-reverse; }
@media (max-width: 768px) {
    .reverse-mobile { flex-direction: column-reverse; }
    .grid-2 { display: flex; flex-direction: column; gap: 40px; }
}
