/*
Theme Name: Sophie
Theme URI: 
Description: 
Author: Jonah Goldstein
Version: 1.0
Tags: 
*/

/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=IM+Fell+Great+Primer:ital@0;1&display=swap');

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
body {
	line-height: 1;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: normal;
}
ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img {
	border: none;
}



/*////////////////////////////////////*/
/*////////////////////////////////////*/
/*////////////////////////////////////*/
/*////////////////////////////////////*/





a {
	color: #256e94;
	text-decoration: none;
	outline: none;
}



html, body {
	background: url(imgs/back.jpg) 0px 0px repeat;
	font-family: 'IM Fell Great Primer', sans-serif;
	font-size: 18px;
	color: #454336;
	height: 100%;
}

#wrapper {
	height: 100%;
}

#header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}




#content {
	width: 100%;
	height: 100%;
	position: relative;
	top: 0;	left: 0;
	z-index: 30;
	-webkit-font-smoothing: antialiased;
     -moz-font-smoothing: antialiased;
     -o-font-smoothing: antialiased;
     font-smoothing: antialiased;
     overflow: hidden;
}


#offset_wrapper {
	position: relative;
	top: 0;	left: 0;
	z-index: 30;
}	


	


.hidden{
	display: none;
}



h2 {
	text-align: center;
	font: italic 40px Georgia, "Times New Roman", Times, serif;
	width: 80%;
	max-width: 400px;
	display: none;
	margin: 100px auto;
	text-shadow: #DBAA80 0 1px 0;
}
h2#first {
	display: block;
}


.bottle {
	position: absolute;
	-webkit-transition: -webkit-transform 1.2s ease-in-out;
	-ms-transition: -ms-transform 1.2s ease-in-out;
	-moz-transition: -moz-transform 1.2s ease-in-out;
	-o-transition: -o-transform 1.2s ease-in-out;
	transition: transform 1.2s ease-in-out;	
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
	z-index: 20;
}
#bottle-1 {
	top: -150px;
	left: 50%;
	margin-left: -50px;
	margin-top: 0;
	display: none;
}

.drop {
	position: absolute;
	width: 100px;
	height: 100px;
	background: url(imgs/sprites.1.png) 0px 0px no-repeat;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
}

.msg {
	position: absolute;
	width: 280px;
	min-height: 80px;
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
	border: 2px solid #e9ecef;
	border-radius: 20px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
	display: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
	z-index: 25;
	animation: msgPop 0.3s ease-out;
}

.msg::before {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 30px;
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 10px solid #ffffff;
}

.msg::after {
	content: '';
	position: absolute;
	bottom: -12px;
	left: 30px;
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 10px solid #e9ecef;
}

	.msg p {
		padding: 20px 25px;
		margin: 0;
		font-family: 'IM Fell Great Primer', Georgia, serif;
		font-size: 16px;
		line-height: 1.4;
		color: #495057;
		text-align: center;
	}
	.msg a {
		color: #007bff;
		text-decoration: none;
		outline: none;
		font-weight: bold;
		transition: color 0.2s ease;
	}
	.msg a:hover {
		color: #0056b3;
		text-decoration: underline;
	}

@keyframes msgPop {
	0% {
		opacity: 0;
		transform: scale(0.8) translateY(10px);
	}
	100% {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.bird {
	position: absolute;
	width: 50px;
	height: 50px;
	background: url(imgs/sprites.1.png) -100px 0px no-repeat;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
}

.flap {
	background: url(imgs/sprites.1.png) -150px 0px no-repeat;
}

.dead {
	background: url(imgs/sprites.1.png) -200px 0px no-repeat;
}

.points_msg {
	position: absolute;
	width: 100px;
	height: 50px;
	background: url(imgs/sprites.1.png) -250px 0px no-repeat;
	display: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
}

#underwater {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url(imgs/underwater.jpg) 0px 0px no-repeat;
	background-size: cover;
	display: none;
	z-index: 50;
}
#underwater h3 {
	text-align: center;
	font: italic 30px Georgia, "Times New Roman", Times, serif;
	color: white;
	margin: 50px auto;
	text-shadow: #000 0 1px 0;
}
	#underwater h3 a {
		color: white;
	}
	#underwater h3 a:hover {
		color: #DBAA80;
	}
