* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --main-font: 'Inter', sans-serif;
    --logo-font: 'Uncial Antiqua', serif;
    --highland-green: #2D5016;
    --thistle-purple: #513551;
    --heather-purple: #967BB6;
    --tartan-blue: #1E3A8A;
    --stone-grey: #6B7280;
    --mist-white: #F8FAFC;
    --amber-gold: #D97706;
    --loch-blue: #1E40AF;
}

body {
    font-family: var(--main-font);
    line-height: 1.6;
    color: var(--highland-green);
    background: linear-gradient(135deg, var(--mist-white) 0%, #E2E8F0 100%);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(150, 123, 182, 0.1) 0%, transparent 50%);
    animation: mistMove 8s ease-in-out infinite;
}

@keyframes mistMove {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(20px) translateY(-10px); }
}

.hero-content {
    z-index: 2;
    color: var(--mist-white);
    max-width: 800px;
    padding: 20px 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: bold;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--thistle-purple), var(--heather-purple));
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(30, 58, 138, 1);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar img {
    width: 80px;
    border-radius: 10px;
    border: #333;
    z-index: 1;
}

.navbar a {
    font-family: var(--logo-font);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2vw;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--mist-white);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--mist-white);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--amber-gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--mist-white);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-7px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-7px, -6px);
}

.section {
    padding: 80px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--highland-green);
}

.experiences {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.experience-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 3px solid transparent;
    background-clip: padding-box;
}

.experience-card:hover {
    transform: translateY(-5px);
    border-color: var(--thistle-purple);
}

.experience-card h3 {
    color: var(--tartan-blue);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.about {
    background: linear-gradient(135deg, var(--heather-purple), var(--thistle-purple));
    color: white;
    margin: 0;
    max-width: 100%;
    padding: 80px 20px;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    color: white;
    margin-bottom: 2rem;
}

.about p {
        font-size: 1.2rem;
        line-height: 1.8;
        max-width: 800px;
        margin: 0 auto;
}

.site-footer {
    background-color: black;
    color: white;
    padding: 40px 20px;
    font-family: 'Inter', sans-serif;
}

.footer-top {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 40px auto;
}

.footer-logo h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 10px;
}

.footer-logo span {
    color: var(--heather-purple);
}

.newsletter-form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.newsletter-form input[type="email"] {
    padding: 10px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    width: 250px;
}

.newsletter-form button {
    background-color: var(--heather-purple);
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    color: black;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--thistle-purple);
}

.disclaimer {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #ccc;
}

.social-icons {
    margin-top: 15px;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--thistle-purple);
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto 40px;
    gap: 30px;
    text-align: left;
}

.footer-columns div {
    min-width: 180px;
}

.footer-columns h4 {
    margin-bottom: 10px;
    font-weight: bold;
    color: white;
}

.footer-columns ul {
    list-style: none;
    padding: 0;
}

.footer-columns li {
    margin-bottom: 8px;
}

.footer-columns a {
    text-decoration: none;
    color: var(--heather-purple);
    transition: color 0.3s ease;
}

.footer-columns a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #aaa;
}


.castle-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 1;
    z-index: 2;
    animation: none;
    pointer-events: none;
}


.castle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: none;
    filter: brightness(0.95) blur(0.2px);
}

.scotland-flag {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    clip-path: inset(0); /* optional fallback */
    z-index: 1;
    pointer-events: none;
}

.scotland-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1);
}

@keyframes castleFloatSync {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-3px); }
    75% { transform: translateY(3px); }
}

.thistle-accent {
    color: var(--thistle-purple);
    font-weight: bold;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(30, 58, 138, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: left 0.3s ease;
        padding-top: 50px;
        gap: 40px;
    }
    
    .nav-links.active {
        left: 0;
        background: rgba(30, 58, 138, 1);
    }
    
    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }
    
    .experiences {
        grid-template-columns: 1fr;
    }
}