/* 
 * Elegant Landing Page Design
 * Minimalist, Inspiring, Sophisticated
 * Burgundy & Gold Accent Theme

 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Color Palette - matching intranet theme */
    --color-burgundy: #6A2C2E;
    --color-burgundy-light: #8B4548;
    --color-burgundy-dark: #4A1F21;
    --color-gold: #D9BF77;
    --color-gold-dark: #B89F5F;
    --color-cream: #F0E5D8;
    --color-cream-light: #F5EDE2;
    --color-cream-lighter: #f0e5d8;
    --color-text-dark: #2C2C2C;
    --color-text-light: #F5EDE2;
    --color-text-secondary: #5A4A3A;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-xxl: 6rem;
    
    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset for landing page */
body.template-landingpage {
    margin: 0;
    padding: 0;
    max-width: none;
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.7;
    background: var(--color-cream-lighter);
    display: block;
    scroll-behavior: smooth;
}

body.template-landingpage main {
    max-width: none;
    padding: 0;
    margin: 0;
}

/* Override default header border for landing page */
body.template-landingpage header {
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(240, 229, 216, 0.98); /* Cream color with transparency */
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(106, 44, 46, 0.08);
    padding: 0.75rem 0;
}

body.template-landingpage header .nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

/* Hide navigation links on landing page, keep only logo */
body.template-landingpage header .nav-menu {
    display: none;
}

body.template-landingpage header .nav-logo {
    margin: 0;
}

body.template-landingpage header .nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

body.template-landingpage header .nav-action-button {
    border-radius: 999px;
    padding: 0.6rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all var(--transition);
    box-shadow: 0 8px 20px rgba(106, 44, 46, 0.15);
}

body.template-landingpage header .nav-action-button.nav-action-intranet {
    background: var(--color-burgundy);
    color: var(--color-cream-light);
    border: 2px solid var(--color-burgundy);
}

body.template-landingpage header .nav-action-button.nav-action-intranet:hover,
body.template-landingpage header .nav-action-button.nav-action-intranet:focus-visible {
    background: var(--color-burgundy-dark);
    border-color: var(--color-burgundy-dark);
    color: var(--color-cream-light);
    box-shadow: 0 10px 24px rgba(74, 31, 33, 0.2);
}

body.template-landingpage header .nav-action-button.nav-action-login {
    background: transparent;
    color: var(--color-burgundy);
    border: 2px solid var(--color-burgundy);
}

body.template-landingpage header .nav-action-button.nav-action-login:hover,
body.template-landingpage header .nav-action-button.nav-action-login:focus-visible {
    background: var(--color-burgundy);
    color: var(--color-cream-light);
    box-shadow: 0 10px 24px rgba(74, 31, 33, 0.2);
}

/* ===================================
   HERO BANNER SECTION
   =================================== */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 600px;
    height: 80vh;
    max-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-burgundy-dark) 0%, var(--color-burgundy) 100%);
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(106, 44, 46, 0.7) 0%,
        rgba(74, 31, 33, 0.8) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-text-light);
    padding: var(--space-md);
    max-width: 900px;
    margin: 0 auto;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    margin: 0 0 var(--space-md);
    line-height: 1.2;
    color: var(--color-cream-lighter);
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    margin: 0 0 var(--space-lg);
    line-height: 1.6;
    color: var(--color-cream-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-burgundy-dark);
    background: var(--color-gold);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(217, 191, 119, 0.3);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta-button:hover {
    background: var(--color-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(217, 191, 119, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   CONTAINER
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ===================================
   TEXT SECTIONS
   =================================== */
.content-section {
    padding: var(--space-xxl) 0;
}

/* Background Colors */
.bg-light {
    background: var(--color-cream-light);
}

.bg-lighter {
    background: var(--color-cream-lighter);
}

.bg-burgundy {
    background: var(--color-burgundy);
    color: var(--color-text-light);
}

.bg-burgundy .section-title {
    color: var(--color-gold);
}

.bg-burgundy .section-content {
    color: var(--color-cream-light);
}

/* Section Title */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--color-burgundy);
    margin: 0 0 var(--space-lg);
    text-align: center;
}

/* Section Content */
.section-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-dark);
}

.section-content p {
    margin: 0 0 var(--space-md);
}

.section-content h2, .section-content h3 {
    font-family: var(--font-display);
    color: var(--color-burgundy);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

/* One Column Layout */
.section-one_column .section-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Two Columns Layout */
.section-two_columns .section-content {
    column-count: 2;
    column-gap: var(--space-xl);
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-two_columns .section-content {
        column-count: 1;
    }
}

/* ===================================
   IMAGE + TEXT SECTIONS
   =================================== */
.image-text-section {
    padding: var(--space-xxl) 0;
    background: var(--color-cream-lighter);
}

.image-text-section:nth-of-type(even) {
    background: var(--color-cream-light);
}

.image-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

/* Image positioning */
.image-left .image-text-grid {
    grid-template-areas: "image text";
}

.image-right .image-text-grid {
    grid-template-areas: "text image";
}

.image-column {
    grid-area: image;
}

.text-column {
    grid-area: text;
}

.section-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition);
}

.section-image:hover {
    transform: scale(1.02);
}

.text-column .section-title {
    text-align: left;
    margin-bottom: var(--space-md);
}

@media (max-width: 968px) {
    .image-text-grid {
        grid-template-columns: 1fr;
        grid-template-areas: "image" "text" !important;
        gap: var(--space-lg);
    }
}

/* ===================================
   CTA BANNER SECTIONS
   =================================== */
.cta-banner {
    position: relative;
    padding: var(--space-xxl) 0;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-burgundy) 0%, var(--color-burgundy-dark) 100%);
    color: var(--color-text-light);
}

.cta-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.cta-banner-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    color: var(--color-cream-lighter);
    margin: 0 0 var(--space-md);
}

.cta-banner-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-cream-light);
    margin: 0 0 var(--space-lg);
}

.cta-banner-button {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-burgundy-dark);
    background: var(--color-cream-lighter);
    border: 2px solid var(--color-cream-lighter);
    border-radius: 50px;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-banner-button:hover {
    background: transparent;
    color: var(--color-cream-lighter);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ===================================
   FOOTER STYLING
   =================================== */
body.template-landingpage footer {
    background: var(--color-burgundy-dark);
    color: var(--color-text-light);
    padding: var(--space-xl) var(--space-md) var(--space-lg);
    text-align: center;
    border-top: 3px solid var(--color-gold);
    margin-top: 0;
}

body.template-landingpage footer a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color var(--transition);
    font-weight: 500;
}

body.template-landingpage footer a:hover {
    color: var(--color-gold-dark);
    text-decoration: underline;
}

body.template-landingpage footer p {
    margin: var(--space-sm) 0;
    color: var(--color-cream);
    line-height: 1.6;
}

body.template-landingpage footer p:first-child {
    margin-top: 0;
}

body.template-landingpage footer p:last-child {
    margin-bottom: 0;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .hero-banner {
        min-height: 500px;
        height: 70vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .content-section {
        padding: var(--space-xl) 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-content {
        font-size: 1rem;
    }
    
    .cta-banner {
        padding: var(--space-xl) 0;
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Focus states for keyboard navigation */
.hero-cta-button:focus,
.cta-banner-button:focus {
    outline: 3px solid var(--color-gold);
    outline-offset: 4px;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