#underwater cite {
	text-align: center;
	font: italic 20px Georgia, "Times New Roman", Times, serif;
	color: white;
	display: block;
	margin: 20px auto;
}
	#underwater cite a {
		color: white;
	}
	#underwater cite a:hover {
		color: #DBAA80;
	}
	#underwater .content {
		text-align: center;
		margin: 20px auto;
		max-width: 600px;
	}

.social_buttons a, .social_buttons iframe {
	margin: 5px;
}

.twitter-share-button {
	margin: 5px;
}

.facebook_btn {
	display: inline-block;
	width: 50px;
	height: 20px;
	background: url(imgs/share_facebook.png) 0px 0px no-repeat;
	margin: 5px;
}

#waves_1 {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100px;
	background: url(imgs/wave1.png) 0px 0px repeat-x;
	background-size: 200px 100px;
	-webkit-animation: tide 10s linear infinite;
	-moz-animation: tide 10s linear infinite;
	-o-animation: tide 10s linear infinite;
	animation: tide 10s linear infinite;
	z-index: 10;
}

#waves_2 {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100px;
	background: url(imgs/wave2.png) 0px 0px repeat-x;
	background-size: 200px 100px;
	-webkit-animation: tide2 15s linear infinite;
	-moz-animation: tide2 15s linear infinite;
	-o-animation: tide2 15s linear infinite;
	animation: tide2 15s linear infinite;
	z-index: 5;
}

#countdown {
	text-align: center;
}

.hasCountdown {
	border: 1px solid #ccc;
	background-color: #eee;
}

.countdown_rtl {
	direction: rtl;
}

.countdown_holding span {
	color: #888;
}

.countdown_row {
	clear: both;
	width: 100%;
	padding: 0px 2px;
	text-align: center;
}

.countdown_show1 .countdown_section {
	width: 98%;
}

.countdown_show2 .countdown_section {
	width: 48%;
}

.countdown_show3 .countdown_section {
	width: 32.5%;
}

.countdown_show4 .countdown_section {
	width: 24.5%;
}

.countdown_show5 .countdown_section {
	width: 19.5%;
}

.countdown_show6 .countdown_section {
	width: 16.25%;
}

.countdown_show7 .countdown_section {
	width: 14%;
}

.countdown_section {
	display: block;
	float: left;
	font-size: 75%;
	text-align: center;
}

.countdown_amount {
	font-size: 200%;
}

.countdown_descr {
	display: block;
	width: 100%;
}

/* Dalga Animasyonları */
@keyframes tide {
	0% {
		background-position: 0px 0px;
	}
	100% {
		background-position: -200px 0px;
	}
}

@-webkit-keyframes tide {
	0% {
		background-position: 0px 0px;
	}
	100% {
		background-position: -200px 0px;
	}
}

@-moz-keyframes tide {
	0% {
		background-position: 0px 0px;
	}
	100% {
		background-position: -200px 0px;
	}
}

@-o-keyframes tide {
	0% {
		background-position: 0px 0px;
	}
	100% {
		background-position: -200px 0px;
	}
}

@keyframes tide2 {
	0% {
		background-position: 0px 0px;
	}
	100% {
		background-position: -200px 0px;
	}
}

@-webkit-keyframes tide2 {
	0% {
		background-position: 0px 0px;
	}
	100% {
		background-position: -200px 0px;
	}
}

@-moz-keyframes tide2 {
	0% {
		background-position: 0px 0px;
	}
	100% {
		background-position: -200px 0px;
	}
}

@-o-keyframes tide2 {
	0% {
		background-position: 0px 0px;
	}
	100% {
		background-position: -200px 0px;
	}
}

