/* 
* Main Stylesheet for tribecaquonex.com
* Contains base styles, typography, layout and components
*/

/* ===== BASE STYLES ===== */
:root {
    --color-background: #FFF9F0;
    --color-primary: #1B365D;
    --color-accent: #EB4E27;
    --color-text: #1C1C1C;
    --color-contrast: #F1C40F;
    --color-light: #FFFFFF;
    --color-dark: #333333;
    --color-gray: #f5f5f5;
    --color-medium-gray: #888888;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

strong {
    font-weight: 600;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-subtitle {
    font-size: 1.8rem;
    color: var(--color-medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
    background-color: var(--color-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: lowercase;
    letter-spacing: -0.5px;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    list-style: none;
}

.menu li {
    margin-left: 2rem;
}

.menu a {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-light);
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 1.2rem 2.4rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
}

.cta-button:hover {
    background-color: #d23918;
    color: var(--color-light);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(235, 78, 39, 0.3);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.cta-button.secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-light);
}

.menu-toggle {
    display: none;
}

.menu-toggle-label {
    display: none;
}

/* ===== MAIN LAYOUT SECTIONS ===== */
main {
    padding-top: 7.5rem;
}

section {
    padding: 8rem 0;
    position: relative;
}

/* Hero Section */
.hero-section {
    background-color: var(--color-primary);
    color: var(--color-light);
    text-align: center;
    padding: 12rem 0 8rem;
    position: relative;
}

.hero-section h1 {
    color: var(--color-light);
    font-size: 4.8rem;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-section {
    background-color: var(--color-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.service-card {
    background-color: var(--color-background);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 2rem;
}

.service-card h3 {
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--color-accent);
    font-weight: 600;
}

.service-link:hover {
    text-decoration: underline;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 5rem;
}

.benefit-card {
    background-color: var(--color-light);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-image {
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 8px;
}

.benefit-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.benefit-card:hover .benefit-image img {
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--color-light);
}

.testimonials-slider {
    position: relative;
    margin-bottom: 2rem;
}

.testimonial-item {
    display: none;
}

.testimonial-item.active {
    display: block;
}

.testimonial-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    background-color: var(--color-background);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-image img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

blockquote {
    font-style: italic;
    position: relative;
    padding-left: 2rem;
}

blockquote:before {
    content: """;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: var(--color-accent);
    position: absolute;
    left: -1rem;
    top: -3rem;
    opacity: 0.3;
}

cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    margin-top: 1.5rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-control {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background-color: var(--color-medium-gray);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-control.active {
    background-color: var(--color-accent);
}

/* CTA Section */
.cta-section {
    background-color: var(--color-primary);
    color: var(--color-light);
    text-align: center;
    padding: 8rem 0;
}

.cta-section h2 {
    color: var(--color-light);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.cta-button.primary {
    background-color: var(--color-accent);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--color-light);
    color: var(--color-light);
}

.cta-button.secondary:hover {
    background-color: var(--color-light);
    color: var(--color-primary);
}

/* Order Form Section */
.order-section {
    background-color: var(--color-background);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--color-light);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-family: var(--font-primary);
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1.2rem;
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.checkbox-group input {
    width: auto;
    margin-top: 0.4rem;
}

.checkbox-group label {
    margin-bottom: 0;
}

.submit-button {
    background-color: var(--color-accent);
    color: var(--color-light);
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 600;
    padding: 1.2rem 2.4rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: #d23918;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(235, 78, 39, 0.3);
}

/* Contact Section */
.contact-section {
    background-color: var(--color-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.contact-map img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 6rem 0 2rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-info {
    padding-right: 2rem;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo .logo-text {
    color: var(--color-light);
}

.company-info {
    margin-top: 2rem;
    font-size: 1.4rem;
    opacity: 0.8;
}

.footer-links h3,
.footer-legal h3,
.footer-contact h3 {
    color: var(--color-light);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 1rem;
}

.footer-links a,
.footer-legal a {
    color: var(--color-light);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    opacity: 1;
}

.footer-contact p {
    margin-bottom: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 1.4rem;
    opacity: 0.8;
}

/* ===== POLICY PAGES ===== */
.policy-section {
    padding: 8rem 0;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--color-light);
    padding: 4rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-container h1 {
    margin-bottom: 3rem;
    text-align: center;
}

.policy-content h2 {
    font-size: 2.2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.policy-content p {
    margin-bottom: 1.5rem;
}

.policy-content ul,
.policy-content ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.policy-content li {
    margin-bottom: 1rem;
}

.last-updated {
    font-style: italic;
    color: var(--color-medium-gray);
    margin-bottom: 3rem;
    text-align: right;
}

.back-link {
    margin-top: 4rem;
    text-align: center;
}

.back-link a {
    color: var(--color-accent);
    font-weight: 600;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(27, 54, 93, 0.95);
    color: var(--color-light);
    padding: 2rem;
    z-index: 9999;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    margin-bottom: 0;
}

.cookie-content a {
    color: var(--color-contrast);
    text-decoration: underline;
}

.btn-accept {
    background-color: var(--color-accent);
    color: var(--color-light);
    border: none;
    padding: 1rem 2rem;
    font-family: var(--font-primary);
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.btn-accept:hover {
    background-color: #d23918;
}

/* Section dividers */
.section-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.section-divider.reverse {
    transform: rotate(180deg);
    top: 0;
    bottom: auto;
}

.section-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

/* Thank you page */
.thank-you-section {
    padding: 12rem 0;
    text-align: center;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--color-light);
    padding: 5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
    margin-bottom: 3rem;
}

.thank-you-icon svg {
    color: var(--color-primary);
}

.thank-you-details {
    margin: 3rem 0;
}

.thank-you-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

/* Thank you page special button */
.thank-you-actions .cta-button {
    background-color: var(--color-primary);
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(27, 54, 93, 0.3);
    transition: all 0.4s ease;
}

.thank-you-actions .cta-button:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(27, 54, 93, 0.4);
}

.thank-you-actions .cta-button.secondary {
    background-color: var(--color-light);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.thank-you-actions .cta-button.secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-light);
    border-color: var(--color-primary);
}

/* Cookies table */
.cookies-table {
    width: 100%;
    margin: 2rem 0 3rem;
    border-collapse: collapse;
}

.cookies-table th, 
.cookies-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.cookies-table th {
    background-color: #f5f5f5;
    font-weight: 600;
}

.cookies-table tr:last-child td {
    border-bottom: none;
}