/* 
 * Main Stylesheet for Canadian Business Magazine
 * Color Palette:
 * - Primary Background: #1C1F4A (deep indigo) 
 * - Accent: #FF2C91 (neon magenta)
 * - Supporting Colors:
 *   - #B1B4C7 (lavender-gray)
 *   - #FFEAD0 (light peach)
 *   - #F6F7FC (blue-tinted white)
 */

/* Base Styles */
:root {
    --color-primary: #1C1F4A;
    --color-accent: #FF2C91;
    --color-supporting-1: #B1B4C7;
    --color-supporting-2: #FFEAD0;
    --color-supporting-3: #F6F7FC;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --container-width: 1200px;
    --border-radius: 8px;
    --box-shadow: 0 5px 25px rgba(28, 31, 74, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-primary);
    background-color: var(--color-supporting-3);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent);
}

ul, ol {
    margin: 0 0 1rem 1.5rem;
}

/* Layout */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 6rem 0;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(246, 247, 252, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(28, 31, 74, 0.1);
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
}

.nav-menu li {
    margin: 0 1rem;
}

.nav-menu li a {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.nav-menu li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
}

.menu-toggle-label {
    display: none;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
    box-shadow: 0 4px 10px rgba(255, 44, 145, 0.25);
}

.btn-primary:hover {
    background-color: #e32383;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 44, 145, 0.35);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(28, 31, 74, 0.2);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--color-primary);
    color: white;
    overflow: hidden;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

.hero-section .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 44, 145, 0.3) 0%, rgba(28, 31, 74, 0.1) 100%);
    z-index: 1;
}

/* About Section */
.about-section {
    background-color: var(--color-supporting-3);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Advantages Section */
.advantages-section {
    background-color: var(--color-supporting-2);
    position: relative;
    overflow: hidden;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-card {
    background-color: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(28, 31, 74, 0.2);
}

.icon-wrapper {
    margin-bottom: 1.5rem;
}

.icon-wrapper img {
    width: 80px;
    height: 80px;
}

/* Services Section */
.services-section {
    background-color: var(--color-supporting-3);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(177, 180, 199, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    font-family: var(--font-secondary);
}

.service-card ul {
    list-style: none;
    margin: 0 0 2rem 0;
    text-align: left;
}

.service-card ul li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.service-card.featured {
    transform: scale(1.05);
    z-index: 1;
    border: 2px solid var(--color-accent);
}

.service-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--color-primary);
    color: white;
}

.testimonials-section h2 {
    color: white;
}

.testimonials-container {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
}

.testimonial {
    flex: 0 0 calc(33.333% - 1.333rem);
    scroll-snap-align: start;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--color-accent);
}

.testimonial-author span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Gallery Section */
.gallery-section {
    background-color: var(--color-supporting-3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(28, 31, 74, 0.25);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(28, 31, 74, 0.9), transparent);
    color: white;
    padding: 1.5rem 1rem 1rem;
    font-weight: 500;
}

/* Form Section */
.form-section {
    background-color: var(--color-supporting-2);
    position: relative;
}

.order-form {
    background-color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 700px;
    margin: 3rem auto 0;
    transform: rotate(-1deg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-supporting-1);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255, 44, 145, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.styled-checkbox {
    position: relative;
    padding-left: 2rem;
}

.styled-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: auto;
}

.styled-checkbox label {
    position: relative;
    cursor: pointer;
    padding: 0;
}

.styled-checkbox label:before {
    content: '';
    margin-right: 10px;
    position: absolute;
    left: -2rem;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid var(--color-supporting-1);
    border-radius: 4px;
    transition: var(--transition);
}

.styled-checkbox input[type="checkbox"]:checked + label:before {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.styled-checkbox input[type="checkbox"]:checked + label:after {
    content: '';
    position: absolute;
    left: -1.6rem;
    top: 0.35rem;
    width: 0.75rem;
    height: 0.4rem;
    border: 2px solid white;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
}

.styled-checkbox input[type="checkbox"]:focus + label:before {
    box-shadow: 0 0 0 3px rgba(255, 44, 145, 0.2);
}

.form-section .btn {
    margin-top: 1rem;
    display: block;
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

/* Contact Section */
.contact-section {
    background-color: var(--color-supporting-3);
}

.contact-content {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item h3 {
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.contact-map {
    flex: 1;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.site-footer {
    background-color: var(--color-primary);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info {
    flex: 2;
    min-width: 300px;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 40px;
}

.footer-description {
    color: var(--color-supporting-1);
    max-width: 400px;
}

.footer-links {
    flex: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.footer-nav, .footer-legal, .footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-links h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: var(--color-supporting-1);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--color-accent);
}

.footer-contact address {
    font-style: normal;
    color: var(--color-supporting-1);
}

.footer-contact address p {
    margin-bottom: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid rgba(177, 180, 199, 0.2);
    padding-top: 2rem;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-supporting-1);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    max-width: 500px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(28, 31, 74, 0.25);
    padding: 2rem;
    z-index: 9999;
    animation: slideUp 0.5s ease forwards;
}

.cookie-content h3 {
    margin-bottom: 1rem;
}

.cookie-content p {
    margin-bottom: 1.5rem;
}

.cookie-content form {
    text-align: right;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Legal Pages */
.legal-section {
    padding: 8rem 0 6rem;
}

.legal-content {
    background-color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 2rem;
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.legal-content h2:first-of-type {
    margin-top: 1rem;
}

.legal-content ul {
    margin-bottom: 1.5rem;
}

/* Thank You Page */
.thank-you-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 8rem 0;
}

.thank-you-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-content h1 {
    margin-bottom: 1rem;
}

.thank-you-content .subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--color-accent);
}

.thank-you-content p {
    margin-bottom: 0.75rem;
}

.action-buttons {
    margin-top: 3rem;
} 