/* Romantik Animasyonlar */
@keyframes heartBeat {
	0% {
		transform: scale(1);
	}
	14% {
		transform: scale(1.3);
	}
	28% {
		transform: scale(1);
	}
	42% {
		transform: scale(1.3);
	}
	70% {
		transform: scale(1);
	}
}

@keyframes sparkle {
	0%, 100% {
		opacity: 0;
		transform: scale(0) rotate(0deg);
	}
	50% {
		opacity: 1;
		transform: scale(1) rotate(180deg);
	}
}

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

@keyframes bottleDrop {
	0% {
		transform: translateY(-200px) rotate(0deg);
		opacity: 0;
	}
	20% {
		opacity: 1;
	}
	80% {
		transform: translateY(0px) rotate(360deg);
	}
	100% {
		transform: translateY(0px) rotate(360deg);
	}
}

@keyframes bottleBounce {
	0%, 20%, 53%, 80%, 100% {
		transform: translateY(0);
	}
	40%, 43% {
		transform: translateY(-30px);
	}
	70% {
		transform: translateY(-15px);
	}
	90% {
		transform: translateY(-4px);
	}
}

@keyframes waveGlow {
	0%, 100% {
		opacity: 0.8;
		filter: brightness(1);
	}
	50% {
		opacity: 1;
		filter: brightness(1.2);
	}
}

@keyframes textGlow {
	0%, 100% {
		text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
	}
	50% {
		text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.6);
	}
}

/* Şişe animasyonlarını iyileştir */
.bottle {
	position: absolute;
	-webkit-transition: -webkit-transform 1.2s ease-in-out;
	-ms-transition: -ms-transform 1.2s ease-in-out;
	-moz-transition: -moz-transform 1.2s ease-in-out;
	-o-transition: -o-transform 1.2s ease-in-out;
	transition: transform 1.2s ease-in-out;	
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
	z-index: 20;
	animation: float 3s ease-in-out infinite;
}

/* Dalga animasyonlarını iyileştir */
#waves_1 {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100px;
	background: url(imgs/wave1.png) 0px 0px repeat-x;
	background-size: 200px 100px;
	-webkit-animation: tide 10s linear infinite, waveGlow 4s ease-in-out infinite;
	-moz-animation: tide 10s linear infinite, waveGlow 4s ease-in-out infinite;
	-o-animation: tide 10s linear infinite, waveGlow 4s ease-in-out infinite;
	animation: tide 10s linear infinite, waveGlow 4s ease-in-out infinite;
	z-index: 10;
}

#waves_2 {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100px;
	background: url(imgs/wave2.png) 0px 0px repeat-x;
	background-size: 200px 100px;
	-webkit-animation: tide2 15s linear infinite, waveGlow 4s ease-in-out infinite 2s;
	-moz-animation: tide2 15s linear infinite, waveGlow 4s ease-in-out infinite 2s;
	-o-animation: tide2 15s linear infinite, waveGlow 4s ease-in-out infinite 2s;
	animation: tide2 15s linear infinite, waveGlow 4s ease-in-out infinite 2s;
	z-index: 5;
}

/* Başlık animasyonları */
h2 {
	text-align: center;
	font: italic 40px Georgia, "Times New Roman", Times, serif;
	width: 80%;
	max-width: 400px;
	display: none;
	margin: 100px auto;
	text-shadow: #DBAA80 0 1px 0;
	animation: textGlow 3s ease-in-out infinite;
}

/* Konuşma balonu animasyonu iyileştir */
.msg {
	position: absolute;
	width: 280px;
	min-height: 80px;
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
	border: 2px solid #e9ecef;
	border-radius: 20px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
	display: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
	z-index: 25;
	animation: msgPop 0.5s ease-out, float 4s ease-in-out infinite 0.5s;
}

/* Parıltı efekti için pseudo-element */
.msg::after {
	content: '';
	position: absolute;
	top: -5px;
	right: -5px;
	width: 20px;
	height: 20px;
	background: radial-gradient(circle, #ff6b9d 0%, transparent 70%);
	border-radius: 50%;
	animation: sparkle 2s ease-in-out infinite;
}

/* Su altı sahnesi animasyonu */
#underwater {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url(imgs/underwater.jpg) 0px 0px no-repeat;
	background-size: cover;
	display: none;
	z-index: 50;
	animation: fadeIn 2s ease-in-out;
}

