/*=====================================
🎨 BRAND VARIABLES
=====================================*/
:root {
    --primary-color: #023A49; /* Dark blue */
    --cta-color: #E28E26;     /* Orange */
    --cta-hover: #D17D1F;
    --highlight-color: #FFCB05; /* Yellow */
    --text-color: #FFFFFF;    /* White */
    --bg-darker: #012b36;     /* Slightly darker blue for sections */
    --bg-light: #03485a;      /* Slightly lighter blue */
    --input-bg: rgba(255, 255, 255, 0.1);
    --input-border: rgba(255, 255, 255, 0.2);
    
    --font-family: 'Montserrat', sans-serif;
}

/*=====================================
 RESET & GLOBAL
=====================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.highlight {
    color: var(--highlight-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.hidden {
    display: none !important;
}

.section-padding {
    padding: 80px 0;
}

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

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

/*=====================================
 HEADER
=====================================*/
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
}

.logo img {
    max-height: 100px;
    width: auto;
}

/*=====================================
 BUTTONS
=====================================*/
.btn-cta {
    display: inline-block;
    background-color: var(--cta-color);
    color: var(--text-color);
    text-decoration: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(226, 142, 38, 0.4);
    text-align: center;
}

.btn-cta:hover {
    background-color: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(226, 142, 38, 0.6);
}

.btn-large {
    padding: 22px 50px;
    font-size: 1.3rem;
}

.btn-whatsapp {
    background-color: #25D366;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background-color: #1DA851;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.btn-whatsapp i {
    font-size: 1.5rem;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(226, 142, 38, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(226, 142, 38, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(226, 142, 38, 0); }
}

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

/*=====================================
 1. HERO SECTION
=====================================*/
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('assets/hero-bg.jpg'); /* Ensure this image exists or fallback to color */
    background-color: var(--bg-darker);
    background-size: cover;
    background-position: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 58, 73, 0.95) 0%, rgba(2, 58, 73, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeIn 1s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    font-weight: 500;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/*=====================================
 2 & 3. QUIZ OVERLAY & RESULT
=====================================*/
.quiz-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow-y: auto;
}

