/* ============================================================ Harlech.com — Croeso Network Upgrade ============================================================ */ /* Google Fonts loaded via tags in HTML

for better performance */ :root { --primary-dark: #1a3a2a; --primary: #2d5a3d; --primary-light: #3d7a52; --gold: #b8943f; --cream: #f5f2ed; --white: #ffffff; --text: #2c2c2c; --muted: #666666; --border: #dce8e0; } *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { scroll-behavior: smooth; } body { font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.75; color: var(--text); background: var(--white); } a { color: var(--primary); text-decoration: none; } a:hover { color: var(--gold); text-decoration: underline; } img { max-width: 100%; display: block; } /* ---- Typography ---- */ h1, h2, h3, h4 { font-family: 'Merriweather', serif; line-height: 1.3; color: var(--primary-dark); } h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); } h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.75rem; } h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: 0.5rem; } p { margin-bottom: 1rem; } p:last-child { margin-bottom: 0; } /* ---- Layout ---- */ .container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; } .section { padding: 3.5rem 0; } .section--cream { background: var(--cream); } .section--dark { background: var(--primary-dark); color: var(--white); } .section--dark h2, .section--dark h3 { color: var(--white); } /* ---- Header / Nav ---- */ .site-header { background: var(--primary-dark); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.3); } .header-inner { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 1rem; } .site-title a { font-family: 'Merriweather', serif; font-size: 1.15rem; color: var(--white); text-decoration: none; white-space: nowrap; display: flex; align-items: center; gap: 0.5rem; } .site-title a span { color: var(--gold); } .site-title a:hover { color: var(--gold); text-decoration: none; } .main-nav { position: relative; } #navList { list-style: none; display: flex; gap: 0; align-items: center; } #navList > li > a { display: block; padding: 0.5rem 0.85rem; color: rgba(255,255,255,0.85); font-size: 0.82rem; letter-spacing: 0.04em; text-decoration: none; transition: color 0.2s; white-space: nowrap; } #navList > li > a:hover, #navList > li.active > a { color: var(--gold); text-decoration: none; } /* Dropdown */ .main-nav .dropdown { position: relative; } .dropdown-menu { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; background: var(--primary-dark); min-width: 200px; box-shadow: 0 4px 12px rgba(0,0,0,0.3); z-index: 200; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease; padding-top: 4px; margin-top: -4px; } .dropdown-menu li a { padding: 0.5rem 1rem; color: rgba(255,255,255,0.8); font-size: 0.82rem; display: block; text-decoration: none; border-left: 3px solid transparent; } .dropdown-menu li a:hover { color: var(--gold); border-left-color: var(--gold); text-decoration: none; } .main-nav li:hover .dropdown-menu, .main-nav li.open .dropdown-menu { visibility: visible; opacity: 1; transform: translateY(0); } /* Mobile toggle */ .nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,0.4); color: var(--white); font-size: 1.2rem; padding: 0.3rem 0.6rem; cursor: pointer; border-radius: 3px; } @media (max-width: 768px) { .nav-toggle { display: block; } #navList { display: none; flex-direction: column; align-items: flex-start; position: absolute; top: 60px; left: 0; right: 0; background: var(--primary-dark); padding: 0.5rem 0; box-shadow: 0 4px 12px rgba(0,0,0,0.3); gap: 0; } #navList.open { display: flex; } #navList > li { width: 100%; } #navList > li > a { padding: 0.75rem 1.5rem; font-size: 0.9rem; } .dropdown-menu { display: none; visibility: visible; opacity: 1; transform: none; transition: none; position: static; box-shadow: none; background: rgba(0,0,0,0.15); padding-top: 0; margin-top: 0; } .main-nav li.open .dropdown-menu { display: flex; } } /* ---- Hero ---- */ .hero { position: relative; min-height: 78vh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); overflow: hidden; } .hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.5); } .hero__content { position: relative; z-index: 1; padding: 2rem 1.5rem; } .hero__content h1 { color: var(--white); text-shadow: 0 2px 8px rgba(0,0,0,0.5); margin-bottom: 0.75rem; } .hero__content p { font-size: clamp(1rem, 1.8vw, 1.2rem); color: rgba(255,255,255,0.9); max-width: 620px; margin: 0 auto 2rem; } .page-hero { min-height: 40vh; } .page-hero .hero__content h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); } /* ---- Buttons ---- */ .btn { display: inline-block; padding: 0.7rem 1.8rem; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 3px; text-decoration: none; transition: all 0.2s; cursor: pointer; } .btn--green { background: var(--primary); color: var(--white); } .btn--green:hover { background: var(--primary-light); color: var(--white); text-decoration: none; } .btn--gold { background: var(--gold); color: var(--white); } .btn--gold:hover { background: #d4a94a; color: var(--white); text-decoration: none; } .btn--outline { border: 2px solid var(--primary); color: var(--primary); background: none; } .btn--outline:hover { background: var(--primary); color: var(--white); text-decoration: none; } .btn--outline-white { border: 2px solid rgba(255,255,255,0.7); color: var(--white); background: none; } .btn--outline-white:hover { background: rgba(255,255,255,0.15); text-decoration: none; } /* ---- Feature cards ---- */ .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; } .card { background: var(--white); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; transition: box-shadow 0.2s; } .card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); } .card__img { height: 200px; overflow: hidden; } .card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; } .card:hover .card__img img { transform: scale(1.04); } .card__body { padding: 1.25rem; } .card__body h3 { font-size: 1.1rem; margin-bottom: 0.4rem; } .card__body p { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.75rem; } .card__body .tag { display: inline-block; background: var(--cream); color: var(--primary); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 2px; margin-bottom: 0.5rem; } /* ---- Split layout ---- */ .split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; } .split--rev { direction: rtl; } .split--rev > * { direction: ltr; } .split__img { border-radius: 4px; overflow: hidden; } .split__img img { width: 100%; height: 340px; object-fit: cover; } .split__text h2 { margin-bottom: 0.75rem; } .split__text p { color: var(--muted); } .split__text .btn { margin-top: 1.25rem; } @media (max-width: 768px) { .split, .split--rev { grid-template-columns: 1fr; direction: ltr; } .split__img img { height: 240px; } } /* ---- Section heading ---- */ .section-heading { margin-bottom: 2rem; } .section-heading h2 { margin-bottom: 0.4rem; } .section-heading p { color: var(--muted); max-width: 600px; } .section-heading--center { text-align: center; } .section-heading--center p { margin: 0 auto; } /* ---- Intro block ---- */ .intro { max-width: 780px; margin: 0 auto; text-align: center; } .intro h2 { margin-bottom: 1rem; } .intro p { color: var(--muted); font-size: 1.05rem; } /* ---- Attraction items ---- */ .attraction { padding: 2rem 0; border-bottom: 1px solid var(--border); } .attraction:last-child { border-bottom: none; } .attraction h3 { color: var(--primary-dark); margin-bottom: 0.5rem; } .attraction p { color: var(--muted); } .attraction .ext-link { font-size: 0.85rem; color: var(--gold); font-weight: 600; } /* ---- Dining items ---- */ .venue { padding: 1.5rem 0; border-bottom: 1px solid var(--border); } .venue:last-child { border-bottom: none; } .venue h3 { margin-bottom: 0.3rem; } .venue .type { font-size: 0.78rem; font-weight: 600; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.3rem; } .venue p { color: var(--muted); font-size: 0.95rem; } /* ---- Transport section ---- */ .transport-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; } .transport-card { border-top: 3px solid var(--primary); padding-top: 1rem; } .transport-card h4 { font-family: 'Open Sans', sans-serif; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem; color: var(--primary-dark); } .transport-card p { font-size: 0.9rem; color: var(--muted); } /* ---- CTA box ---- */ .cta-box { background: var(--cream); border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: 4px; padding: 2rem 2.5rem; } .cta-box h3 { margin-bottom: 1rem; } .cta-box ol, .cta-box ul { margin: 0.5em 0 1.5em 1.2em; line-height: 1.9; } .cta-box a { color: var(--primary); } /* ---- Map embed ---- */ .map-wrap { position: relative; padding-bottom: 45%; height: 0; overflow: hidden; border-radius: 4px; margin-top: 1.5rem; } .map-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; } /* ---- Booking widget wrapper ---- */ .booking-wrap { background: var(--primary-dark); padding: 2.5rem 1.5rem; text-align: center; color: var(--white); } .booking-wrap h2 { color: var(--white); margin-bottom: 1.5rem; } /* ---- Image captions ---- */ .img-caption { font-size: 0.78rem; color: var(--muted); margin-top: 0.3rem; font-style: italic; } .img-caption a { color: var(--muted); } /* ---- Partner banner strip ---- */ .partner-strip { background: #f4f7f7; border-top: 1px solid var(--border); text-align: center; padding: 20px; } .partner-strip-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; } /* ---- CTA band ---- */ .cta-band { background: var(--primary); color: var(--white); text-align: center; padding: 3rem 1.5rem; } .cta-band h2 { color: var(--white); margin-bottom: 1.5rem; } /* ---- Footer ---- */ .site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.7); padding: 3rem 0 1.5rem; font-size: 0.88rem; } .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; } .footer-col h4 { font-family: 'Open Sans', sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; } .footer-col p { line-height: 1.9; } .footer-col ul { list-style: none; line-height: 2.2; } .footer-col a { color: rgba(255,255,255,0.65); text-decoration: none; } .footer-col a:hover { color: var(--gold); } .footer-brand { font-family: 'Merriweather', serif; font-size: 1.1rem; color: var(--white); margin-bottom: 0.75rem; } .footer-flag { display: flex; align-items: center; justify-content: center; gap: 12px; } .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.25rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.8rem; color: rgba(255,255,255,0.4); } .footer-bottom a { color: rgba(255,255,255,0.4); } @media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; } } /* Croeso Network Bar */ /* Croeso Network Bar */ .croeso-network-bar { background: #1a3a2a; padding: 0.35rem 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem 0.6rem; font-size: 0.72rem; line-height: 1.8; border-bottom: 1px solid rgba(255,255,255,0.08); } .croeso-network-bar span { color: rgba(255,255,255,0.45); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.65rem; margin-right: 0.25rem; white-space: nowrap; } .croeso-network-bar a { color: rgba(255,255,255,0.65); text-decoration: none; white-space: nowrap; transition: color 0.15s; } .croeso-network-bar a:hover { color: #fff; text-decoration: underline; } @media (max-width: 768px) { .croeso-network-bar { display: none; } } /* Breadcrumb */ .breadcrumb { background: #f5f7f5; border-bottom: 1px solid #e0e8e0; padding: 0.6rem 1.5rem; font-size: 0.82rem; } .breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.4rem; max-width: 1100px; margin: 0 auto; } .breadcrumb li { display: flex; align-items: center; color: #666; } .breadcrumb li + li::before { content: '›'; margin-right: 0.4rem; color: #999; } .breadcrumb a { color: #2a6040; text-decoration: none; } .breadcrumb a:hover { text-decoration: underline; } .breadcrumb span { color: #444; font-weight: 600; } /* Responsive video embed */ .video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 800px; margin: 0 auto; border-radius: 4px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); } .video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; } /* Welsh dragon in site title */ .site-dragon { display: block; height: 32px; width: auto; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.25); } /* ---- FAQ Accordion ---- */ .faq-section { background: var(--cream); padding: 3rem 0; } .faq-section h2 { margin-bottom: 1.5rem; } .faq-list { max-width: 780px; } .faq-list details { border-bottom: 1px solid #d0ddd5; padding: 0; } .faq-list details:first-of-type { border-top: 1px solid #d0ddd5; } .faq-list summary { font-family: 'Merriweather', Georgia, serif; font-size: 1rem; font-weight: 700; color: var(--primary-dark); padding: 1rem 2rem 1rem 0; cursor: pointer; list-style: none; position: relative; line-height: 1.5; } .faq-list summary::-webkit-details-marker { display: none; } .faq-list summary::after { content: '+'; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 300; color: var(--primary); line-height: 1; } .faq-list details[open] summary::after { content: '\2212'; } .faq-list details[open] summary { color: var(--primary); } .faq-answer { padding: 0 0 1.25rem 0; color: var(--text); line-height: 1.75; font-size: 0.97rem; }