/* 
* ContaPro - Serviços Contábeis em Portugal
* Paleta de cores: 
* - Sapphire Blue: #0D3B66
* - Neon Lime: #C0FF00
* - Bright Mandarin: #FF784F
* - Light Sand: #F7F0E0
* - Anthracite: #1C1C1C
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #F7F0E0;
    background-color: #0D3B66;
    padding-top: 4.5rem;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

a {
    color: #C0FF00;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF784F;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: #C0FF00;
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
}

section {
    padding: 5rem 0;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: #C0FF00;
    color: #0D3B66;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #FF784F;
    color: #F7F0E0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #F7F0E0;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid #F7F0E0;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #F7F0E0;
    color: #0D3B66;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0D3B66;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0.5rem 0;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    display: flex;
    align-items: center;
    color: #F7F0E0;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-svg {
    margin-right: 0.5rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 1rem;
}

.main-nav a {
    color: #F7F0E0;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #C0FF00;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: #0D3B66;
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    background: url('./img/HqZ360.jpg') no-repeat center center;
    background-size: cover;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 59, 102, 0.7);
    z-index: 1;
}

.hero-content {
    width: 100%;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    margin-bottom: 2rem;
    font-size: 3.5rem;
}

.hero h1 span {
    color: #C0FF00;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

/* Services Section */
.services {
    background-color: #1C1C1C;
    padding: 5rem 0;
}

.service-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 2rem;
    margin-top: 3rem;
    padding-bottom: 1rem;
}

.service-card {
    background-color: #0D3B66;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    flex: 1;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    color: #FF784F;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: #C0FF00;
    margin-bottom: 1rem;
}

/* Benefits Section */
.benefits {
    background-color: #0D3B66;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefits-image-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
    margin: 3rem 0;
}

.benefit-image {
    width: calc(25% - 1.5rem);
    height: 200px;
    object-fit: cover;
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.benefit-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* При меньших разрешениях экрана - 2 фото в ряд */
@media (max-width: 768px) {
    .benefit-image {
        width: calc(50% - 1rem);
    }
}

/* На мобильных - одно фото на всю ширину */
@media (max-width: 480px) {
    .benefit-image {
        width: 100%;
    }
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.benefit-icon {
    font-size: 2rem;
    color: #C0FF00;
}

.benefit-content h3 {
    color: #FF784F;
    margin-bottom: 0.8rem;
}

/* Pricing Section */
.pricing {
    background-color: #1C1C1C;
    padding: 5rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background-color: #0D3B66;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured:before {
    content: 'Popular';
    position: absolute;
    top: 10px;
    right: -30px;
    background-color: #C0FF00;
    color: #0D3B66;
    padding: 0.5rem 3rem;
    font-size: 0.8rem;
    font-weight: 700;
    transform: rotate(45deg);
}

.pricing-header {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(247, 240, 224, 0.1);
    margin-bottom: 2rem;
}

.pricing-name {
    color: #C0FF00;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-period {
    font-size: 0.9rem;
    opacity: 0.7;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(247, 240, 224, 0.1);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Testimonials Section */
.testimonials {
    background-color: #0D3B66;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: #1C1C1C;
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-content:before {
    content: '"';
    font-size: 3rem;
    color: #FF784F;
    position: absolute;
    top: 1rem;
    left: 1rem;
    opacity: 0.2;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.author-info h4 {
    margin-bottom: 0.2rem;
}

.author-company {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* FAQ Section */
.faq {
    background-color: #1C1C1C;
    padding: 5rem 0;
}

.faq .container h2, 
.faq .container > p {
    text-align: center;
}

.faq .container h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background-color: #0D3B66;
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:after {
    content: '+';
    font-size: 1.5rem;
    color: #C0FF00;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid rgba(247, 240, 224, 0.1);
}

/* Contact Form Section */
.contact-form-section {
    background-color: #0D3B66;
    padding: 5rem 0;
}

.contact-form-section .container h2,
.contact-form-section .container > p {
    text-align: center;
}

.contact-form-section .container h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.form-container {
    max-width: 800px;
    margin: 3rem auto 0;
    background-color: #1C1C1C;
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-input, 
.form-select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(247, 240, 224, 0.2);
    border-radius: 0.5rem;
    background-color: rgba(13, 59, 102, 0.5);
    color: #F7F0E0;
    font-family: inherit;
}

.form-input:focus, 
.form-select:focus {
    outline: none;
    border-color: #C0FF00;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.form-submit {
    grid-column: 1 / -1;
    text-align: center;
}

/* Contact & Map Section */
.contact-map {
    background-color: #1C1C1C;
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-method {
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: #C0FF00;
}

.map-container {
    border-radius: 1rem;
    overflow: hidden;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.site-footer {
    background-color: #0D3B66;
    padding: 4rem 0 2rem;
    color: #F7F0E0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.footer-logo svg {
    margin-right: 0.5rem;
}

.company-description {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-column h3 {
    color: #C0FF00;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #FF784F;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #F7F0E0;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: #C0FF00;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(247, 240, 224, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: #1C1C1C;
    padding: 1rem;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    opacity: 0;
    transition: all 0.5s ease;
}

.cookie-banner.active {
    bottom: 0;
    opacity: 1;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.cookie-content p {
    margin-right: 2rem;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .service-grid {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 1rem;
    }
    
    .service-card {
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 4rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-content {
        width: 100%;
        text-align: center;
    }
    
    .hero-btns {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav {
        display: none;
    }
    
    .contact-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .site-header .container {
        padding: 0.3rem 1rem;
    }
    
    .logo-svg {
        width: 24px;
        height: 24px;
    }
    
    .logo a {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 3.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 1.5rem 0;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .site-header .container {
        padding: 0.3rem 0.5rem;
    }
} 

/* Photo Gallery Section */
.photo-gallery {
    background-color: #1C1C1C;
    padding: 5rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    height: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(13, 59, 102, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: #F7F0E0;
    font-weight: 600;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 250px;
    }
} 