/* Moody Gardens Outline Typography Style */
/* This style is called "Outline Typography" or "Stroke Typography" */

.moody-outline-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    background-image: url('../images/moody-gardens-faded.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

/* Subtle white overlay for text contrast */
.moody-outline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.55) 0%, 
        rgba(255,255,255,0.35) 40%, 
        rgba(255,255,255,0.25) 100%);
    z-index: 1;
}

/* Vignette effect for depth */
.moody-outline-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, 
        transparent 0%, 
        transparent 50%, 
        rgba(0,0,0,0.08) 100%);
    z-index: 2;
}

.moody-outline-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    padding: 4rem;
    padding-left: 8%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Main Outline Typography Container */
.moody-outline-text {
    position: relative;
    margin-bottom: 3rem;
}

/* SVG Text Styling for Outline Effect */
.moody-svg-text {
    width: 100%;
    height: auto;
    max-width: 900px;
    margin: 0 auto;
}

/* The actual outline text */
.moody-text-outline {
    fill: none;
    stroke: #2C3E50;
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-linecap: round;
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Large "MOODY" text */
.moody-text-main {
    font-size: 180px;
    stroke-width: 2.5;
    animation: drawStroke 3s ease-in-out infinite alternate;
}

/* Smaller "Gardens" text */
.moody-text-sub {
    font-size: 100px;
    stroke-width: 2;
    stroke: #4A90E2;
    animation: drawStroke 3s ease-in-out infinite alternate;
    animation-delay: 0.5s;
}

/* SVG Logo Style */
.moody-svg-logo {
    width: 100%;
    max-width: 900px;
    height: auto;
    margin-bottom: 3rem;
    filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.15));
}

/* Exact Sandpiper Style Outline Typography */
.moody-outline-text {
    text-align: left;
    padding-left: 10%;
    margin-bottom: 2rem;
}

.moody-outline-text-fallback {
    text-align: left;
    padding-left: 10%;
    margin-bottom: 2rem;
}

.moody-outline-main {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: clamp(7rem, 16vw, 13rem);
    color: transparent;
    -webkit-text-stroke: 2.5px #1a1a1a;
    text-stroke: 2.5px #1a1a1a;
    letter-spacing: 0.12em;
    margin: 0;
    margin-bottom: -3rem;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

.moody-outline-sub {
    font-family: 'Alex Brush', 'Sacramento', cursive;
    font-size: clamp(6rem, 14vw, 11rem);
    color: transparent;
    -webkit-text-stroke: 1.8px #1a1a1a;
    text-stroke: 1.8px #1a1a1a;
    letter-spacing: 0;
    margin: 0;
    margin-top: -3rem;
    margin-left: 4rem;
    font-weight: 400;
    line-height: 1;
    text-transform: none;
}

/* Simple Button Style */
.btn-outline-simple {
    display: inline-block;
    margin: 2rem 0;
    padding: 0.85rem 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #2c2c2c;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
    border: 2.5px solid #2c2c2c;
    border-radius: 35px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.btn-outline-simple:hover {
    background: #2c2c2c;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    border-color: #2c2c2c;
}

/* Simple Pyramids Layout */
.moody-pyramids-simple {
    display: flex;
    justify-content: flex-start;
    gap: 5rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.pyramid-item-simple {
    text-align: center;
    max-width: 160px;
    transition: transform 0.3s ease;
}

.pyramid-item-simple:hover {
    transform: translateY(-5px);
}

.pyramid-icon-simple {
    width: 85px;
    height: 85px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    border: 2.5px solid rgba(44, 44, 44, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.pyramid-icon-simple:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: #2c2c2c;
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0,0,0,0.18);
}

.pyramid-icon-simple i {
    font-size: 2.2rem;
    color: #2c2c2c;
}

.pyramid-item-simple p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Pyramid Icons Below */
.moody-outline-pyramids {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.moody-outline-pyramid {
    text-align: center;
    transition: transform 0.3s ease;
}

.moody-outline-pyramid:hover {
    transform: translateY(-10px);
}

.pyramid-icon-outline {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border: 2px solid #4A90E2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.pyramid-icon-outline:hover {
    background: rgba(74, 144, 226, 0.1);
    border-color: #2C3E50;
}

.pyramid-icon-outline i {
    font-size: 2rem;
    color: #2C3E50;
}

.pyramid-label-outline {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #2C3E50;
}

/* Subtitle */
.moody-outline-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #4A90E2;
    margin: 2rem 0;
}

/* CTA Button */
.btn-outline-style {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #2C3E50;
    background: transparent;
    border: 2px solid #2C3E50;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-outline-style::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #2C3E50;
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-outline-style:hover {
    color: white;
}

.btn-outline-style:hover::before {
    left: 0;
}

/* Subtle SVG text animations */
.moody-svg-text-main {
    stroke-dasharray: 1500;
    stroke-dashoffset: 0;
    animation: subtleStroke 20s ease-in-out infinite;
}

.moody-svg-text-sub {
    stroke-dasharray: 1200;
    stroke-dashoffset: 0;
    animation: subtleStroke 20s ease-in-out infinite;
    animation-delay: 0.5s;
}

@keyframes subtleStroke {
    0%, 100% {
        stroke-dashoffset: 0;
        opacity: 0.9;
    }
    50% {
        stroke-dashoffset: 30;
        opacity: 1;
    }
}

/* Decorative Elements */
.outline-decoration {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 50%;
    animation: floatDecoration 10s ease-in-out infinite;
}

.outline-decoration-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.outline-decoration-2 {
    top: 60%;
    right: 5%;
    width: 150px;
    height: 150px;
    animation-delay: 3s;
}

.outline-decoration-3 {
    bottom: 10%;
    left: 10%;
    width: 80px;
    height: 80px;
    animation-delay: 6s;
}

@keyframes floatDecoration {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -20px) rotate(90deg);
    }
    50% {
        transform: translate(-10px, 10px) rotate(180deg);
    }
    75% {
        transform: translate(15px, 5px) rotate(270deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .moody-text-main {
        font-size: 120px;
    }
    
    .moody-text-sub {
        font-size: 70px;
    }
    
    .moody-outline-main {
        font-size: clamp(6rem, 18vw, 10rem);
        -webkit-text-stroke: 2px #2C3E50;
        text-stroke: 2px #2C3E50;
    }
    
    .moody-outline-sub {
        font-size: clamp(3rem, 10vw, 6rem);
        -webkit-text-stroke: 1.5px #4A90E2;
        text-stroke: 1.5px #4A90E2;
    }
    
    .moody-outline-pyramids {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .moody-outline-pyramids {
        flex-direction: column;
        align-items: center;
    }
    
    .outline-decoration {
        display: none;
    }
}