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

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    scroll-behavior: smooth;
}

header {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/sunset1.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-bottom: 5px solid #00bcd4;
    color: white;
}

header h1 {
    font-size: 3.5em;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    margin-bottom: 10px;
    animation: 1.5s slideInFromLeft ease-out;
}

nav {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 40px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    margin: 0 20px;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #00bcd4;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.7);
}

main {
    max-width: 1100px;
    width: 90%;
    margin: -50px auto 40px;
    padding: 40px;
    background-color: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    flex: 1;
    z-index: 2;
    position: relative;
}

h2 {
    color: #00bcd4;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-top: 0;
    font-size: 2em;
}

h3 {
    color: #fff;
    margin-top: 30px;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
    font-size: 1.1em;
}

a {
    color: #4da6ff;
    transition: color 0.3s;
}

a:hover {
    color: #00bcd4;
}

a[href^="mailto"]:hover {
    display: inline-block;
    animation: pulse 1s infinite;
    color: #ff4081;
    text-decoration: none;
}

.split-container {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.split-text {
    flex: 1;
}

.split-image {
    flex: 1;
    text-align: center;
}

.split-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

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

.slider-container {
    width: 100%;
    max-width: 900px;
    height: 600px;
    margin: 20px auto; 
    position: relative;
    overflow: hidden; 
    border: 1px solid #333;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    border-radius: 4px;
    background-color: #000;
}

.photo-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.photo-slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0; 
    animation: fadeSlide 12s infinite ease-in-out;
}

.slider-container:hover .photo-slider img {
    animation-play-state: paused;
    cursor: crosshair; 
}

.photo-slider img:nth-child(3) { animation-delay: 0s; }
.photo-slider img:nth-child(2) { animation-delay: 4s; }
.photo-slider img:nth-child(1) { animation-delay: 8s; }

form {
    background-color: #252525;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #444;
}

fieldset {
    border: none;
    padding: 0;
}

legend {
    color: #00bcd4;
    font-weight: bold;
    font-size: 1.5em;
    margin-bottom: 20px;
    border-bottom: 1px solid #444;
    width: 100%;
    padding-bottom: 10px;
}

input[type="text"], select, textarea {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    background: #121212;
    border: 2px solid #444;
    color: #fff;
    border-radius: 6px;
    font-size: 1em;
    transition: border-color 0.3s;
}

input[type="text"]:focus, select:focus, textarea:focus {
    border-color: #00bcd4;
    outline: none;
}

input[type="submit"] {
    background-color: #00bcd4;
    color: #121212;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 20px;
    transition: transform 0.2s, background-color 0.3s;
    display: block;
    width: 100%;
}

input[type="submit"]:hover {
    background-color: #fff;
    transform: translateY(-3px);
}

footer {
    text-align: center;
    padding: 40px 20px;
    background-color: #0a0a0a;
    color: #666;
    margin-top: auto;
    font-size: 0.9em;
    border-top: 1px solid #333;
}

footer a {
    color: #888;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

@keyframes fadeSlide {
    0% { opacity: 0; transform: scale(1); }
    5% { opacity: 1; }
    33% { opacity: 1; transform: scale(1.02); }
    38% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@media (max-width: 900px) {
    .split-container {
        flex-direction: column-reverse; 
        gap: 20px;
    }
    .split-image img {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    header h1 { font-size: 2em; }
    nav { padding: 10px; width: 90%; }
    nav a { display: block; margin: 10px 0; }
    main { width: 95%; margin-top: 0; }
}