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

body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #5a4a7f 0%, #7a5a9f 100%);
    min-height: 100vh;
}

body.home {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.container {
    position: relative;
    width: min(90vw, 450px);
    height: min(90vw, 450px);
}

.header {
    margin: 20px 20px 0px 20px;
}

.circle-container {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.circle-border {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px dashed rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

.rotating-text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    animation: rotate 30s linear infinite;
}

.circle-container:hover .rotating-text {
    animation-play-state: paused;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.text-path {
    fill: white;
    font-size: 16px;
    font-family: 'Georgia', serif;
    letter-spacing: 3px;
}

.tech-link {
    fill: white;
    cursor: pointer;
    transition: fill 0.3s ease;
}

.tech-link:hover {
    fill: #ffd700;
}

.circle-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 360px;
    height: 360px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 5;
}

.circle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 80%;
}

.home-content {
    text-align: center;
    margin-top: 40px;
}

h1 {
    font-size: clamp(24px, 8vw, 64px);
    color: white;
    margin-bottom: 20px;
    font-weight: normal;
}

.subtitle {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    font-style: italic;
}

.subtitle a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
}

.subtitle a:hover {
    cursor: text;
}

.email-form {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

input[type="email"] {
    padding: 15px 20px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    width: 320px;
    outline: none;
}

input[type="email"]::placeholder {
    color: #666;
}

button {
    padding: 15px 35px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    background: rgba(139, 90, 140, 0.9);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

button:hover {
    background: rgba(159, 110, 160, 1);
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

/* Photo Modal Styles */
.photo-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.photo-modal.open {
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.modal-caption {
    color: white;
    font-size: 16px;
    padding: 20px;
    text-align: center;
    max-width: 90vw;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #ccc;
}

/* Photo Gallery Styles */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.photo-article {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.photo-article:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.photo-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    background: #f0f0f0;
}

.photo-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-caption {
    padding: 15px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    min-height: 50px;
    display: flex;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

button:hover {
    background: rgba(159, 110, 160, 1);
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

/* Blog Post Styles */
.blog-post {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
    color: white;
    line-height: 1.8;
    font-family: 'Georgia', serif;
}

.blog-post h1 {
    font-size: clamp(32px, 8vw, 56px);
    margin-bottom: 20px;
    font-weight: normal;
    text-align: left;
}

.blog-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-bottom: 50px;
    line-height: 1.6;
}

.blog-post p {
    font-size: 18px;
    margin-bottom: 25px;
    text-align: justify;
    color: rgba(255, 255, 255, 0.95);
}

.blog-post p:last-child {
    margin-bottom: 0;
}

.blog-image {
    float: left;
    width: 250px;
    height: 250px;
    margin: 0 30px 30px -50px;
    border-radius: 4px;
    overflow: hidden;
}

.blog-image-right {
    float: right;
    margin: 0 -50px 30px 30px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
