/* Main Styles for NAKACHI Consulting Website */

/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e67e22;
    --accent-color: #3498db;
    --text-color: #333;
    --light-text: #fff;
    --light-bg: #f5f5f5;
    --dark-bg: #1a252f;
    --border-color: #ddd;
    --success-color: #2ecc71;
    --error-color: #e74c3c;
    --font-primary: 'Helvetica Neue', Arial, sans-serif;
    --font-secondary: Georgia, serif;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

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

.text-link {
    color: var(--accent-color);
    font-weight: bold;
    transition: var(--transition);
}

.text-link:hover {
    color: #2980b9;
}

.text-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.text-link:hover i {
    transform: translateX(5px);
}

/* Header */
header {
    background-color: var(--light-text);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    color: var(--primary-color);
    margin: 0;
}

.desktop-nav ul {
    display: flex;
}

.desktop-nav li {
    margin-left: 30px;
    position: relative;
}

.desktop-nav a {
    color: var(--primary-color);
    font-weight: 600;
}

.desktop-nav a:hover {
    color: var(--secondary-color);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--light-text);
    box-shadow: var(--box-shadow);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    border-radius: 4px;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 10px 20px;
    display: block;
    font-weight: normal;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

.mobile-nav {
    display: none;
    background-color: var(--light-text);
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
}

.mobile-nav li {
    margin-bottom: 15px;
}

.mobile-nav a {
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    padding: 10px 0;
}

.mobile-nav .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding-left: 20px;
}

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

.mobile-cta {
    margin-top: 10px;
    text-align: center;
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    padding: 150px 0 100px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-buttons .btn-secondary {
    border-color: var(--light-text);
    color: var(--light-text);
}

.hero-buttons .btn-secondary:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
}

/* Company Overview */
.company-overview {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.overview-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.overview-text {
    flex: 1;
}

.overview-text p {
    margin-bottom: 20px;
    font-size: 18px;
}

.overview-stats {
    flex: 1;
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.stat-item {
    padding: 30px;
    background-color: var(--light-text);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    flex: 1;
    margin: 0 10px;
}

.stat-item h3 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 16px;
    color: var(--primary-color);
}

/* Products Showcase */
.products-showcase {
    padding: 100px 0;
}

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

.product-card {
    background-color: var(--light-text);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

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

.product-icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.product-card p {
    margin-bottom: 20px;
    color: #666;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-content {
    background-color: var(--light-text);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial-content:before {
    content: '\201C';
    font-size: 80px;
    position: absolute;
    top: 20px;
    left: 20px;
    color: #f0f0f0;
    font-family: Georgia, serif;
    z-index: 1;
}

.testimonial-content p {
    font-size: 18px;
    line-height: 1.8;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.testimonial-author {
    text-align: right;
}

.testimonial-author h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.testimonial-controls {
    text-align: center;
    margin-top: 30px;
}

.testimonial-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background-color: var(--secondary-color);
}

/* Call to Action */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 80px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-logo p {
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 50px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #bbb;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--light-text);
}

.footer-column i {
    margin-right: 10px;
    color: var(--secondary-color);
}

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

.footer-bottom p {
    opacity: 0.7;
    font-size: 14px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-error {
    color: var(--error-color);
    font-size: 14px;
    margin-top: 5px;
}

.form-success {
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid var(--success-color);
    color: var(--success-color);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* About Page */
.about-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('../images/about-hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    padding: 150px 0 100px;
    text-align: center;
}

.about-section {
    padding: 100px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

.team-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

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

.team-member {
    background-color: var(--light-text);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-image {
    height: 250px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.team-info p {
    color: #666;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* Contact Page */
.contact-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('../images/contact-hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    padding: 150px 0 100px;
    text-align: center;
}

.contact-section {
    padding: 100px 0;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-form {
    flex: 2;
    background-color: var(--light-text);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.contact-form h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-info-icon {
    font-size: 24px;
    color: var(--secondary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-info-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-info-content p, .contact-info-content a {
    color: #666;
}

.contact-info-content a:hover {
    color: var(--secondary-color);
}

.contact-map {
    margin-top: 50px;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Product Pages */
.product-hero {
    padding: 150px 0 100px;
    text-align: center;
    color: var(--light-text);
}

.myip-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('../images/myip-hero.jpg');
    background-size: cover;
    background-position: center;
}

.swap-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('../images/swap-hero.jpg');
    background-size: cover;
    background-position: center;
}

.sira-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('../images/sira-hero.jpg');
    background-size: cover;
    background-position: center;
}

.rcr-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('../images/rcr-hero.jpg');
    background-size: cover;
    background-position: center;
}

.sip-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('../images/sip-hero.jpg');
    background-size: cover;
    background-position: center;
}

.product-overview {
    padding: 100px 0;
}

.product-overview-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.product-overview-text {
    flex: 1;
}

.product-overview-text h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-overview-text p {
    margin-bottom: 20px;
}

.product-overview-image {
    flex: 1;
}

.product-features {
    padding: 100px 0;
    background-color: var(--light-bg);
}

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

.feature-item {
    background-color: var(--light-text);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.product-process {
    padding: 100px 0;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ddd;
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.product-cta {
    padding: 80px 0;
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('../images/product-cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    text-align: center;
}

.product-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.product-cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.product-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.related-products {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Utility Classes */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-flex { display: flex; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--dark-bg); }
.bg-white { background-color: var(--light-text); }
.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }

.text-light { color: var(--light-text); }
.text-dark { color: var(--text-color); }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-accent { color: var(--accent-color); }

.rounded { border-radius: 8px; }
.shadow { box-shadow: var(--box-shadow); }
