/* 
 * Main CSS file for Pentaradiavia website
 * Colors: 
 * - Main background: #f6f2ea
 * - Accents: #ff605c (coral-red), #3a86ff (deep blue), #fb5607 (amber-orange)
 * - Fonts: 'Poppins', sans-serif; 'Lora', serif for headings
 */

/* ===== Reset & Base Styles ===== */
:root {
    --color-bg: #f6f2ea;
    --color-text: #2d2d2d;
    --color-primary: #3a86ff;
    --color-secondary: #ff605c;
    --color-accent: #fb5607;
    --color-light: #ffffff;
    --color-dark: #1a1a1a;
    --color-grey: #6c757d;
    --color-grey-light: #e9ecef;
    
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Lora', serif;
    
    --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);
    
    --transition: all 0.3s ease;
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--color-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-secondary);
    margin: 15px auto 0;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-light);
}

.btn-primary:hover {
    background-color: #2a75ee;
    color: var(--color-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-light);
}

.btn-secondary:hover {
    background-color: #e54e4a;
    color: var(--color-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* ===== Header ===== */
.site-header {
    background-color: var(--color-light);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    width: 100%;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-secondary);
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    position: relative;
}

.logo-text::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background-color: var(--color-secondary);
    position: absolute;
    bottom: 5px;
    right: -10px;
    border-radius: 50%;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--color-dark);
    border-radius: 9px;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transition);
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 9px;
}

.menu-icon span:nth-child(3) {
    top: 18px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    color: var(--color-dark);
    font-weight: 500;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-secondary);
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--color-secondary);
}

.nav-list a:hover::after {
    width: 100%;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.1) 0%, rgba(251, 86, 7, 0.1) 100%);
    text-align: center;
    padding: 120px 0;
}

.hero h1 {
    max-width: 800px;
    margin: 0 auto 20px;
    color: var(--color-dark);
}

.hero p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.25rem;
    color: var(--color-grey);
}

/* ===== Advantages Section ===== */
.advantages {
    background-color: var(--color-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-card {
    background-color: var(--color-bg);
    padding: 30px;
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: var(--color-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.advantage-card:nth-child(2) .icon-wrapper {
    background-color: var(--color-secondary);
}

.advantage-card:nth-child(3) .icon-wrapper {
    background-color: var(--color-accent);
}

.advantage-card h3 {
    margin-bottom: 15px;
}

/* ===== About Section ===== */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-content h2 {
    width: 100%;
    margin-bottom: 30px;
}

.about-text-image {
    display: flex;
    flex-direction: row;
    gap: 50px;
    align-items: flex-start;
    width: 100%;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    max-width: 350px;
    margin: 0 auto;
}

/* ===== Services Section ===== */
.services {
    background-color: var(--color-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--color-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 20px 20px 10px;
}

.service-card ul {
    padding: 0 20px 20px;
}

.service-card li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.service-card li::before {
    content: '•';
    color: var(--color-secondary);
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: 0;
}

.service-card .btn {
    margin: 0 20px 20px;
}

/* ===== Testimonials Section ===== */
.testimonials {
    background: linear-gradient(135deg, rgba(251, 86, 7, 0.05) 0%, rgba(58, 134, 255, 0.05) 100%);
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
}

.testimonial-content {
    background-color: var(--color-light);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-family: var(--font-secondary);
    font-size: 5rem;
    color: rgba(58, 134, 255, 0.1);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-content p {
    position: relative;
    z-index: 1;
}

.testimonial-author {
    margin-top: 15px;
}

.testimonial-author strong {
    display: block;
    color: var(--color-dark);
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--color-grey);
}

/* ===== Contact Section ===== */
.contact {
    background-color: var(--color-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 25px;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-details svg {
    margin-right: 15px;
    min-width: 24px;
    color: var(--color-primary);
}

.contact-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-group:nth-child(3),
.form-group:nth-child(4),
.form-check,
.contact-form button {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-grey-light);
    border-radius: var(--radius);
    background-color: var(--color-bg);
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.1);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-check input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-check label {
    font-size: 0.875rem;
}

/* ===== FAQ Section ===== */
.faq {
    background-color: var(--color-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--color-grey-light);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-toggle {
    display: none;
}

.faq-question {
    padding: 20px;
    display: block;
    cursor: pointer;
    font-weight: 600;
    background-color: var(--color-light);
    position: relative;
    transition: var(--transition);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-primary);
}

.faq-toggle:checked + .faq-question {
    background-color: var(--color-primary);
    color: var(--color-light);
}

.faq-toggle:checked + .faq-question::after {
    content: '−';
    color: var(--color-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--color-light);
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 1000px;
    padding: 20px;
}

/* ===== Footer ===== */
.site-footer {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-about p {
    margin: 15px 0;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-light);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-contact h3,
.footer-links h3,
.footer-legal h3 {
    color: var(--color-light);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact-list svg {
    margin-right: 15px;
    min-width: 24px;
    color: var(--color-secondary);
}

.footer-links-list li,
.footer-legal-list li {
    margin-bottom: 10px;
}

.footer-links-list a,
.footer-legal-list a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links-list a:hover,
.footer-legal-list a:hover {
    color: var(--color-secondary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.7;
}

/* ===== Cookie Consent ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 15px;
    z-index: 9999;
    display: none;
    box-shadow: var(--shadow-lg);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content p {
    margin: 0;
}

/* ===== Legal Pages ===== */
.legal-page {
    padding: 50px 0;
}

.legal-content {
    background-color: var(--color-light);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.legal-content h1 {
    margin-bottom: 30px;
    color: var(--color-primary);
}

.legal-content h2 {
    text-align: left;
    margin: 30px 0 15px;
}

.legal-content h2::after {
    margin: 15px 0 0;
}

.legal-content p,
.legal-content ul {
    margin-bottom: 20px;
}

.legal-content ul {
    list-style: disc;
    padding-left: 20px;
}

.legal-content ul li {
    margin-bottom: 10px;
}

/* ===== Thank You Page ===== */
.thank-you {
    padding: 100px 0;
    text-align: center;
}

.thank-you-content {
    background-color: var(--color-light);
    padding: 60px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    max-width: 700px;
    margin: 0 auto;
}

.thank-you h1 {
    color: var(--color-primary);
    margin-bottom: 20px;
}

.thank-you .icon-wrapper {
    margin-bottom: 30px;
}

.thank-you .btn {
    margin-top: 30px;
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
    section {
        padding: 60px 0;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-text-image {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-image {
        order: 1;
        text-align: center;
    }
    
    .about-image img {
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .menu-icon {
        display: block;
    }
    
    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-light);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: var(--shadow-md);
    }
    
    .menu-toggle:checked ~ .nav-list {
        max-height: 300px;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(3) {
        transform: rotate(-45deg);
        top: 9px;
    }
    
    .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--color-grey-light);
    }
    
    .nav-list li:last-child {
        border-bottom: none;
    }
    
    .nav-list a {
        display: block;
        padding: 15px 20px;
    }
    
    .nav-list a::after {
        display: none;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .contact-form form {
        grid-template-columns: 1fr;
    }
    
    .form-group:nth-child(3),
    .form-group:nth-child(4),
    .form-check,
    .contact-form button {
        grid-column: auto;
    }
}

@media (max-width: 576px) {
    .advantage-card,
    .service-card {
        padding: 20px;
    }
    
    .testimonial {
        flex: 0 0 100%;
    }
    
    .icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .legal-content,
    .thank-you-content {
        padding: 20px;
    }
} 