.quiz-overlay.active {
    display: flex;
    animation: slideUp 0.5s ease-out forwards;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.quiz-header {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.quiz-progress-bar {
    width: 200px;
    height: 8px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.quiz-progress {
    height: 100%;
    background-color: var(--highlight-color);
    width: 0%;
    transition: width 0.4s ease;
}

.close-quiz {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-quiz:hover {
    color: #ff6b6b;
}

.quiz-content-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.quiz-step {
    max-width: 700px;
    width: 100%;
    animation: fadeIn 0.5s ease-out;
}

.quiz-question-box h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quiz-option {
    background-color: var(--bg-darker);
    border: 2px solid rgba(255,255,255,0.1);
    padding: 20px 25px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
}

.quiz-option i {
    font-size: 1.5rem;
    color: var(--cta-color);
}

.quiz-option:hover {
    border-color: var(--cta-color);
    background-color: rgba(226, 142, 38, 0.1);
    transform: translateX(5px);
}

/* Quiz Result Area */
#quiz-result {
    text-align: center;
}

.result-badge {
    width: 100px;
    height: 100px;
    background-color: var(--bg-darker);
    border: 3px solid var(--highlight-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 3.5rem;
    color: var(--highlight-color);
}

.result-badge.positive { border-color: #2ecc71; color: #2ecc71; }
.result-badge.medium { border-color: var(--highlight-color); color: var(--highlight-color); }
.result-badge.low { border-color: #e74c3c; color: #e74c3c; }
.result-badge.whatsapp { border-color: #25D366; color: #25D366; }

#result-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.result-desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.result-bonus {
    background-color: rgba(255, 203, 5, 0.1);
    border: 1px dashed var(--highlight-color);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.result-bonus h3 {
    color: var(--highlight-color);
    margin-bottom: 10px;
}

.result-bonus p {
    margin-bottom: 20px;
}

/*=====================================
 FORMS (Lead Capture & Event)
=====================================*/
.quiz-text-content {
    text-align: center;
    margin-bottom: 30px;
}

.quiz-text-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--primary-color);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.form-wrapper h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.form-wrapper > p {
    margin-bottom: 40px;
    opacity: 0.8;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--highlight-color);
    background-color: rgba(255, 255, 255, 0.15);
}

.btn-submit {
    width: 100%;
    margin-top: 10px;
}

.error-message {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.success-message {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(46, 204, 113, 0.2);
    border: 1px solid #2ecc71;
    color: #2ecc71;
    border-radius: 8px;
    text-align: center;
    display: none;
    font-weight: 600;
}

/*=====================================
 4. FREE EBOOK SECTION
=====================================*/
.ebook-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--highlight-color);
}
.ebook-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/*=====================================
 5. VIDEO SECTION
=====================================*/
.video-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.video-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

.video-placeholder {
    max-width: 800px;
    margin: 0 auto;
    background-color: #011d25;
    border: 2px solid var(--highlight-color);
    border-radius: 20px;
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(2, 58, 73, 0.5) 0%, rgba(226, 142, 38, 0.2) 100%);
}

.video-placeholder .play-button {
    width: 80px;
    height: 80px;
    background-color: var(--cta-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(226, 142, 38, 0.4);
    margin-bottom: 20px;
}

.video-placeholder .play-button i {
    font-size: 3rem;
    color: var(--text-color);
    margin-left: 5px; /* Visual center adjustment */
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
}

.video-placeholder p {
    z-index: 2;
    margin: 0;
    font-weight: 600;
}

/*=====================================
 7. ABOUT SEDA SECTION
=====================================*/
.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.about-section .section-desc {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 50px auto;
    opacity: 0.9;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.about-card {
    background-color: var(--primary-color);
    padding: 30px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--cta-color);
}

.about-card i {
    font-size: 3.5rem;
    color: var(--highlight-color);
    margin-bottom: 15px;
}

.about-card h3 {
    font-size: 1.2rem;
}

/*=====================================
 8. DUBLIN VS CORK SECTION
=====================================*/
.cities-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.city-card {
    position: relative;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--bg-darker);
    display: flex;
    align-items: flex-end;
}

/* Fallback colors if no image */
.dublin-card { 
    background-image: url('assets/dublin.jpg');
    background-size: cover;
    background-position: center;
}
.cork-card { 
    background-image: url('assets/cork.jpg');
    background-size: cover;
    background-position: center;
}

.city-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(2, 58, 73, 1) 0%, rgba(2, 58, 73, 0.2) 100%);
    z-index: 1;
}

.city-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    text-align: left;
}

.city-content h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--highlight-color);
}

.city-content p {
    font-size: 1rem;
    opacity: 0.9;
}

/*=====================================
 9. FINAL CONTACT SECTION
=====================================*/
.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.contact-item {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--highlight-color);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--cta-color);
}

.contact-phones {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    background-color: var(--primary-color);
    padding: 20px 40px;
    border-radius: 12px;
    display: inline-flex;
}

.phone-item span {
    font-weight: bold;
    color: var(--highlight-color);
}

.phone-item a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    margin-left: 10px;
}

/*=====================================
 10. FOOTER
=====================================*/
.site-footer {
    padding: 40px 0 20px 0;
    text-align: center;
    background-color: #011d25;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 20px;
}

.footer-address {
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-address p {
    margin-bottom: 5px;
}

.footer-copyright {
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.6;
}

/*=====================================
 RESPONSIVE DESIGN
=====================================*/
@media (max-width: 992px) {
    .hero-content h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .quiz-question-box h2 { font-size: 1.8rem; }
    #result-title { font-size: 2rem; }
    .form-wrapper { padding: 30px 20px; }
    .video-placeholder { height: 300px; }
    .contact-info { flex-direction: column; gap: 15px; }
    .contact-phones { flex-direction: column; gap: 15px; }
    .cities-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2rem; }
    .btn-cta { padding: 15px 30px; font-size: 1rem; }
    .btn-large { padding: 18px 30px; }
    .quiz-header { padding: 15px 20px; }
    .quiz-content-wrapper { padding: 20px 15px; }
}