/* Su altı container */
.underwater-container {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	padding: 20px;
}

/* Not kartı */
.note-card {
	background: rgba(173, 216, 230, 0.9);
	backdrop-filter: blur(10px);
	border-radius: 25px;
	box-shadow: 0 20px 60px rgba(0, 105, 148, 0.4);
	padding: 40px;
	max-width: 800px;
	width: 100%;
	position: relative;
	overflow: hidden;
	animation: cardFloat 4s ease-in-out infinite;
	border: 2px solid rgba(135, 206, 235, 0.5);
}

.note-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: linear-gradient(90deg, #4682b4, #20b2aa, #4682b4);
	background-size: 200% 100%;
	animation: gradientMove 3s ease-in-out infinite;
}

/* Not başlığı */
.note-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 2px solid rgba(70, 130, 180, 0.3);
}

.day-badge {
	background: linear-gradient(135deg, #4682b4, #20b2aa);
	color: white;
	border-radius: 50px;
	padding: 15px 25px;
	text-align: center;
	box-shadow: 0 8px 20px rgba(70, 130, 180, 0.4);
	animation: heartBeat 2s ease-in-out infinite;
}

.day-number {
	display: block;
	font-size: 24px;
	font-weight: bold;
	font-family: 'IM Fell Great Primer', serif;
}

.day-text {
	display: block;
	font-size: 14px;
	opacity: 0.9;
}

.note-title {
	text-align: center;
	flex-grow: 1;
}

.note-title h3 {
	color: #2c3e50;
	font-size: 28px;
	margin: 0;
	font-family: 'IM Fell Great Primer', serif;
	text-shadow: 0 2px 4px rgba(44, 62, 80, 0.2);
}

.heart-decoration {
	font-size: 24px;
	animation: heartBeat 1.5s ease-in-out infinite;
	display: inline-block;
	margin-left: 10px;
}

/* Not içeriği */
.note-content {
	margin-bottom: 30px;
}

.message-text p {
	color: #34495e;
	font-size: 18px;
	line-height: 1.6;
	margin-bottom: 15px;
	font-family: 'IM Fell Great Primer', serif;
	text-align: justify;
}

.message-text p:first-child {
	font-weight: bold;
	color: #4682b4;
}

/* Müzik bölümü */
.music-section {
	background: linear-gradient(135deg, rgba(70, 130, 180, 0.15), rgba(32, 178, 170, 0.15));
	border-radius: 20px;
	padding: 25px;
	margin-bottom: 30px;
	border: 1px solid rgba(70, 130, 180, 0.3);
}

.music-header {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.music-icon {
	font-size: 24px;
	margin-right: 10px;
	animation: sparkle 2s ease-in-out infinite;
}

.music-header h4 {
	color: #2c3e50;
	font-size: 20px;
	margin: 0;
	font-family: 'IM Fell Great Primer', serif;
}

.video-container {
	position: relative;
	width: 100%;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
	width: 100%;
	height: 315px;
	border-radius: 15px;
}

/* Not alt kısmı */
.note-footer {
	text-align: right;
	padding-top: 20px;
	border-top: 2px solid rgba(70, 130, 180, 0.3);
}

.love-signature {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.signature-text {
	color: #888;
	font-size: 16px;
	font-style: italic;
	margin-bottom: 5px;
}

.signature-name {
	color: #4682b4;
	font-size: 20px;
	font-weight: bold;
	font-family: 'IM Fell Great Primer', serif;
	text-shadow: 0 2px 4px rgba(70, 130, 180, 0.4);
}

/* Animasyonlar */
@keyframes cardFloat {
	0%, 100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-10px);
	}
}

@keyframes gradientMove {
	0%, 100% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
}

@keyframes fadeIn {
	0% {
		opacity: 0;
		transform: scale(0.9);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}
