/* 
* Rotehol - Business Consulting Website
* Main Stylesheet
*/

/* Base Styles and Variables */
:root {
    --primary-color: #1a3c61;
    --secondary-color: #e74c3c;
    --tertiary-color: #3498db;
    --light-color: #f8f9fa;
    --dark-color: #333333;
    --text-color: #444444;
    --border-color: #e1e1e1;
    --bg-light: #ffffff;
    --bg-grey: #f4f6f9;
    --bg-dark: #2c3e50;
    --success-color: #27ae60;
    --font-main: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --radius: 6px;
}

/* Reset & General Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark-color);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.2rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 20px;
}

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

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

ul, ol {
    list-style-position: inside;
    margin-bottom: 20px;
}

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

button {
    cursor: pointer;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius);
    border: none;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: #132f4c;
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #c0392b;
    color: white;
}

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

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

.hidden {
    display: none !important;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 60, 97, 0.1);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.form-check input {
    margin-top: 5px;
    margin-right: 10px;
}

.form-check label {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo img {
    width: 50px;
    height: auto;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    margin-bottom: 0;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0.03;
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 50px;
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* About Section */
.about {
    background-color: var(--bg-grey);
}

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

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-stats {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.stat {
    background-color: var(--bg-light);
    padding: 30px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-10px);
}

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

.stat p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Services Section */
.services {
    background-color: var(--bg-light);
}

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

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

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

.service-card img {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 0;
}

/* Team Section */
.team {
    background-color: var(--bg-grey);
}

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

.team-image {
    flex: 1;
    min-width: 300px;
}

.team-text {
    flex: 1;
    min-width: 300px;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.member {
    background-color: var(--bg-light);
    padding: 15px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.member h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.member p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-light);
    text-align: center;
}

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

.testimonial {
    padding: 30px;
    background-color: var(--bg-grey);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
    position: relative;
}

.quote::before, .quote::after {
    content: """;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
}

.quote::before {
    top: -20px;
    left: -10px;
}

.quote::after {
    content: """;
    bottom: -50px;
    right: -10px;
}

.client {
    margin-top: 20px;
}

.client h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.client p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

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

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

/* Newsletter Section */
.newsletter {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.newsletter .section-title {
    color: white;
}

.newsletter .section-title::after {
    background-color: white;
}

.newsletter p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.newsletter .form-group {
    display: flex;
    max-width: 600px;
    margin: 0 auto 20px;
}

.newsletter .form-group input {
    flex-grow: 1;
    margin-right: 10px;
    border-radius: var(--radius);
    padding: 12px 15px;
    border: none;
}

.newsletter .form-check {
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter .form-check label {
    color: white;
}

.newsletter .form-check a {
    color: white;
    text-decoration: underline;
}

.newsletter .form-check a:hover {
    color: var(--secondary-color);
}

/* Contact Section */
.contact {
    background-color: var(--bg-grey);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-item p {
    margin-bottom: 0;
}

.social-media {
    grid-column: span 2;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.contact-form {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Map Section */
.map {
    padding: 0;
}

.map-image {
    width: 100%;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    width: 50px;
    height: auto;
    margin-bottom: 15px;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 5px;
}

.footer-logo p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-links h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    margin-bottom: 0;
}

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

.footer-links ul li a {
    color: #b3b3b3;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
}

.footer-contact h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #b3b3b3;
}

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

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #b3b3b3;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-light);
    padding: 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-settings {
    max-width: 1200px;
    margin: 20px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.cookie-option {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option input {
    margin-right: 10px;
}

.cookie-option label {
    font-weight: 600;
}

.cookie-option p {
    margin: 5px 0 0 25px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.cookie-settings-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
}

/* Blog Page */
.page-header {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.page-header h2 {
    color: white;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.blog-content {
    padding: 60px 0;
}

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

.blog-card {
    background-color: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.blog-image {
    height: 200px;
    overflow: hidden;
}

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

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-text {
    padding: 20px;
}

.blog-date {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.blog-text h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

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

/* Article Page */
.article {
    padding: 60px 0;
}

.article-header {
    margin-bottom: 40px;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 600;
}

.article-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.article-image {
    margin-bottom: 30px;
    border-radius: var(--radius);
    overflow: hidden;
}

.article-content h3 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-content h4 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.article-content ul, .article-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.article-share h4, .article-related h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.article-related ul {
    list-style: none;
    padding: 0;
}

.article-related ul li {
    margin-bottom: 10px;
}

/* Legal Pages */
.legal-content {
    padding: 60px 0;
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
}

.legal-text .last-update {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 30px;
}

.legal-text h3 {
    margin-top: 40px;
    font-size: 1.8rem;
}

.legal-text h4 {
    margin-top: 30px;
    font-size: 1.5rem;
}

.legal-text p, .legal-text ul, .legal-text ol {
    margin-bottom: 20px;
    line-height: 1.8;
}

.legal-text ul, .legal-text ol {
    padding-left: 20px;
}

.legal-text li {
    margin-bottom: 10px;
}

/* Thank You Page */
.thank-you {
    padding: 100px 0;
    text-align: center;
}

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

.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--success-color);
    color: white;
}

.thank-you-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.thank-you-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.thank-you-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.recommended-articles {
    background-color: var(--bg-grey);
    padding: 60px 0;
}

.recommended-articles h3 {
    text-align: center;
    margin-bottom: 40px;
}

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

.article-card {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
}

.article-card .article-image {
    height: 180px;
    margin-bottom: 0;
}

.article-card .article-text {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-card p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.article-card .btn {
    align-self: flex-start;
}
